/* ============================================================
   AUTH SHARED STYLES — CareConnect PH
   Consistent design language across login, signup, profile
   ============================================================ */

/* ── RESET ── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}

/* Always reserve vertical scrollbar space to prevent horizontal shift when content height changes */
html {
  overflow-y: scroll;
}
body{
  font-family:'Plus Jakarta Sans',sans-serif;
  background:#fafdf8;color:#1a1f1b;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
}

/* ── PALETTE ── */
:root{
  --green:#2ea84a;
  --green-dark:#1e7a33;
  --green-deeper:#155a24;
  --green-light:#e8f7ec;
  --green-glow:rgba(46,168,74,.15);
  --dark:#0d1610;
  --dark-card:#131e16;
  --dark-surface:#1a2d1f;
  --text-main:#1a1f1b;
  --text-muted:#6b7c6f;
  --text-light:#9aaa9e;
  --white:#ffffff;
  --off-white:#f3f8f4;
  --border:rgba(46,168,74,.1);
  --border-hard:#dce6df;
  --red:#ef4444;
  --blue:#3b82f6;
  --gold:#f59e0b;
  --radius:14px;
  --shadow-sm:0 2px 12px rgba(0,0,0,.04);
  --shadow-md:0 8px 30px rgba(0,0,0,.06);
  --shadow-lg:0 16px 48px rgba(0,0,0,.08);
}

/* ── NOISE ── */
body::before{
  content:'';position:fixed;inset:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events:none;z-index:9999;
}

/* ── AUTH LAYOUT ── */
/* height:100vh (not min-height) locks the page so form-height changes
   can't resize .auth-page and re-center its children — this is what
   used to cause the "dancing" layout when toggling signup tabs.
   .auth-right scrolls internally if content exceeds the viewport. */
.auth-page{
  display:flex;
  height:100vh;
}

/* Left decorative panel */
.auth-left{
  flex:0 0 45%;
  background:var(--dark);
  display:flex;flex-direction:column;
  justify-content:center;align-items:center;
  padding:60px 48px;
  position:relative;overflow:hidden;
}
.auth-left::before{
  content:'';position:absolute;
  width:600px;height:600px;border-radius:50%;
  background:radial-gradient(circle,rgba(46,168,74,.15) 0%,transparent 70%);
  top:-100px;right:-150px;
  pointer-events:none;
}
.auth-left::after{
  content:'';position:absolute;
  width:400px;height:400px;border-radius:50%;
  background:radial-gradient(circle,rgba(46,168,74,.1) 0%,transparent 70%);
  bottom:-80px;left:-100px;
  pointer-events:none;
}

.auth-brand{
  position:relative;z-index:1;
  text-align:center;
  max-width:380px;
}
.auth-brand-logo{
  display:flex;align-items:center;justify-content:center;gap:12px;
  margin-bottom:40px;
}
.auth-brand-icon{
  width:48px;height:48px;border-radius:14px;
  background:var(--green);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 24px rgba(46,168,74,.4);
}
.auth-brand-icon svg{width:24px;height:24px;fill:white}
.auth-brand-name{
  font-family:'Outfit',sans-serif;font-weight:900;font-size:26px;
  color:white;letter-spacing:-.8px;
}
.auth-brand-name span{color:#4ade80}

.auth-tagline{
  font-family:'Outfit',sans-serif;
  font-size:clamp(28px,3.5vw,42px);
  font-weight:900;color:white;
  letter-spacing:-1.5px;line-height:1.1;
  margin-bottom:20px;
}
.auth-tagline .accent{color:#4ade80}

.auth-subtitle{
  font-size:15px;color:rgba(255,255,255,.4);
  line-height:1.7;margin-bottom:36px;
}

.auth-stats{
  display:flex;gap:36px;
  justify-content:center;
}
.auth-stat{text-align:center}
.auth-stat-num{
  font-family:'Outfit',sans-serif;
  font-size:28px;font-weight:900;color:white;letter-spacing:-1px;
}
.auth-stat-num span{color:#4ade80}
.auth-stat-label{font-size:11px;color:rgba(255,255,255,.3);font-weight:600;margin-top:2px;letter-spacing:.5px;text-transform:uppercase}

/* Right form panel */
/* justify-content:flex-start anchors the form to a fixed top offset so the
   title / tabs / social buttons / fields above #providerFields never move
   when toggling tabs. Only the button group below #providerFields shifts.
   scrollbar-gutter:stable reserves scrollbar space at all times so the
   panel width stays constant whether or not the form overflows — prevents
   the horizontal jitter when toggling between client/provider modes. */
.auth-right{
  flex:1;
  display:flex;flex-direction:column;
  align-items:center;justify-content:flex-start;
  padding:max(60px,8vh) 40px 48px;
  position:relative;
  overflow-y:auto;
  scrollbar-gutter:stable;
}

.auth-nav{
  position:absolute;top:24px;right:32px;
  display:flex;align-items:center;gap:12px;
}
.auth-nav a{
  text-decoration:none;font-size:13px;font-weight:600;
  color:var(--text-muted);transition:color .25s;
}
.auth-nav a:hover{color:var(--green)}
.auth-nav .btn-nav{
  padding:8px 20px;border-radius:50px;font-size:12.5px;font-weight:700;
  color:white;background:var(--green);border:none;
  cursor:pointer;transition:all .3s;text-decoration:none;display:inline-block;
  box-shadow:0 3px 14px rgba(46,168,74,.3);
}
.auth-nav .btn-nav:hover{background:var(--green-dark);transform:translateY(-1px)}

/* Form container */
.auth-form-wrap{
  width:100%;max-width:420px;
}
.auth-form-title{
  font-family:'Outfit',sans-serif;
  font-size:32px;font-weight:900;
  color:var(--dark);letter-spacing:-1px;
  margin-bottom:8px;
}
.auth-form-sub{
  font-size:14px;color:var(--text-muted);
  margin-bottom:32px;line-height:1.5;
}
.auth-form-sub a{color:var(--green);text-decoration:none;font-weight:700}
.auth-form-sub a:hover{text-decoration:underline}

/* Social login buttons */
.social-login-row{
  display:flex;gap:10px;margin-bottom:24px;
}
.social-login-btn{
  flex:1;
  display:flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 16px;border-radius:12px;
  background:white;
  border:1.5px solid var(--border-hard);
  font-family:inherit;font-size:13px;font-weight:600;
  color:var(--text-main);cursor:pointer;
  transition:all .25s;
}
.social-login-btn:hover{
  border-color:var(--green);
  box-shadow:0 4px 16px rgba(46,168,74,.08);
  transform:translateY(-1px);
}
.social-login-btn svg{width:18px;height:18px;flex-shrink:0}

.auth-divider{
  display:flex;align-items:center;gap:14px;
  margin-bottom:24px;
  color:var(--text-light);font-size:12px;font-weight:600;
}
.auth-divider::before,.auth-divider::after{
  content:'';flex:1;height:1px;
  background:var(--border-hard);
}

/* Input fields */
.auth-field{
  margin-bottom:18px;
}
.auth-label{
  display:block;
  font-size:11px;font-weight:800;
  color:var(--text-muted);
  text-transform:uppercase;letter-spacing:.8px;
  margin-bottom:7px;
}
.auth-input-wrap{
  display:flex;align-items:center;
  background:white;
  border:1.5px solid var(--border-hard);
  border-radius:12px;
  padding:0 14px;
  transition:all .25s;
  height:48px;
}
.auth-input-wrap:focus-within{
  border-color:var(--green);
  box-shadow:0 0 0 4px var(--green-glow);
}
.auth-input-wrap .field-icon{
  width:18px;height:18px;margin-right:10px;
  color:var(--text-light);flex-shrink:0;
}
.auth-input{
  flex:1;border:none;outline:none;
  font-family:inherit;font-size:14px;font-weight:500;
  color:var(--text-main);background:transparent;
  height:100%;
}
.auth-input::placeholder{color:var(--text-light);font-weight:400}
.auth-input-wrap .toggle-pass{
  background:none;border:none;cursor:pointer;
  color:var(--text-light);padding:4px;
  display:flex;align-items:center;
  transition:color .2s;
}
.auth-input-wrap .toggle-pass:hover{color:var(--green)}
.auth-input-wrap .toggle-pass svg{width:18px;height:18px}

/* Checkbox row */
.auth-checkbox-row{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:24px;
}
.auth-check-label{
  display:flex;align-items:center;gap:8px;
  font-size:13px;font-weight:500;color:var(--text-muted);
  cursor:pointer;
}
.auth-check-label input[type="checkbox"]{
  width:16px;height:16px;accent-color:var(--green);cursor:pointer;
}
.auth-forgot{
  font-size:13px;font-weight:600;
  color:var(--green);text-decoration:none;
}
.auth-forgot:hover{text-decoration:underline}

/* Submit button */
.auth-submit{
  width:100%;padding:14px;border-radius:12px;
  font-family:inherit;font-size:15px;font-weight:800;
  color:white;background:var(--green);border:none;
  cursor:pointer;transition:all .3s;
  box-shadow:0 6px 24px rgba(46,168,74,.35);
  letter-spacing:-.2px;
  position:relative;overflow:hidden;
}
.auth-submit:hover{
  background:var(--green-dark);
  transform:translateY(-2px);
  box-shadow:0 8px 32px rgba(46,168,74,.4);
}
.auth-submit:active{transform:translateY(0)}

/* Terms text */
.auth-terms{
  margin-top:20px;
  font-size:12px;color:var(--text-light);
  text-align:center;line-height:1.6;
}
.auth-terms a{color:var(--green);text-decoration:none;font-weight:600}
.auth-terms a:hover{text-decoration:underline}

/* ── Error/Success states ── */
.auth-field.error .auth-input-wrap{border-color:var(--red);box-shadow:0 0 0 4px rgba(239,68,68,.1)}
.auth-field.success .auth-input-wrap{border-color:var(--green)}
.field-error-msg{font-size:11px;color:var(--red);font-weight:600;margin-top:5px;display:none}
.auth-field.error .field-error-msg{display:block}

/* ── Password strength ── */
.pass-strength{
  display:flex;gap:4px;margin-top:8px;
}
.pass-strength-bar{
  flex:1;height:4px;border-radius:2px;
  background:var(--border-hard);
  transition:background .3s;
}
.pass-strength.weak .pass-strength-bar:nth-child(1){background:var(--red)}
.pass-strength.medium .pass-strength-bar:nth-child(1),
.pass-strength.medium .pass-strength-bar:nth-child(2){background:var(--gold)}
.pass-strength.strong .pass-strength-bar:nth-child(1),
.pass-strength.strong .pass-strength-bar:nth-child(2),
.pass-strength.strong .pass-strength-bar:nth-child(3){background:var(--green)}
.pass-strength-text{font-size:11px;font-weight:600;margin-top:4px;color:var(--text-light)}

/* ── Signup role toggle ── */
.role-toggle{
  display:flex;gap:8px;margin-bottom:24px;
  background:var(--off-white);border-radius:12px;
  padding:4px;
}
.role-toggle-btn{
  flex:1;padding:10px 16px;border-radius:10px;
  font-family:inherit;font-size:13px;font-weight:700;
  color:var(--text-muted);background:transparent;
  border:none;cursor:pointer;transition:all .25s;
  display:flex;align-items:center;justify-content:center;gap:6px;
}
.role-toggle-btn.active{
  background:white;color:var(--green);
  box-shadow:0 2px 12px rgba(0,0,0,.06);
}
.role-toggle-btn:hover:not(.active){color:var(--green)}

/* Provider-only fields — hidden by default, shown when .show is added */
#providerFields{display:none !important;}
#providerFields.show{display:block !important;}

/* ── Success overlay ── */
.auth-success-overlay{
  position:fixed;inset:0;
  background:rgba(13,22,16,.85);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  z-index:10000;
  display:none;
  justify-content:center;align-items:center;
}
.auth-success-overlay.show{display:flex}
.auth-success-card{
  background:white;border-radius:24px;
  padding:48px 40px;text-align:center;
  max-width:400px;width:90%;
  box-shadow:0 24px 64px rgba(0,0,0,.15);
  animation:successPop .4s cubic-bezier(.175,.885,.32,1.275) both;
}
@keyframes successPop{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}
.success-icon{
  width:72px;height:72px;border-radius:50%;
  background:var(--green-light);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 20px;
  font-size:32px;
}
.success-title{
  font-family:'Outfit',sans-serif;
  font-size:24px;font-weight:900;color:var(--dark);
  letter-spacing:-.5px;margin-bottom:8px;
}
.success-text{
  font-size:14px;color:var(--text-muted);
  margin-bottom:28px;line-height:1.6;
}
.success-btn{
  padding:12px 32px;border-radius:50px;
  font-family:inherit;font-size:14px;font-weight:800;
  color:white;background:var(--green);border:none;
  cursor:pointer;transition:all .3s;
  box-shadow:0 4px 18px rgba(46,168,74,.35);
}
.success-btn:hover{background:var(--green-dark);transform:translateY(-2px)}

/* ── Reset handler page — loading spinner ── */
.reset-spinner{
  width:48px;height:48px;
  border:3px solid var(--green-light);
  border-top-color:var(--green);
  border-radius:50%;
  margin:40px auto 20px;
  animation:resetSpin .8s linear infinite;
}
@keyframes resetSpin{to{transform:rotate(360deg)}}
.reset-handler-countdown{
  display:inline-block;
  min-width:18px;padding:2px 8px;
  background:var(--green-light);color:var(--green-deeper);
  border-radius:50px;font-weight:800;
  font-variant-numeric:tabular-nums;
}

/* ── Reset password modal ──
   Reuses .auth-success-overlay + .auth-success-card shell.
   .reset-card overrides some of the success-card defaults so we have
   room for a form input + two buttons. */
.auth-success-card.reset-card{
  padding:40px 36px 32px;
  max-width:440px;
}
.reset-close{
  position:absolute;top:14px;right:14px;
  width:32px;height:32px;border-radius:50%;
  background:var(--off-white);border:none;
  color:var(--text-muted);font-size:22px;font-weight:400;
  cursor:pointer;transition:all .2s;
  display:flex;align-items:center;justify-content:center;line-height:1;
}
.reset-close:hover{background:var(--border-hard);color:var(--dark)}
.reset-close:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.reset-field{text-align:left;margin-bottom:18px}
.reset-actions{
  display:flex;gap:10px;margin-top:4px;
}
.reset-btn-cancel{
  flex:1;padding:12px;border-radius:12px;
  font-family:inherit;font-size:14px;font-weight:700;
  color:var(--text-muted);background:transparent;
  border:1.5px solid var(--border-hard);
  cursor:pointer;transition:all .25s;
}
.reset-btn-cancel:hover{border-color:var(--green);color:var(--green)}
.reset-btn-submit{
  flex:1.4;padding:12px;border-radius:12px;
  font-family:inherit;font-size:14px;font-weight:800;
  color:white;background:var(--green);border:none;
  cursor:pointer;transition:all .3s;
  box-shadow:0 4px 16px rgba(46,168,74,.3);
  letter-spacing:-.2px;
}
.reset-btn-submit:hover:not(:disabled){
  background:var(--green-dark);transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(46,168,74,.35);
}
.reset-btn-submit:disabled{opacity:.7;cursor:not-allowed}
.reset-error{
  margin-top:14px;font-size:12.5px;font-weight:600;
  color:var(--red);background:rgba(239,68,68,.06);
  padding:10px 14px;border-radius:10px;line-height:1.5;
  text-align:center;
}
.reset-card .success-icon{
  width:64px;height:64px;font-size:26px;
  margin-bottom:16px;
}
@media(max-width:500px){
  .auth-success-card.reset-card{padding:32px 22px 24px}
  .reset-actions{flex-direction:column-reverse}
  .reset-btn-cancel,.reset-btn-submit{flex:none;width:100%}
}

/* ── Profile page specific ── */
.profile-page{
  min-height:100vh;background:var(--off-white);
}
.profile-nav{
  position:sticky;top:0;z-index:100;
  padding:0 48px;height:68px;
  display:flex;align-items:center;justify-content:space-between;
  background:rgba(250,253,248,.9);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(46,168,74,.06);
}
.profile-nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none}
.profile-nav-logo .nav-logo-icon{
  width:34px;height:34px;border-radius:9px;
  background:var(--green);display:flex;align-items:center;justify-content:center;
  box-shadow:0 3px 12px rgba(46,168,74,.25);
}
.profile-nav-logo .nav-logo-icon svg{width:17px;height:17px;fill:white}
.profile-nav-logo .nav-logo-text{
  font-family:'Outfit',sans-serif;font-weight:800;font-size:18px;
  color:var(--dark);letter-spacing:-.4px;
}
.profile-nav-logo .nav-logo-text span{color:var(--green)}

.profile-nav-actions{display:flex;align-items:center;gap:12px}
.profile-nav-actions a,.profile-nav-actions button{
  text-decoration:none;font-size:13px;font-weight:600;
  color:var(--text-muted);background:none;border:none;
  cursor:pointer;transition:color .2s;
}
.profile-nav-actions a:hover,.profile-nav-actions button:hover{color:var(--green)}
.profile-nav-actions .btn-home{
  padding:8px 20px;border-radius:50px;
  font-size:12.5px;font-weight:700;
  color:white;background:var(--green);
  box-shadow:0 3px 14px rgba(46,168,74,.3);
  transition:all .3s;
}
.profile-nav-actions .btn-home:hover{
  background:var(--green-dark);transform:translateY(-1px);
}

.profile-container{
  max-width:860px;margin:0 auto;
  padding:40px 24px 80px;
}

/* Profile header card */
.profile-header-card{
  background:var(--dark);
  border-radius:24px;
  padding:40px 36px;
  display:flex;align-items:center;gap:28px;
  position:relative;overflow:hidden;
  margin-bottom:28px;
}
.profile-header-card::before{
  content:'';position:absolute;
  inset:0;
  background:radial-gradient(ellipse at top right,rgba(46,168,74,.18),transparent 60%);
}
.profile-header-card>*{position:relative;z-index:1}

.profile-avatar-lg{
  width:90px;height:90px;border-radius:50%;
  background:linear-gradient(135deg,var(--green),var(--green-dark));
  color:white;font-family:'Outfit',sans-serif;
  font-size:32px;font-weight:900;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  border:3px solid rgba(255,255,255,.15);
  box-shadow:0 8px 24px rgba(0,0,0,.2);
}
.profile-header-info{flex:1}
.profile-header-name{
  font-family:'Outfit',sans-serif;
  font-size:24px;font-weight:900;color:white;
  letter-spacing:-.5px;margin-bottom:4px;
}
.profile-header-email{font-size:13px;color:rgba(255,255,255,.4);margin-bottom:10px}
.profile-header-badges{display:flex;gap:8px;flex-wrap:wrap}
.profile-badge{
  font-size:11px;font-weight:700;
  padding:4px 12px;border-radius:20px;
  display:inline-flex;align-items:center;gap:4px;
}
.profile-badge.verified{background:rgba(46,168,74,.15);color:#4ade80}
.profile-badge.role{background:rgba(59,130,246,.12);color:#60a5fa}
.profile-badge.rating{background:rgba(245,158,11,.12);color:#fbbf24}

.profile-edit-btn{
  padding:10px 24px;border-radius:12px;
  font-family:inherit;font-size:13px;font-weight:700;
  color:white;background:rgba(255,255,255,.1);
  border:1.5px solid rgba(255,255,255,.12);
  cursor:pointer;transition:all .25s;
  flex-shrink:0;
}
.profile-edit-btn:hover{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.2)}

/* Profile sections */
.profile-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.profile-section{
  background:white;border-radius:18px;
  padding:28px 24px;
  border:1px solid rgba(46,168,74,.06);
  transition:all .3s;
}
.profile-section:hover{
  box-shadow:0 8px 28px rgba(46,168,74,.06);
}
.profile-section.full{grid-column:1/-1}
.profile-section-title{
  font-family:'Outfit',sans-serif;
  font-size:16px;font-weight:800;color:var(--dark);
  letter-spacing:-.3px;margin-bottom:18px;
  display:flex;align-items:center;gap:8px;
}
.profile-section-title .sec-icon{
  width:32px;height:32px;border-radius:9px;
  background:var(--green-light);
  display:flex;align-items:center;justify-content:center;
  font-size:15px;
}

.profile-info-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:16px;
}

.profile-info-label{
  font-size:10px;font-weight:800;color:var(--text-light);
  text-transform:uppercase;letter-spacing:.7px;margin-bottom:4px;
}
.profile-info-value{
  font-size:14px;font-weight:600;color:var(--text-main);
}
.profile-info-value.green{color:var(--green)}

/* Stats row */
.profile-stats-row{
  display:grid;grid-template-columns:repeat(4,1fr);gap:12px;
}
.profile-stat-card{
  text-align:center;padding:16px 12px;
  background:var(--off-white);border-radius:12px;
}
.profile-stat-val{
  font-family:'Outfit',sans-serif;
  font-size:24px;font-weight:900;color:var(--green);
  letter-spacing:-.5px;
}
.profile-stat-lbl{
  font-size:10px;font-weight:700;color:var(--text-light);
  text-transform:uppercase;letter-spacing:.5px;margin-top:2px;
}

/* Action buttons */
.profile-actions{
  display:flex;gap:10px;flex-wrap:wrap;
}
.profile-action-btn{
  flex:1;min-width:140px;
  padding:12px 20px;border-radius:12px;
  font-family:inherit;font-size:13px;font-weight:700;
  cursor:pointer;transition:all .25s;
  display:flex;align-items:center;justify-content:center;gap:6px;
  border:none;
}
.profile-action-btn.primary{
  background:var(--green);color:white;
  box-shadow:0 4px 16px rgba(46,168,74,.25);
}
.profile-action-btn.primary:hover{background:var(--green-dark);transform:translateY(-1px)}
.profile-action-btn.outline{
  background:transparent;color:var(--text-muted);
  border:1.5px solid var(--border-hard);
}
.profile-action-btn.outline:hover{border-color:var(--green);color:var(--green)}
.profile-action-btn.danger{
  background:rgba(239,68,68,.06);color:var(--red);
  border:1.5px solid rgba(239,68,68,.12);
}
.profile-action-btn.danger:hover{background:rgba(239,68,68,.12)}

/* ── ANIMATIONS ── */
@keyframes fadeUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.auth-form-wrap{animation:fadeUp .6s ease both}
.auth-brand{animation:fadeUp .6s ease .1s both}

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .auth-page{flex-direction:column}
  .auth-left{
    flex:none;padding:40px 24px 32px;
    min-height:auto;
  }
  .auth-tagline{font-size:28px;letter-spacing:-1px}
  .auth-stats{gap:24px}
  .auth-stat-num{font-size:22px}
  .auth-right{padding:32px 24px}
  .auth-nav{position:relative;top:0;right:0;margin-bottom:24px;width:100%;justify-content:flex-end}
  .profile-nav{padding:0 20px}
  .profile-container{padding:24px 16px 60px}
  .profile-header-card{flex-direction:column;text-align:center;padding:32px 24px}
  .profile-header-badges{justify-content:center}
  .profile-grid{grid-template-columns:1fr}
  .profile-info-grid{grid-template-columns:1fr}
  .profile-stats-row{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:500px){
  .social-login-row{flex-direction:column}
  .auth-left{padding:32px 20px 24px}
  .auth-stats{flex-wrap:wrap;gap:16px}
  .profile-avatar-lg{width:72px;height:72px;font-size:26px}
  .profile-actions{flex-direction:column}
}
