/* Pantallas de acceso: inicio de sesion, registro, recuperación y terminos */
.ps-my-account {
  padding: 40px 0 70px;
  background: radial-gradient(circle at 15% 0%, rgba(6, 163, 218, 0.12) 0, rgba(6, 163, 218, 0) 45%), #f3f6f8;
}

.ps-my-account .ps-form--account {
  max-width: 470px;
  margin: 0 auto;
}

/* Pestañas tipo interruptor */
.ps-my-account .ps-form--account .ps-tab-list {
  display: flex;
  gap: 6px;
  margin: 0 0 18px;
  padding: 6px;
  border-radius: 999px;
  background: #e4ecf0;
  text-align: center;
}

.ps-my-account .ps-form--account .ps-tab-list li {
  flex: 1;
  margin: 0;
}

.ps-my-account .ps-form--account .ps-tab-list li a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: #5b6b75;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.ps-my-account .ps-form--account .ps-tab-list li a:hover {
  color: #046c91;
}

.ps-my-account .ps-form--account .ps-tab-list li.active a {
  background: #fff;
  color: #111;
  box-shadow: 0 2px 8px rgba(15, 40, 55, 0.12);
}

/* Tarjeta */
.ps-my-account .ps-form--account .ps-tab {
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 40, 55, 0.1);
}

.ps-my-account .ps-form--account .ps-form__content {
  padding: 32px 32px 10px;
}

.ps-my-account .ps-form--account .ps-form__content h5 {
  margin-bottom: 20px;
  color: #111;
  font-size: 19px;
  font-weight: 700;
}

.ps-my-account .ps-form--account .ps-form__footer {
  padding: 6px 32px 30px;
}

.ps-my-account .ps-form--account .ps-form__footer > p:first-child {
  position: relative;
  margin-bottom: 14px;
  color: #8a99a3;
  font-size: 13px;
  text-align: center;
}

/* Campos */
.ps-my-account .ps-form--account .form-group {
  margin-bottom: 16px;
}

.ps-my-account .ps-form--account .form-control,
.rn-acceso-form .form-control {
  height: 50px;
  padding: 0 18px;
  border: 1.5px solid #dbe3e8;
  border-radius: 12px;
  background: #f8fafb;
  color: #111;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.ps-my-account .ps-form--account select.form-control {
  padding-right: 12px;
}

.ps-my-account .ps-form--account .form-control:focus,
.rn-acceso-form .form-control:focus {
  border-color: #06a3da;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(6, 163, 218, 0.15);
  outline: none;
}

/* Botón principal */
.ps-my-account .ps-form--account .ps-btn,
.rn-boton--principal {
  height: auto;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #06a3da 0%, #0587b5 100%);
  box-shadow: 0 8px 20px rgba(6, 163, 218, 0.3);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.ps-my-account .ps-form--account .ps-btn:hover,
.rn-boton--principal:hover {
  color: #fff;
  filter: brightness(1.05);
  box-shadow: 0 12px 26px rgba(6, 163, 218, 0.38);
  transform: translateY(-1px);
}

.ps-my-account .ps-form--account .ps-btn:active,
.rn-boton--principal:active {
  transform: translateY(0);
}

/* Botones sociales */
.ps-my-account .ps-form--account .ps-list--social {
  display: flex;
  gap: 10px;
  margin: 0;
}

.ps-my-account .ps-form--account .ps-list--social li {
  flex: 1;
  width: auto;
  max-width: none;
  margin: 0;
}

.ps-my-account .ps-form--account .ps-list--social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border: 1.5px solid #dbe3e8;
  border-radius: 12px;
  background: #fff;
  font-size: 18px;
  transition: border-color 0.2s, background-color 0.2s, transform 0.15s;
}

.ps-my-account .ps-form--account .ps-list--social li a:hover {
  transform: translateY(-1px);
}

.ps-my-account .ps-form--account .ps-list--social li a i {
  display: inline-block;
  color: inherit;
  font-size: 18px;
  line-height: 1;
}

.ps-my-account .ps-form--account .ps-list--social li a.facebook {
  color: #1877f2;
}

.ps-my-account .ps-form--account .ps-list--social li a.facebook:hover {
  border-color: #1877f2;
  background: #f0f6ff;
}

.ps-my-account .ps-form--account .ps-list--social li a.google {
  color: #ea4335;
}

.ps-my-account .ps-form--account .ps-list--social li a.google:hover {
  border-color: #ea4335;
  background: #fff4f3;
}

.ps-my-account .ps-form--account .ps-list--social li a::after {
  color: #333;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
}

.ps-my-account .ps-form--account .ps-list--social li a.facebook::after {
  content: "Facebook";
}

.ps-my-account .ps-form--account .ps-list--social li a.google::after {
  content: "Google";
}

/* Alertas */
.ps-my-account .ps-form--account .alert,
.rn-acceso-alerta {
  border: 0;
  border-radius: 12px;
  font-size: 14px;
}

/* Enlaces y notas */
.rn-olvide {
  margin: -6px 0 16px;
  text-align: right;
  font-size: 14px;
}

.rn-olvide a {
  color: #0587b5;
  font-weight: 600;
}

.rn-olvide a:hover {
  color: #046c91;
  text-decoration: underline;
}

.rn-nota-terminos {
  display: flex;
  gap: 8px;
  margin: 4px 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #e6f6fc;
  color: #35505e;
  font-size: 13px;
  line-height: 1.5;
}

.rn-nota-terminos i {
  margin-top: 2px;
  color: #0587b5;
}

.rn-nota-terminos a {
  color: #046c91;
  font-weight: 600;
  text-decoration: underline;
}

/* Páginas sueltas de acceso */
.rn-acceso-pagina {
  padding: 40px 0 70px;
  background: radial-gradient(circle at 15% 0%, rgba(6, 163, 218, 0.12) 0, rgba(6, 163, 218, 0) 45%), #f3f6f8;
}

.rn-acceso-tarjeta {
  max-width: 460px;
  margin: 0 auto;
  padding: 36px 32px 30px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 40, 55, 0.1);
  text-align: center;
}

.rn-acceso-tarjeta__icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #e6f6fc;
  color: #0587b5;
  font-size: 28px;
}

.rn-acceso-tarjeta__icono--error {
  background: #fde8e8;
  color: #c62828;
}

.rn-acceso-tarjeta h1 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
}

.rn-acceso-tarjeta__texto {
  margin-bottom: 22px;
  color: #5b6b75;
  font-size: 15px;
  line-height: 1.6;
}

.rn-acceso-tarjeta__pie {
  margin: 20px 0 0;
  color: #8a99a3;
  font-size: 14px;
}

.rn-acceso-tarjeta__pie a {
  color: #0587b5;
  font-weight: 600;
}

.rn-acceso-form {
  text-align: left;
}

.rn-campo {
  display: block;
  margin-bottom: 16px;
}

.rn-campo > span {
  display: block;
  margin-bottom: 6px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.rn-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none !important;
}

.rn-boton--ancho {
  width: 100%;
}

.rn-boton--secundario {
  padding: 14px 24px;
  border: 1.5px solid #dbe3e8;
  border-radius: 12px;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.rn-boton--secundario:hover {
  border-color: #b9c6ce;
  color: #111;
}

/* Paso de aceptar términos */
.rn-terminos-paso {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 40, 55, 0.1);
}

.rn-terminos-paso__etiqueta {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e6f6fc;
  color: #046c91;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.rn-terminos-paso__encabezado h1 {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 700;
}

.rn-terminos-paso__encabezado p {
  margin-bottom: 22px;
  color: #5b6b75;
  font-size: 15px;
}

.rn-terminos-paso__documentos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.rn-terminos-paso__documento {
  overflow: hidden;
  border: 1.5px solid #e4ecf0;
  border-radius: 14px;
}

.rn-terminos-paso__documento > h2 {
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1.5px solid #e4ecf0;
  background: #f8fafb;
  font-size: 16px;
  font-weight: 700;
}

.rn-terminos-paso__documento > h2 i {
  margin-right: 6px;
  color: #0587b5;
}

.rn-terminos-paso__texto {
  height: 340px;
  padding: 6px 18px 14px;
  overflow-y: auto;
  color: #444;
  font-size: 14px;
  line-height: 1.65;
}

.rn-terminos-paso__texto h2 {
  margin: 18px 0 6px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 700;
}

.rn-terminos-paso__texto h3 {
  margin: 14px 0 6px;
  font-size: 14px;
}

.rn-terminos-paso__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #e6f6fc;
  color: #24414f;
  font-size: 14.5px;
  line-height: 1.5;
  cursor: pointer;
}

.rn-terminos-paso__check input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: #06a3da;
  cursor: pointer;
}

.rn-terminos-paso__botones {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 767px) {
  .ps-my-account .ps-form--account .ps-form__content {
    padding: 26px 20px 6px;
  }

  .ps-my-account .ps-form--account .ps-form__footer {
    padding: 6px 20px 24px;
  }

  .rn-terminos-paso {
    padding: 22px 18px;
  }

  .rn-terminos-paso__documentos {
    grid-template-columns: 1fr;
  }

  .rn-terminos-paso__texto {
    height: 240px;
  }

  .rn-terminos-paso__botones {
    flex-direction: column-reverse;
  }

  .rn-terminos-paso__botones .rn-boton {
    width: 100%;
  }
}

/* Elegir tipo de cuenta al entrar por primera vez con Google o Facebook */
.rn-elegir-tipo {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.rn-elegir-tipo__fondo {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 40, 0.45);
}

.rn-elegir-tipo .container {
  position: relative;
}

.rn-elegir-tipo__ventana {
  max-width: 520px;
  margin: 0 auto;
  padding: 30px 28px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(10, 30, 40, 0.3);
  animation: rn-ventana-entrar 0.25s ease-out;
}

@keyframes rn-ventana-entrar {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rn-elegir-tipo__cabecera {
  margin-bottom: 20px;
  text-align: center;
}

.rn-elegir-tipo__proveedor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f4f6;
  color: #46636f;
  font-size: 13px;
}

.rn-elegir-tipo__cabecera h1 {
  margin-bottom: 6px;
  font-size: 23px;
  font-weight: 700;
}

.rn-elegir-tipo__cabecera p {
  margin: 0;
  color: #5b6b75;
  font-size: 14.5px;
}

.rn-elegir-tipo__opcion {
  width: 100%;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.rn-elegir-tipo__opcion--sugerida {
  border-color: #9fd6ea;
}

.rn-elegir-tipo__opcion .rn-acceso__icono {
  color: #fff;
}

.rn-elegir-tipo__cancelar {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 6px;
  border: 0;
  background: none;
  color: #8a99a3;
  font-size: 14px;
  cursor: pointer;
}

.rn-elegir-tipo__cancelar:hover {
  color: #333;
  text-decoration: underline;
}
