:root {
 --dropdown-min-width: 20rem;
 --dropdown-padding-y: 0.8rem;
 --dropdown-spacer: 0.5rem;
 --dropdown-menu-max-height: 48rem;
 --dropdown-item-padding-y: 0.8rem;
 --dropdown-item-padding-x: 2.4rem;
 --control-expand-size: 2.4rem;
 --control-expand-line-width: 0.2rem;
 --control-expand-line-length: 1.6rem;
 --chat-message-min-height: 60px;
 --payment-methods-slider-item-width: 18rem;
 --payment-methods-slider-item-height: 16rem;
 --card-padding: 1.6rem;
 --card-padding--slim: 0.8rem;
 --btn-padding-y: 1rem;
 --btn-padding-x: 2.8rem;
 --btn-line-height: 2.6rem;
 --btn-icon-line-height: 1.6rem;
 --btn-border-radius: 3.2rem;
 --btn-border-outline: 2px;
 --btn-icon-size: 2.4rem;
 --btn-icon-size--sm: 2rem;
 --btn-border-width: 0.1rem;
 --btn-icon-lg: 56px;
 --btn-icon-md: 48px;
 --btn-icon-sm: 40px;
 --btn-icon-xs: 32px;
 --border-width: 1px;
 --border-radius: 0.8rem;
 --border-radius--sm: 0.4rem;
 --border-radius--lg: 1.6rem;
 --border-radius--xl: 3.2rem;
 --border-radius--circle: 50%;
 --border-radius--full: 100%;
 --color-primary: #488af7;
 --color-success: #28a745;
 --color-warning: #ffc107;
 --color-danger: #dc3545;
 --color-info: #17a2b8;
 --color-gray-1: #f8f9fa;
 --color-gray-2: #e9ecef;
 --color-gray-3: #dee2e6;
 }
 html {
 -webkit-text-size-adjust: 100%;
 -moz-text-size-adjust: 100%;
 text-size-adjust: 100%;
 font-size: 62.5%;
 /* Evita scroll horizontal global */
 overflow-x: hidden;
 }
 *, :after, :before {
 box-sizing: border-box;
 background-repeat: no-repeat;
 }
 ::-webkit-scrollbar {
 background: hsla(0, 0%, 100%, 0);
 width: 14px;
 }
 ::-webkit-scrollbar-thumb {
 background: #dfe2d3;
 border: 5px solid #f9f9f9;
 border-radius: 12px;
 }
 @font-face {
 font-display: swap;
 font-family: 'Work Sans';
 font-style: normal;
 font-weight: 400;
 src: local('Work Sans'), local('WorkSans-Regular');
 }
body {
 font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
 margin: 0;
 padding: 0;
 background-color: var(--color-gray-1);
 font-size: 1.6rem;
 line-height: 1.5;
 height: 100vh;
 overflow: hidden;
 overflow-x: hidden;
 display: flex;
 flex-direction: column;
 max-width: 100vw;
}
 .top-bar {
 background: black;
 padding: 1.5rem 2rem;
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 60px;
 width: 100%;
 }
 .top-bar a {
 color: white;
 text-decoration: none;
 font-size: 1.4rem;
 }
 .top-bar > a:first-child {
 margin-left: 2.6rem;
 }
 .top-bar .right {
 display: flex;
 align-items: center;
 gap: 2rem;
 }
 .top-bar .right a {
 display: flex;
 align-items: center;
 gap: 0.6rem;
 }
 .container {
 display: flex;
 height: calc(100vh - 60px);
 width: 100%;
 overflow: hidden;
}
 .left-side {
 flex: 1;
 background: white;
 color: white;
 padding: 16px;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 overflow: hidden;
}
 .right-side {
 flex: 1;
 padding: var(--card-padding);
 display: flex;
 flex-direction: column;
 justify-content: center;
 background-color: white;
 overflow-y: auto;
 overflow-x: hidden;
 }
 .login-form {
 background: transparent;
 padding: 0;
 box-shadow: none;
 max-width: 600px;
 width: 100%;
 margin: 0 auto;
 }
 .form-group {
 margin-bottom: 3.2rem;
 }
 input {
 width: 100%;
 padding: 1.9rem 1.8rem;
 border: var(--border-width) solid var(--color-gray-3);
 border-radius: var(--border-radius);
 font-size: 1.6rem;
 transition: border-color 0.15s ease-in-out;
 }
 input:focus {
 border-color: var(--color-primary);
 outline: none;
 }
 button {
 width: 100%;
 padding: var(--btn-padding-y) var(--btn-padding-x);
 background-color: var(--color-primary);
 color: white;
 border: none;
 border-radius: var(--btn-border-radius);
 font-size: 1.6rem;
 cursor: pointer;
 transition: background-color 0.15s ease-in-out;
 }
 button:hover {
 background-color: #3a7bd5;
 }
 .social-login {
  display: flex;
  gap: 14px;
  width: 100%;
  margin-top: 0;
  margin-bottom: 24px;
}
 .social-btn {
 flex: 1;
 padding: 1.1rem;
 border: var(--border-width) solid var(--color-gray-3);
 border-radius: 999px;
 background: white;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 }
.social-btn:nth-child(2) {
  background: #000;
  border-color: #000;
}
.social-btn:nth-child(2) svg path {
  fill: #fff;
}
.divider {
  display: flex;
  align-items: center;
  color: #999;
  margin: 24px 0;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd;
}
.divider span {
  padding: 0 12px;
  font-size: 1.6rem;
} .links {
 margin-top: 2.4rem;
 text-align: left;
 font-size: 1.6rem;
 }
 .links a:first-child {
 display: inline-block;
 margin-bottom: 2.4rem;
 }
 .links p {
 margin: 0;
 }
 .logo {
 margin-bottom: 3.2rem;
 }
 h1, h2 {
 margin: 0 0 1.6rem 0;
 font-weight: 600;
 }
 .login-title {
 font-size: 36px;
 font-weight: 700;
 letter-spacing: 6px;
 text-align: left;
 margin: 0 0 40px 0;
 }
 p {
 margin: 0 0 1.6rem 0;
 }
 a {
 color: var(--color-primary);
 text-decoration: none;
 }
 a:hover {
 text-decoration: underline;
 }
 .password-wrapper {
 position: relative;
 }
 .toggle-password {
 position: absolute;
 right: 10px;
 top: 50%;
 transform: translateY(-50%);
 cursor: pointer;
 }
 .helper-text {
 font-size: 1.2rem;
 color: #666;
 margin-top: 0.4rem;
 }
  #loginBtn {
 background-color: #e8e5df;
 color: #9a958c;
 cursor: not-allowed;
 transition: background-color .15s ease-in-out;
 /* Resetear el padding inline del HTML */
 padding: 1.8rem 2.8rem;
 }
 #loginBtn:hover { background-color: #e8e5df; }
 #loginBtn.enabled { background-color: #488af7; color: #fff; cursor: pointer; }
 #loginBtn.enabled:hover { background-color: #3a7bd5; }
  .social-btn:hover { background-color: #fff; }
 .social-btn:nth-child(2):hover { background-color: #000; }

/* ===== RESPONSIVE MÓVIL ===== */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  body {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    min-height: 100vh;
  }

  .top-bar {
    padding: 1rem 1.6rem;
    height: 50px;
    box-sizing: border-box;
    max-width: 100%;
  }

  .top-bar > a:first-child {
    margin-left: 0;
  }

  .top-bar .right {
    gap: 1.2rem;
  }

  /* Ocultar "Descarga la app" en móvil */
  .top-bar .right a:first-child {
    display: none;
  }

  /* Ocultar la flechita del selector de idioma */
  .top-bar .right a:last-child svg {
    display: none;
  }

  .container {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 50px);
    overflow: visible;
    width: 100%;
  }

  /* Ocultar carrusel en móvil */
  .left-side {
    display: none;
  }

  .right-side {
    flex: 1;
    padding: 2.4rem 2rem;
    padding-top: 3rem;
    justify-content: flex-start;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .login-form {
    max-width: 100%;
    width: 100%;
    padding-top: 0 !important;
    margin-top: 0 !important;
    box-sizing: border-box;
  }

  /* Aviso amarillo: quitar margen negativo en móvil */
  .login-form > div:first-child {
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
    box-sizing: border-box;
  }

  .login-title {
    font-size: 2.6rem;
    letter-spacing: 3px;
    margin-bottom: 2.4rem;
  }

  .social-login {
    gap: 10px;
    width: 100%;
  }

  .social-btn {
    padding: 1rem;
  }

  .form-group {
    margin-bottom: 2.4rem;
  }

  input {
    font-size: 1.6rem;
    padding: 1.6rem 1.4rem;
    width: 100%;
    box-sizing: border-box;
  }

  button {
    font-size: 1.6rem;
    padding: 1.4rem 2rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* Sobreescribir el padding inline del #loginBtn */
  #loginBtn {
    padding: 1.4rem 2rem !important;
  }

  .links {
    margin-top: 1.6rem;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 1rem;
  }

  .right-side {
    padding: 2rem 1.6rem;
    padding-top: 2.4rem;
  }

  .login-title {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }

  .social-btn {
    padding: 0.9rem;
  }

  #loginBtn {
    font-size: 1.5rem;
    padding: 1.4rem 2rem !important;
  }

  .links {
    font-size: 1.4rem;
  }

  .helper-text {
    font-size: 1.1rem;
  }
}
