
/* Header auth modal: premium hero background + compact login / expanded register. */
.ada-auth-card{
  background:
    linear-gradient(90deg,rgba(102,62,54,.08) 0%,rgba(251,246,245,.20) 24%,rgba(251,246,245,.18) 52%,rgba(251,246,245,.20) 100%),
    image-set(url('../../../../img/academy/auth-card-background.webp') type('image/webp'),url('../../../../img/academy/auth-card-background.jpg') type('image/jpeg')) center/cover no-repeat!important;
  transition:width .36s cubic-bezier(.2,.8,.2,1),min-height .36s cubic-bezier(.2,.8,.2,1),max-width .36s cubic-bezier(.2,.8,.2,1),transform .36s cubic-bezier(.2,.8,.2,1),box-shadow .36s ease!important;
}
.ada-auth-card:before{background:linear-gradient(90deg,rgba(102,62,54,.045),rgba(251,246,245,.06)),radial-gradient(circle at 20% 20%,rgba(251,246,245,.11),transparent 26%),radial-gradient(circle at 78% 18%,rgba(173,100,85,.10),transparent 34%)!important;}
.ada-auth-content{transition:max-width .36s cubic-bezier(.2,.8,.2,1),padding .36s cubic-bezier(.2,.8,.2,1),margin .36s cubic-bezier(.2,.8,.2,1),transform .36s cubic-bezier(.2,.8,.2,1),background .24s ease,backdrop-filter .24s ease!important;}
.ada-auth-card.auth-mode-login{width:min(760px,96vw)!important;min-height:min(500px,92vh)!important;grid-template-columns:1fr!important;}
.ada-auth-card.auth-mode-login .ada-auth-content{grid-column:1!important;max-width:520px!important;width:min(520px,92vw)!important;justify-self:center!important;align-self:center!important;margin:clamp(.85rem,2vw,1.35rem)!important;padding:clamp(1.1rem,2.1vw,1.55rem)!important;}
.ada-auth-card.auth-mode-login .ada-auth-copy{margin-bottom:.75rem!important;}
.ada-auth-card.auth-mode-login .ada-auth-tabs{margin-bottom:.85rem!important;}
.ada-auth-card.auth-mode-login .ada-auth-form[data-auth-form="login"]{gap:.68rem!important;}
.ada-auth-card.auth-mode-login .ada-auth-links{margin-top:.15rem!important;}
.ada-auth-card.auth-mode-register{width:min(1180px,96vw)!important;min-height:min(720px,92vh)!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;}
.ada-auth-card.auth-mode-register .ada-auth-content{grid-column:1/5!important;max-width:none!important;width:auto!important;justify-self:stretch!important;align-self:center!important;margin:clamp(1rem,2.2vw,2rem)!important;padding:clamp(1.25rem,2.7vw,2.45rem)!important;}
.ada-auth-card.auth-mode-register .ada-auth-form[data-auth-form="register"]{gap:clamp(.82rem,1.4vw,1.05rem)!important;}
@media(max-width:900px){.ada-auth-card.auth-mode-login,.ada-auth-card.auth-mode-register{width:min(760px,96vw)!important;min-height:auto!important;grid-template-columns:1fr!important}.ada-auth-card.auth-mode-login .ada-auth-content,.ada-auth-card.auth-mode-register .ada-auth-content{grid-column:1!important;max-width:none!important;width:auto!important;justify-self:stretch!important;}}
@media(max-width:620px){.ada-auth-card.auth-mode-login .ada-auth-content,.ada-auth-card.auth-mode-register .ada-auth-content{margin:.55rem!important;padding:1.05rem!important;}}
