/*** Estilos endesa - Login... registro... **/
/** 1. Generales:  */
/** 2. Layout: l-;  */
/** 3. Componente: c-;  */
/** 4. Paginas: p- */

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 1. Generales */

p.error {
  color: var(--color-error);
  font-size: 1.4rem;
  font-weight: 600;
}

p.success {
  color: var(--color-success);
  font-size: 1.4rem;
  font-weight: 600;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 2. Layout */

.l-page {
  background: transparent url('../images/bkg.jpg') no-repeat scroll right center;
  background-size: cover;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
    flex-grow: 1;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
    justify-content: flex-start;
  padding: 3vh 0;
  width: 100%;
}

.l-page__content {
  width: 100%;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 3. Componentes */

.c-form {
  background-color: #fff;
  max-width: 45rem;
  padding: 4rem;
  width: 100%;
}

.c-form h2 {
  color: var(--font-color-primary);
  font-family: var(--font-text-secondary);
  font-size: 3rem;
  font-weight: 300;
  margin: 0 0 1.5rem;
}

.c-form__content {
  background-color: #fff;
  border-radius: 0;
  padding: 2.5rem 0;
}

.c-form__scroll {
  height: 31rem;
  overflow: auto;
  overflow: overlay;
  width: 100%;
}

.c-form__scroll::-webkit-scrollbar {
  border-radius: 0.5rem;
  display: initial;
  height: 1rem;
  background-color: #efefef;
  width: 0.4rem;
}

.c-form__scroll:hover::-webkit-scrollbar {
  display: initial;
}

.c-form__scroll::-webkit-scrollbar-thumb {
  background-color: var(--color-secondary);
  -webkit-border-radius: 0.5rem;
  border-radius: 0.5rem;
}

.c-form__scroll .c-form__section,
.c-form__scroll .c-form__info,
.c-form__scroll .c-form__button,
.c-form__scroll .c-form__text {
  width: 98%;
}

.c-button__mobile {
  display: none;
}

.l-page--access {
  position: relative;
}

.p-registro--access .l-page::before {
  background: rgba(255, 255, 255, 0.75);
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.p-registro--access .c-form {
  display: none;
  opacity: 0;
  position: relative;
  transform: translateY(-2rem);
  transition: all 0.4s ease;
  visibility: hidden;
}

.p-registro--access .c-form.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.p-registro--access .overlay {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.3s ease;
  visibility: hidden;
  width: 100%;
  z-index: 1;
}

.p-registro--access .overlay.show {
  opacity: 1;
  visibility: visible;
}

.p-registro--access .c-form__close {
  background: transparent;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 2rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
}

@media (min-width: 991px) {
  .p-registro--access .l-page::before {
    display: none;
  }
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 4. Paginas */

.p-registro h1 {
  color: var(--font-color-primary);
  font-size: 2.5rem;
  margin: 0 0 2.5rem;
  position: relative;
  width: 100%;
}

.p-registro__login {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.p-registro__description {
  max-width: 40rem;
  width: 100%;
}

.p-registro__description > p {
  color: var(--font-color-secondary);
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .p-registro h1 {
    font-size: 3.2rem;
  }
}

@media (min-width: 991px) {}
