/* ============================================================
   profile.css  —  My Profile page.
   Bootstrap row/col layout + the navy save button; the profile
   card, shortcuts, form fields and toggles are custom (to match
   the original exactly). Scoped under .page-profile.
   ============================================================ */

/* profile card */
.page-profile .pf-card { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--border); padding: 24px; }
.page-profile .pf-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: 'poppins', serif; font-size: 28px; color: var(--gold); margin: 0 auto 12px; position: relative; }
.page-profile .pf-avatar-edit { position: absolute; bottom: 0; right: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-mid); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 9px; color: #fff; cursor: pointer; }
.page-profile .pf-name { font-family: 'poppins', serif; font-size: 18px; color: var(--ink); margin-bottom: 3px; }
.page-profile .pf-email { font-size: 12px; color: var(--muted); }
.page-profile .pf-tier { display: inline-flex; align-items: center; gap: 5px; background: var(--gold-pale); border: 1px solid rgba(232,168,32,0.4); border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 500; color: var(--orange); margin: 10px auto 0; }
.page-profile .pf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.page-profile .pf-stat { text-align: center; }
.page-profile .pf-stat-val { font-size: 18px; font-weight: 500; font-family: 'poppins', serif; color: var(--ink); }
.page-profile .pf-stat-label { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* shortcuts */
.page-profile .pf-shortcuts { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden; }
.page-profile .pf-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s; font-size: 13px; color: var(--ink2); text-decoration: none; }
.page-profile .pf-item:last-child { border-bottom: none; }
.page-profile .pf-item:hover { background: var(--surface2); }
.page-profile .pf-item.logout { color: var(--red); }
.page-profile .pf-item.logout .pf-item-ic { color: var(--red); }
.page-profile .pf-item-ic { font-size: 14px; color: var(--muted); min-width: 16px; text-align: center; }
.page-profile .pf-item-arrow { margin-left: auto; font-size: 11px; color: var(--muted2); }

/* form cards */
.page-profile .pf-form-card { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden; }
.page-profile .pf-form-title { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--ink); display: flex; align-items: center; justify-content: space-between; }
.page-profile .pf-edit-btn { font-size: 12px; color: var(--blue); background: none; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.page-profile .pf-field label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; display: block; margin-bottom: 5px; }
.page-profile .pf-field input, .page-profile .pf-field select { width: 100%; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--border); font-size: 13px; color: var(--ink); font-family: 'DM Sans', sans-serif; background: var(--surface2); outline: none; transition: border-color .15s; }
.page-profile .pf-field input:focus, .page-profile .pf-field select:focus { border-color: var(--navy); background: #fff; }
.page-profile .pf-field input:disabled, .page-profile .pf-field select:disabled { color: var(--ink2); cursor: not-allowed; opacity: 0.85; }
.page-profile .pf-save { margin: 4px 18px 16px; }

/* notification toggles */
.page-profile .pf-notif { padding: 14px 18px; display: flex; flex-direction: column; gap: 14px; }
.page-profile .pf-notif-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink2); }
.page-profile .pf-toggle { background: var(--border2); width: 38px; height: 20px; border-radius: 20px; position: relative; cursor: pointer; transition: background .2s; flex-shrink: 0; }
.page-profile .pf-toggle.on { background: var(--navy); }
.page-profile .pf-knob { width: 16px; height: 16px; background: #fff; border-radius: 50%; position: absolute; left: 2px; top: 2px; transition: left .2s; }
.page-profile .pf-toggle.on .pf-knob { left: 20px; }