/* Jeddah Anchor — Edition 10: editorial photographic staff sign-in.
   Layout-only overrides; intentionally scoped to admin/login, no effect on auth contracts. */
.auth.auth-premium {
  position:relative!important;
  width:100%!important;
  min-height:calc(100dvh - 136px)!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  padding:18px clamp(16px,2vw,32px)!important;
  background:linear-gradient(180deg,#f3f8fb 0%,#edf6fa 100%)!important;
}
.auth.auth-premium .auth-stage{
  direction:ltr!important;
  position:relative!important;
  isolation:isolate!important;
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  width:min(1380px,100%)!important;
  max-width:1380px!important;
  height:min(688px,calc(100dvh - 158px))!important;
  min-height:0!important;
  padding:clamp(22px,3.2vw,48px)!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.85)!important;
  border-radius:24px!important;
  background:#093d58!important;
  box-shadow:0 20px 60px rgba(8,47,70,.19)!important;
}
.auth.auth-premium .auth-story{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  min-height:0!important;
  display:block!important;
  width:100%!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background-image:url('photos/daylight-port.webp')!important;
  background-size:cover!important;
  background-position:58% 50%!important;
}
.auth.auth-premium .auth-story::before{
  content:''!important;display:block!important;position:absolute!important;inset:0!important;
  z-index:0!important;
  background:linear-gradient(90deg,rgba(4,40,60,.18) 0%,rgba(4,40,60,.03) 48%,rgba(4,40,60,.38) 100%),
             linear-gradient(180deg,rgba(4,30,49,.26),transparent 52%,rgba(3,33,50,.48))!important;
  pointer-events:none!important;
}
.auth.auth-premium .auth-story::after{content:none!important;display:none!important}
.auth.auth-premium .auth-story-top{
  position:absolute!important;z-index:1!important;top:clamp(20px,2.5vw,34px)!important;
  right:clamp(20px,3vw,44px)!important;left:auto!important;
  display:flex!important;align-items:center!important;gap:10px!important;
  max-width:36%!important;
  padding:11px 15px!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:13px!important;
  background:rgba(3,43,64,.75)!important;
  backdrop-filter:blur(8px)!important;
  color:#fff!important;
}
.auth.auth-premium .auth-story-top img{width:36px!important;height:36px!important;object-fit:contain!important}
.auth.auth-premium .auth-story-top span{font-size:.74rem!important;letter-spacing:.085em!important}
.auth.auth-premium .auth-story-top-sub{font-size:.55rem!important;line-height:1.4!important}
.auth.auth-premium .auth-story-copy{
  position:absolute!important;z-index:1!important;
  right:clamp(22px,3vw,46px)!important;left:auto!important;
  bottom:clamp(22px,3.2vw,44px)!important;
  align-self:auto!important;width:min(43%,450px)!important;
  max-width:43%!important;margin:0!important;
  padding:20px 24px!important;border:1px solid rgba(255,255,255,.2)!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,rgba(4,37,58,.86),rgba(6,52,71,.70))!important;
  box-shadow:0 12px 28px rgba(0,25,43,.16)!important;
  color:#fff!important;text-align:right!important;
}
.auth.auth-premium .auth-story-copy h2{
  font-size:clamp(1.55rem,2.25vw,2.4rem)!important;
  line-height:1.3!important;margin:0 0 7px!important;
  font-weight:700!important;color:#fff!important;
}
.auth.auth-premium .auth-story-copy p{
  font-size:.9rem!important;line-height:1.7!important;margin:0!important;color:#e7f2f6!important;
}
.auth.auth-premium .auth-story-kicker,.auth.auth-premium .auth-story-en,.auth.auth-premium .auth-story-bottom{
 display:none!important;
}
.auth.auth-premium .auth-card{
  direction:rtl!important;
  position:relative!important;z-index:2!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  align-items:stretch!important;
  flex:0 0 auto!important;
  width:clamp(380px,39%,506px)!important;
  max-width:calc(100% - 20px)!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  padding:clamp(30px,3.4vw,49px)!important;
  gap:12px!important;
  border:1px solid rgba(222,234,242,.96)!important;
  border-top:3px solid #dfb268!important;
  border-radius:19px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 18px 50px rgba(3,31,51,.22)!important;
  backdrop-filter:none!important;
}
.auth.auth-premium .auth-brand{
  padding:0 0 15px!important;margin:0 0 6px!important;
  align-self:stretch!important;gap:13px!important;
  border-bottom:1px solid #edf1f4!important;
}
.auth.auth-premium .auth-brand img{width:56px!important;height:56px!important}
.auth.auth-premium .auth-brand strong{font-size:1.15rem!important;line-height:1.4!important}
.auth.auth-premium .auth-brand small{font-size:.73rem!important}
.auth.auth-premium .auth-card h1{
  font-size:clamp(2rem,2.8vw,2.45rem)!important;
  line-height:1.26!important;margin:0!important;color:#072f49!important;
}
.auth.auth-premium .auth-card > p.muted{
  font-size:.92rem!important;line-height:1.5!important;
  margin:0 0 12px!important;color:#55768a!important;
}
.auth.auth-premium .auth-card form{width:100%!important;display:grid!important;gap:14px!important}
.auth.auth-premium .auth-card .field{gap:7px!important}
.auth.auth-premium .auth-card .field label{font-size:.9rem!important;font-weight:700!important;color:#183f56!important}
.auth.auth-premium .auth-card .field input{
  min-height:52px!important;width:100%!important;
  padding-inline:14px!important;
  font-size:1rem!important;border-radius:10px!important;
  background:#f9fbfe!important;border:1px solid #cddde7!important;
}
.auth.auth-premium .auth-card .field input:focus-visible{
  outline:0!important;border-color:#1384a4!important;
  box-shadow:0 0 0 3px rgba(13,122,163,.14)!important;
}
.auth.auth-premium .auth-card .btn-primary{
  width:100%!important;min-height:54px!important;margin-top:5px!important;
  border-radius:10px!important;font-size:1rem!important;
  background:linear-gradient(120deg,#06799d,#043c5c)!important;color:#fff!important;
}
.auth.auth-premium .auth-card .auth-foot{
  margin-top:14px!important;padding:0!important;
  color:#557287!important;text-align:center!important;
}
/* The login fits a regular-height desktop viewport without any forced clipping. */
@media(min-width:900px) and (max-height:750px){
  .auth.auth-premium{padding:12px 20px!important;min-height:calc(100dvh - 136px)!important}
  .auth.auth-premium .auth-stage{height:calc(100dvh - 148px)!important;padding:22px!important}
  .auth.auth-premium .auth-card{padding:23px 35px!important;gap:7px!important}
  .auth.auth-premium .auth-brand{padding-bottom:9px!important;margin-bottom:2px!important}
  .auth.auth-premium .auth-brand img{width:43px!important;height:43px!important}
  .auth.auth-premium .auth-card h1{font-size:2rem!important}
  .auth.auth-premium .auth-card > p.muted{margin:0 0 5px!important}
  .auth.auth-premium .auth-card form{gap:10px!important}
  .auth.auth-premium .auth-card .field input{min-height:46px!important}
  .auth.auth-premium .auth-card .btn-primary{min-height:48px!important}
  .auth.auth-premium .auth-card .auth-foot{margin-top:9px!important}
  .auth.auth-premium .auth-story-copy{padding:15px 19px!important}
}
@media(max-width:899px){
  .auth.auth-premium{padding:16px!important;min-height:calc(100dvh - 130px)!important}
  .auth.auth-premium .auth-stage{
    flex-direction:column!important;justify-content:center!important;
    width:min(620px,100%)!important;max-width:620px!important;
    height:auto!important;min-height:640px!important;
    padding:24px!important;
  }
  .auth.auth-premium .auth-story{order:0!important;min-height:0!important}
  .auth.auth-premium .auth-story-top{display:none!important}
  .auth.auth-premium .auth-story-copy{display:none!important}
  .auth.auth-premium .auth-card{
    order:1!important;width:min(440px,100%)!important;
    max-width:100%!important;padding:28px!important;
  }
}
@media(max-width:480px){
  .auth.auth-premium{padding:12px!important}
  .auth.auth-premium .auth-stage{min-height:0!important;padding:19px!important;border-radius:20px!important}
  .auth.auth-premium .auth-card{padding:23px 19px!important}
  .auth.auth-premium .auth-card h1{font-size:1.85rem!important}
}
@media(prefers-reduced-motion:reduce){.auth.auth-premium *{animation:none!important;transition:none!important}}

/* Direction follows the selected language, rather than forcing Arabic alignment in English. */
html[dir="ltr"] .auth.auth-premium .auth-card{direction:ltr!important}
html[dir="ltr"] .auth.auth-premium .auth-story-copy{direction:ltr!important;text-align:left!important}
html[dir="ltr"] .auth.auth-premium .auth-story-top{right:auto!important;left:clamp(20px,3vw,44px)!important}
html[dir="ltr"] .auth.auth-premium .auth-story-copy{left:clamp(22px,3vw,46px)!important;right:auto!important}
