/* =========================================================================
   EAW FAiR — Auth pages (login, register, forgot/reset password, check email)
   Split-screen layout: branded panel + form panel. Below the lg breakpoint
   the branded panel drops away entirely and the form takes the full screen.
   ========================================================================= */

:root{
  --eaw-navy: #0b1524;
  --eaw-navy-elevated: #142238;
  --eaw-accent: #17a6b4;
  --eaw-accent-bright: #2dd4c6;
  --eaw-text-muted: #90a0b7;
}

html, body{ height:100%; }
body{
  margin:0;
  background:#f5f7fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.auth-wrapper{
  min-height:100vh;
  display:flex;
}

/* ---------------------------------------------------------------------
   Left: branded visual panel (hidden below lg)
   --------------------------------------------------------------------- */
.auth-visual{
  flex: 0 0 44%;
  max-width:560px;
  background: linear-gradient(155deg, var(--eaw-navy) 0%, #0e2036 60%, #123246 100%);
  position:relative;
  overflow:hidden;
  flex-direction:column;
  justify-content:center;
  padding:56px 56px;
}

.auth-visual::before{
  /* subtle dot-grid texture, drawn with CSS only */
  content:"";
  position:absolute;
  inset:0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity:0.6;
}

.auth-visual::after{
  content:"";
  position:absolute;
  width:520px; height:520px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(23,166,180,0.25) 0%, rgba(23,166,180,0) 70%);
  bottom:-220px; right:-160px;
}

.auth-visual-inner{
  position:relative;
  z-index:1;
}

.auth-visual-logo{
  max-width:150px;
  height:auto;
  margin-bottom:28px;
}

.auth-visual-inner h2{
  color:#fff;
  font-weight:700;
  font-size:1.9rem;
  margin-bottom:14px;
}

.auth-visual-tagline{
  color: var(--eaw-text-muted);
  font-size:1rem;
  line-height:1.6;
  max-width:380px;
  margin-bottom:36px;
}

.auth-visual-points{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.auth-visual-points li{
  display:flex;
  align-items:center;
  gap:12px;
  color:#dbe4ee;
  font-size:0.94rem;
}
.auth-visual-points .iconify{
  color: var(--eaw-accent-bright);
  flex-shrink:0;
  font-size:1.3em;
}

/* ---------------------------------------------------------------------
   Right: form panel
   --------------------------------------------------------------------- */
.auth-panel{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 32px 20px;
}

.auth-panel-inner{
  width:100%;
  max-width:420px;
}

.auth-panel-logo{
  text-align:center;
  margin-bottom:24px;
}
.auth-panel-logo img{
  max-width:130px;
  height:auto;
}

.auth-heading{
  font-size:1.5rem;
  font-weight:700;
  color:#101828;
  margin-bottom:6px;
}
.auth-subheading{
  color:#667085;
  font-size:0.94rem;
  margin-bottom:28px;
}

/* Form controls — slightly larger, calmer than default Bootstrap */
.auth-panel .form-label{
  font-size:0.86rem;
  font-weight:600;
  color:#344054;
  margin-bottom:6px;
}
.auth-panel .input-group-text{
  background:#f9fafb;
  border-right:none;
  color:#667085;
}
.auth-panel .form-control,
.auth-panel .form-select{
  border-left:none;
  padding-top:0.65rem;
  padding-bottom:0.65rem;
}
.auth-panel .input-group:has(.form-control:focus),
.auth-panel .input-group:has(.form-select:focus){
  box-shadow: 0 0 0 3px rgba(23,166,180,0.15);
  border-radius:0.375rem;
}
.auth-panel .input-group .form-control:focus,
.auth-panel .input-group .form-select:focus{
  box-shadow:none;
  border-color:#c8d0da;
}
.auth-panel .input-group-text{
  border-color:#d0d5dd;
}
.auth-panel .form-control,
.auth-panel .form-select{
  border-color:#d0d5dd;
}

.btn-auth-primary{
  background: var(--eaw-accent);
  border-color: var(--eaw-accent);
  color:#04181a;
  font-weight:600;
  padding:0.68rem 1rem;
  border-radius:10px;
}
.btn-auth-primary:hover{
  background: var(--eaw-accent-bright);
  border-color: var(--eaw-accent-bright);
  color:#04181a;
}

.auth-link{
  color: var(--eaw-accent);
  font-weight:600;
  text-decoration:none;
}
.auth-link:hover{ color: var(--eaw-accent-bright); text-decoration:underline; }

.auth-messages .alert{
  font-size:0.9rem;
  padding:0.7rem 1rem;
}

.toggle-password{
  border-color:#d0d5dd;
  color:#667085;
}

@media (max-width: 991.98px){
  .auth-visual{ display:none; }
  .auth-panel{ padding: 40px 20px; }
}

@media (max-width: 420px){
  .auth-panel-inner{ max-width:100%; }
}
