/* ==========================================================================
   Azee ViralHub — Authentication Pages (Chapter 05)
   ========================================================================== */
.auth-wrap{
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  background:var(--bg-secondary); padding:24px;
  background-image: radial-gradient(circle at 10% 10%, rgba(var(--color-purple-rgb),.10), transparent 40%),
                     radial-gradient(circle at 90% 90%, rgba(255,122,24,.10), transparent 40%);
}
.auth-card{
  width:100%; max-width:440px; background:var(--bg-card); border-radius:28px; box-shadow:var(--shadow-hover);
  padding:40px 36px; border:1px solid var(--border-soft); position:relative; overflow:hidden;
}
.auth-card::before{ content:""; position:absolute; top:0; left:50%; width:68px; height:4px; transform:translateX(-50%); border-radius:0 0 8px 8px; background:var(--gradient-primary); }
.auth-logo{ display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:16px; }
.auth-logo img{ width:46px; height:46px; }
.auth-card h2{ text-align:center; font-size:26px; margin-bottom:0; }
.auth-card h2::before{ content:"YOUR AZEE ACCOUNT"; display:block; margin:0 0 5px; color:var(--color-purple); font-size:10px; font-weight:700; letter-spacing:.14em; line-height:1.4; }
.auth-card p.sub{ text-align:center; color:var(--text-secondary); font-size:14.5px; margin-top:6px; margin-bottom:22px; }
.auth-google-note{ color:var(--text-secondary); font-size:12px; line-height:1.4; margin:8px 2px 0; text-align:center; }
.btn-google{
  width:100%; min-height:48px; border-radius:14px; border:1px solid #DADCE0; background:#fff;
  display:flex; align-items:center; justify-content:center; gap:11px; font-weight:600; font-size:14px; color:#202124; cursor:pointer;
  box-shadow:0 1px 2px rgba(60,64,67,.12); transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.google-mark{ width:19px; height:19px; flex:0 0 19px; display:block; }
.btn-google:hover{ background:#F8FAFD; border-color:#C7CDD5; box-shadow:0 2px 5px rgba(60,64,67,.18); }
.btn-google:active{ transform:translateY(1px); box-shadow:0 1px 2px rgba(60,64,67,.12); }
.btn-google:focus-visible{ outline:3px solid rgba(var(--color-purple-rgb),.3); outline-offset:2px; }
.divider-az{ display:flex; align-items:center; gap:12px; margin:18px 0; color:var(--text-muted); font-size:13px; }
.divider-az::before, .divider-az::after{ content:""; flex:1; height:1px; background:#ECEAF6; }
.auth-foot{ text-align:center; font-size:14px; color:var(--text-secondary); margin-top:20px; }
.auth-foot a{ color:var(--color-purple); font-weight:600; }
.strength-meter{ height:6px; border-radius:6px; background:#ECEAF6; margin-top:8px; overflow:hidden; }
.strength-meter .bar{ height:100%; width:0%; transition:width var(--duration-base) var(--ease); background:var(--color-danger); }
.strength-label{ font-size:12px; margin-top:4px; color:var(--text-muted); }

@media (max-width:600px){
  .auth-wrap{ min-height:100svh; padding:12px; }
  .auth-card{ max-width:480px; padding:24px 22px 22px; border-radius:24px; }
  .auth-logo{ margin-bottom:10px; }
  .auth-logo img{ width:40px; height:40px; }
  .auth-card h2{ font-size:23px; line-height:1.2; }
  .auth-card h2::before{ font-size:9px; margin-bottom:4px; }
  .auth-card p.sub{ font-size:13px; line-height:1.4; margin:5px 0 14px; }
  .btn-google{ min-height:44px; border-radius:12px; font-size:13.5px; gap:9px; }
  .google-mark{ width:18px; height:18px; flex-basis:18px; }
  .auth-google-note{ font-size:11px; margin-top:6px; }
  .divider-az{ gap:9px; margin:13px 0; font-size:12px; }
  .auth-card form .mb-3{ margin-bottom:10px !important; }
  .auth-card .row.g-3{ --bs-gutter-x:12px; --bs-gutter-y:8px; }
  .form-label-az{ margin-bottom:5px; font-size:13px; }
  .form-control-az{ min-height:44px; height:44px; padding-top:9px; padding-bottom:9px; font-size:14px; }
  .input-group-az .form-control-az{ height:44px; }
  .toggle-pass{ min-width:42px; }
  .auth-card #registerForm .form-check-az{ margin-top:12px !important; margin-bottom:12px !important; }
  .auth-card #registerForm .form-check-az{ align-items:flex-start; gap:8px; }
  .auth-card #registerForm .form-check-az input{ flex:0 0 18px; margin-top:2px; }
  .auth-card #registerForm .form-check-az label{ min-width:0; line-height:1.45; }
  .auth-card #registerForm .form-check-az label a[href="privacy-policy.html"]{ white-space:nowrap; }
  .auth-card #loginForm .d-flex.justify-content-between{ margin-bottom:14px !important; }
  .auth-foot{ margin-top:13px; font-size:13px; }
  .strength-meter{ margin-top:5px; }
  .strength-label{ margin-top:2px; font-size:11px; }
}

@media (min-width:320px) and (max-width:600px){
  .auth-card #registerForm .auth-register-identity{ width:50%; }
  .auth-card #registerForm .auth-register-identity .form-label-az{ white-space:nowrap; }
  .auth-register-card{ padding:20px 18px 18px; }
  .auth-register-card .auth-logo{ margin-bottom:8px; }
  .auth-register-card p.sub{ margin-bottom:10px; }
  .auth-register-card .divider-az{ margin:9px 0; }
  .auth-register-card #registerForm .row.g-3{ --bs-gutter-y:2px; }
  .auth-register-card #registerForm .form-label-az{ margin-bottom:3px; }
  .auth-register-card #registerForm .az-phone-input{ flex-direction:row; gap:6px; }
  .auth-register-card #registerForm .az-phone-country{ width:48% !important; flex:0 0 48%; font-size:12px; }
  .auth-register-card #registerForm .az-phone-input>input{ width:0 !important; flex:1 1 auto; font-size:12px; }
  .auth-register-card #registerForm .strength-meter{ margin-top:4px; }
  .auth-register-card #registerForm .strength-label{ margin-top:1px; }
  .auth-register-card #registerForm .form-check-az{ margin-top:8px !important; margin-bottom:8px !important; }
  .auth-register-card #registerForm #registerSubmitBtn{ min-height:44px; }
  .auth-register-card .auth-foot{ margin-top:10px; }
}

@media (max-width:359px){
  .auth-card #registerForm .row.g-3{ --bs-gutter-y:2px; }
  .auth-register-card{ padding-right:16px; padding-left:16px; }
  .auth-card #registerForm .auth-register-identity .form-control-az{ font-size:12px; padding-left:8px; padding-right:8px; }
  .auth-card #registerForm .auth-register-identity .form-label-az{ font-size:12px; }
  .auth-card #registerForm .form-check-az{ margin-top:8px !important; margin-bottom:8px !important; }
}
