:root{
  --login-navy:#071f46;
  --login-blue:#1769ff;
  --login-cyan:#2bc8e9;
  --login-muted:#6f7f99;
  --login-line:#d6e0ec;
}

#loginView,
#loginView *{
  box-sizing:border-box;
}

#loginView.center{
  position:absolute!important;
  padding:0!important;
  inset:0 auto auto 0!important;
  width:100vw!important;
  height:auto!important;
  min-height:100dvh!important;
  overflow:auto!important;
  overscroll-behavior:none;
  background:#f5fbff url("/assets/branding/login-background.png") left bottom / cover no-repeat;
}

.ordnt-login-shell{
  position:relative;
  z-index:1;
  width:100%;
  height:auto;
  min-height:calc(100dvh - 64px);
  display:grid;
  grid-template-columns:58% 42%;
  overflow:hidden;
}

/* El fondo aprobado reemplaza la geometría decorativa anterior. */

.ordnt-login-brand{
  position:relative;
  min-width:0;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:1;
}

.ordnt-login-brand-inner{
  position:relative;
  z-index:3;
  width:max-content;
  max-width:100%;
}

.ordnt-login-brand-lockup{
  display:flex;
  align-items:center;
  gap:8px;
  width:max-content;
  margin:0 0 min(2.33vw,4.145vh);
}

.ordnt-login-brand-symbol{
  display:block;
  width:min(9.63vw,17.109vh);
  height:min(9.81vw,17.428vh);
  object-fit:contain;
  flex:0 0 auto;
}

.ordnt-login-brand-lockup strong{
  display:block;
  color:var(--login-navy);
  font-size:min(5.98vw,10.627vh);
  line-height:1;
  font-weight:900;
  letter-spacing:-.055em;
  white-space:nowrap;
}

.ordnt-login-brand-title{
  width:max-content;
  max-width:680px;
  margin:0;
  color:var(--login-navy);
  font-size:min(5.38vw,9.564vh);
  line-height:1.03;
  letter-spacing:-.048em;
  font-weight:850;
}

.ordnt-login-brand-title span{
  display:block;
  width:fit-content;
  margin-top:.06em;
  color:#1769ff;
  background:linear-gradient(90deg,#1769ff 0%,#1a66fa 67%,#287eff 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}

.ordnt-login-brand-subtitle{
  margin:min(1.55vw,2.75vh) 0 0;
  color:#3f526f;
  font-size:clamp(16px, min(1.495vw,2.657vh), 32px);
  line-height:1.2;
  font-weight:480;
  letter-spacing:-.012em;
}

.ordnt-login-panel{
  position:relative;
  z-index:4;
  min-width:0;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:0 0 0 .73vw;
  overflow:visible;
}

.ordnt-login-card{
  width:557px;
  max-width:100%;
  height:758px;
  flex:0 0 auto;
  padding:47px 50px 31px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:rgba(255,255,255,.968);
  border:1px solid rgba(18,46,86,.065);
  border-radius:25px;
  box-shadow:0 28px 74px rgba(20,53,99,.13);
  backdrop-filter:blur(15px);
  transform-origin:left center;
}

.ordnt-login-mobile-brand{
  display:none;
}

.ordnt-login-heading{
  margin:0;
  text-align:center;
  color:var(--login-navy);
  font-size:40px;
  line-height:1.06;
  letter-spacing:-.043em;
  font-weight:850;
}

.ordnt-login-intro{
  margin:11px 0 30px;
  text-align:center;
  color:#6e7f9a;
  font-size:17px;
  line-height:1.35;
  font-weight:450;
}

.ordnt-google-button{
  width:100%;
  min-height:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border:1px solid #cdd8e6;
  border-radius:12px;
  background:#fff;
  color:#203657;
  font-size:16px;
  font-weight:780;
  box-shadow:0 1px 2px rgba(16,24,40,.025);
}

.ordnt-login-divider{
  display:flex;
  align-items:center;
  gap:18px;
  margin:27px 0 28px;
  color:#8190a6;
  font-size:13px;
}

.ordnt-login-divider::before,
.ordnt-login-divider::after{
  content:"";
  height:1px;
  flex:1;
  background:#dce5ef;
}

.ordnt-login-field{
  display:block;
  margin:0 0 18px;
}

.ordnt-login-field-label{
  display:block;
  margin-bottom:8px;
  color:#17325a;
  font-size:13px;
  line-height:1.2;
  font-weight:760;
}

.ordnt-login-field-wrap{
  position:relative;
  display:block;
}

.ordnt-login-field-input{
  width:100%!important;
  height:54px!important;
  min-height:54px!important;
  margin:0!important;
  padding:0 46px 0 48px!important;
  border:1px solid var(--login-line)!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#10284c;
  font-size:16px!important;
  line-height:54px;
}

.ordnt-login-field-input::placeholder{
  color:#aab6c8;
}

.ordnt-login-field-icon{
  position:absolute;
  left:16px;
  top:50%;
  width:20px;
  height:20px;
  transform:translateY(-50%);
  color:#8392a8;
  pointer-events:none;
}

.ordnt-login-password-toggle{
  position:absolute;
  right:10px;
  top:50%;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  padding:0;
  transform:translateY(-50%);
  border:0;
  border-radius:9px;
  background:transparent;
  color:#8090a7;
}

.ordnt-login-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:1px 0 21px;
}

.ordnt-login-remember{
  display:flex!important;
  align-items:center;
  gap:9px;
  margin:0!important;
  color:#52627a;
  font-size:14px!important;
  font-weight:520!important;
}

.ordnt-login-remember input{
  width:19px!important;
  height:19px!important;
  margin:0!important;
  accent-color:var(--login-blue);
}

.ordnt-login-link{
  color:#075ff1;
  text-decoration:none;
  font-size:14px;
  font-weight:680;
}

.ordnt-login-primary{
  width:100%;
  height:59px;
  min-height:59px;
  border:0;
  border-radius:12px!important;
  background:linear-gradient(90deg,#1769ff,#1c61ef)!important;
  color:#fff;
  font-size:16px;
  font-weight:850;
  box-shadow:0 10px 25px rgba(23,105,247,.24);
}

.ordnt-login-create{
  margin:24px 0 0;
  text-align:center;
  color:#6d7a8e;
  font-size:14px;
  line-height:1.35;
}

.ordnt-login-legal{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:auto;
  padding-top:26px;
  border-top:1px solid #e2e8f0;
}

.ordnt-login-legal a{
  color:#56657a;
  text-decoration:underline;
  text-underline-offset:2px;
  font-size:12px;
}

.ordnt-login-legal-sep{
  color:#aeb8c5;
  font-size:11px;
}

#loginView .message{
  margin:15px 0 0;
}

.ordnt-google-button:focus-visible,
.ordnt-login-field-input:focus-visible,
.ordnt-login-password-toggle:focus-visible,
.ordnt-login-primary:focus-visible,
.ordnt-login-link:focus-visible{
  outline:3px solid rgba(23,105,247,.16);
  outline-offset:2px;
}

/*
 * Approved desktop artboard: 1672 × 941.
 *
 * On wide desktop screens (including browsers viewed below 100% zoom),
 * dimensions track viewport HEIGHT while horizontal placement still tracks
 * viewport WIDTH. This preserves the approved visual weight instead of
 * shrinking the whole interface into the corners.
 */
@media (min-width:901px) and (min-aspect-ratio:1672/941){

  /* Keep the approved left composition clear of the decorative background. */
  .ordnt-login-brand-inner{
    transform:translate(-4vw,calc(-5.6vh - 14px)) scale(.94);
    transform-origin:center center;
  }

  .ordnt-login-brand-lockup{
    margin-bottom:min(2.45vw,4.35vh);
  }

  .ordnt-login-card{
    width:59.193vh;
    height:80.553vh;
    padding:4.995vh 5.313vh 3.294vh;
    border-radius:2.657vh;
    transform:none;
  }

  .ordnt-login-heading{
    font-size:4.251vh;
  }

  .ordnt-login-intro{
    margin-top:1.169vh;
    margin-bottom:3.188vh;
    font-size:1.807vh;
  }

  .ordnt-google-button{
    min-height:6.164vh;
    height:6.164vh;
    gap:1.275vh;
    border-radius:1.275vh;
    font-size:1.700vh;
  }

  .ordnt-google-button > svg{
    width:2.125vh;
    height:2.125vh;
  }

  .ordnt-login-divider{
    gap:1.913vh;
    margin:2.869vh 0 2.976vh;
    font-size:1.382vh;
  }

  .ordnt-login-field{
    margin-bottom:1.913vh;
  }

  .ordnt-login-field-label{
    margin-bottom:.850vh;
    font-size:1.382vh;
  }

  .ordnt-login-field-input{
    height:5.739vh!important;
    min-height:5.739vh!important;
    padding-right:4.888vh!important;
    padding-left:5.101vh!important;
    border-radius:1.169vh!important;
    font-size:1.700vh!important;
    line-height:5.739vh;
  }

  .ordnt-login-field-icon{
    left:1.700vh;
    width:2.125vh;
    height:2.125vh;
  }

  .ordnt-login-password-toggle{
    right:1.063vh;
    width:3.826vh;
    height:3.826vh;
    border-radius:.956vh;
  }

  .ordnt-login-password-toggle svg{
    width:2.019vh;
    height:2.019vh;
  }

  .ordnt-login-meta{
    gap:1.700vh;
    margin-bottom:2.232vh;
  }

  .ordnt-login-remember{
    gap:.956vh;
    font-size:1.488vh!important;
  }

  .ordnt-login-remember input{
    width:2.019vh!important;
    height:2.019vh!important;
  }

  .ordnt-login-link{
    font-size:1.488vh;
  }

  .ordnt-login-primary{
    height:6.270vh;
    min-height:6.270vh;
    border-radius:1.275vh!important;
    font-size:1.700vh;
  }

  .ordnt-login-create{
    margin-top:2.550vh;
    font-size:1.488vh;
  }

  .ordnt-login-legal{
    gap:1.488vh;
    padding-top:2.763vh;
  }

  .ordnt-login-legal a{
    font-size:1.275vh;
  }

  .ordnt-login-legal-sep{
    font-size:1.169vh;
  }

  #loginView .message{
    margin-top:1.594vh;
  }
}


@media (min-width:1367px) and (max-height:1000px){
  /*
   * 1080p-class desktop browsers lose vertical pixels to browser chrome.
   * Nudge the approved hero slightly left/up so the subtitle never collides
   * with the decorative curve while preserving the composition elsewhere.
   */
  .ordnt-login-brand-inner{
    transform:translate(-4.8vw,calc(-5.6vh - 18px)) scale(.94);
  }

  .ordnt-login-brand-subtitle{
    font-size:clamp(16px,min(1.38vw,2.42vh),28px);
  }
}

@media (min-width:901px) and (max-width:1260px){
  .ordnt-login-shell{
    grid-template-columns:55% 45%;
  }

  .ordnt-login-panel{
    padding-left:.5vw;
  }
}


@media (min-width:901px) and (max-width:1366px) and (max-height:900px){
  #loginView.center{
    height:100dvh!important;
    min-height:100dvh!important;
    overflow:hidden!important;
    padding:0!important;
  }

  .ordnt-login-shell{
    height:100dvh;
    min-height:100dvh;
    grid-template-columns:54% 46%;
    overflow:hidden;
  }

  .ordnt-login-brand{
    padding:18px 20px;
  }

  .ordnt-login-brand-inner{
    transform:translate(-2.2vw,calc(-2.6vh - 10px)) scale(.90);
    transform-origin:center center;
  }

  .ordnt-login-panel{
    min-height:100dvh;
    align-items:center;
    justify-content:center;
    padding:16px 18px 16px 0;
    overflow:hidden;
  }

  .ordnt-login-card{
    width:min(500px,100%);
    height:auto;
    max-height:calc(100dvh - 28px);
    padding:30px 34px 24px;
    border-radius:22px;
    overflow:hidden;
    transform:none!important;
  }

  .ordnt-login-heading{
    font-size:32px;
  }

  .ordnt-login-intro{
    margin:8px 0 20px;
    font-size:14px;
  }

  .ordnt-google-button{
    min-height:50px;
    height:50px;
    font-size:14px;
  }

  .ordnt-login-divider{
    margin:18px 0 19px;
  }

  .ordnt-login-field{
    margin-bottom:14px;
  }

  .ordnt-login-field-label{
    margin-bottom:6px;
  }

  .ordnt-login-field-input{
    height:48px!important;
    min-height:48px!important;
    line-height:48px!important;
    font-size:14px!important;
  }

  .ordnt-login-meta{
    margin:0 0 16px;
  }

  .ordnt-login-primary{
    height:52px;
    min-height:52px;
    font-size:15px;
  }

  .ordnt-login-create{
    margin-top:18px;
  }

  .ordnt-login-legal{
    padding-top:18px;
  }
}

@media (max-width:900px){
  #loginView.center{
    position:absolute!important;
    height:auto!important;
    min-height:100dvh!important;
    overflow:auto!important;
  }

  .ordnt-login-shell{
    display:block;
    height:auto;
    min-height:100dvh;
    overflow:visible;
  }

  .ordnt-login-brand{
    display:none;
  }

  .ordnt-login-panel{
    min-height:100dvh;
    padding:40px 22px;
    align-items:center;
    justify-content:center;
    overflow:visible;
  }

  .ordnt-login-card{
    width:min(100%,520px);
    height:auto;
    min-height:0;
    padding:34px 38px 30px;
    transform:none!important;
  }

  .ordnt-login-mobile-brand{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin:0 auto 28px;
  }

  .ordnt-login-mobile-symbol{
    width:62px;
    height:62px;
    object-fit:contain;
  }

  .ordnt-login-mobile-brand strong{
    color:var(--login-navy);
    font-size:38px;
    line-height:1;
    font-weight:900;
    letter-spacing:-.05em;
  }

  .ordnt-login-legal{
    margin-top:27px;
  }
}

@media (max-width:560px){

  .ordnt-login-panel{
    align-items:flex-start;
    padding:calc(28px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom));
  }

  .ordnt-login-card{
    padding:26px 20px 22px;
    border-radius:22px;
  }

  .ordnt-login-mobile-brand{
    margin-bottom:20px;
  }

  .ordnt-login-mobile-symbol{
    width:52px;
    height:52px;
  }

  .ordnt-login-mobile-brand strong{
    font-size:34px;
  }

  .ordnt-login-heading{
    font-size:32px;
  }

  .ordnt-login-intro{
    margin-bottom:23px;
    font-size:14px;
  }

  .ordnt-google-button,
  .ordnt-login-primary{
    min-height:52px;
    height:52px;
  }

  .ordnt-login-meta{
    gap:9px;
  }

  .ordnt-login-link{
    font-size:12px;
  }
}
