/* =========================================================
   Rotary District 9660 – IT Help Portal
   Azure Static Web App | style.css
   ========================================================= */

/* --- Google Fonts: Open Sans (Rotary International brand) */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* --- Skip navigation (accessibility) -------------------- */
.skip-link {
  position: absolute;
  top: -3rem;
  left: 0;
  padding: 0.5rem 1rem;
  background: var(--rotary-blue);
  color: #fff;
  font-size: 0.9rem;
  border-radius: 0 0 4px 0;
  z-index: 9999;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* --- Variables ------------------------------------------ */
:root {
  --rotary-blue:   #17458F;  /* Rotary Royal Blue — PRIMARY (PMS 286C) */
  --rotary-azure:  #0067C8;  /* Rotary Azure — secondary blue (PMS 2175C) */
  --rotary-gold:   #F7A81B;  /* Rotary Gold (PMS 130C) */
  --rotary-dark:   #0d2d5e;  /* Dark navy — footer/progress bar backgrounds */
  --success:       #1a7f37;
  --warning:       #9a6700;
  --danger:        #cf222e;
  --text:          #1a1a2e;
  --text-muted:    #5a6472;
  --bg:            #f4f6f9;
  --card-bg:       #ffffff;
  --border:        #dde1e7;
  --radius:        10px;
  --shadow:        0 2px 12px rgba(23,69,143,0.10);
  --shadow-lg:     0 6px 24px rgba(23,69,143,0.15);
  --transition:    0.2s ease;
  --max-width:     820px;
}

/* --- Reset & Base --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--rotary-azure); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* --- Site Header ---------------------------------------- */
.site-header {
  background: var(--rotary-blue);
  color: #fff;
  padding: 0 1.5rem;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}
/* Push nav toggle to the right */
.header-logo { flex: 1; }
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}
.header-logo:hover { text-decoration: none; }

/* Rotary district logo */
.header-logo-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.header-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}
.header-text span {
  font-size: 0.73rem;
  opacity: 0.75;
}

/* --- Progress Bar --------------------------------------- */
.progress-section {
  background: var(--rotary-blue);
  padding: 0.9rem 1.5rem;
}
.progress-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.progress-steps {
  display: flex;
  list-style: none;
  position: relative;
}
/* Connecting line */
.progress-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  z-index: 0;
}
.progress-steps li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.step-lbl {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
  display: none;
  font-weight: 500;
}
/* States */
.progress-steps li.done .step-circle {
  background: rgba(247,168,27,0.85);
  border-color: var(--rotary-gold);
  color: var(--rotary-dark);
}
.progress-steps li.active .step-circle {
  background: var(--rotary-gold);
  border-color: var(--rotary-gold);
  color: var(--rotary-dark);
  box-shadow: 0 0 0 4px rgba(247,168,27,0.3);
}
.progress-steps li.done .step-lbl,
.progress-steps li.active .step-lbl {
  color: rgba(255,255,255,0.85);
}
@media (min-width: 480px) {
  .step-lbl { display: block; }
}

/* --- Main Layout ---------------------------------------- */
.site-main { flex: 1; padding: 2rem 1.5rem 3rem; }
.main-inner { max-width: var(--max-width); margin: 0 auto; }

/* --- Page Header ---------------------------------------- */
.page-header { margin-bottom: 1.75rem; }
.step-badge {
  display: inline-block;
  background: var(--rotary-gold);
  color: var(--rotary-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}
.page-header h1 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--rotary-blue);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.page-header .subtitle { color: var(--text-muted); font-size: 1rem; }

/* --- Cards ---------------------------------------------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.25rem;
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rotary-blue);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card-title .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(23,69,143,0.08);
  border-radius: 6px;
  font-size: 1rem;
}

/* --- Instruction list ----------------------------------- */
.steps-list {
  list-style: none;
  counter-reset: inst;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.steps-list > li {
  counter-increment: inst;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.steps-list > li::before {
  content: counter(inst);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--rotary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.1rem;
}
.steps-list > li .content { flex: 1; }
.steps-list > li .content p { margin: 0; }
.steps-list > li .content .note {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* --- Inline code / URL ---------------------------------- */
code, .url-inline {
  background: #eef2f7;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88em;
  color: var(--rotary-dark);
  word-break: break-all;
}
.url-block {
  display: block;
  background: #eef2f7;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.93rem;
  color: var(--rotary-dark);
  margin: 0.45rem 0;
  word-break: break-all;
}

/* --- Callout boxes -------------------------------------- */
.callout {
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
}
.callout-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.05rem; }
.callout-info  { background: #e8f4fd; border-left: 4px solid #0078d4; color: #003f73; }
.callout-tip   { background: #edf9f0; border-left: 4px solid var(--success); color: #0d4a24; }
.callout-warn  { background: #fff8e1; border-left: 4px solid var(--rotary-gold); color: var(--warning); }
.callout-danger{ background: #fff0f0; border-left: 4px solid var(--danger); color: var(--danger); }

/* --- MFA Option tabs ------------------------------------ */
.mfa-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.25rem;
}
.mfa-tab {
  padding: 0.55rem 1.1rem;
  border: none;
  background: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  border-radius: 4px 4px 0 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.mfa-tab:hover { color: var(--rotary-blue); background: rgba(23,69,143,0.05); }
.mfa-tab.active { color: var(--rotary-blue); border-bottom-color: var(--rotary-blue); }
.mfa-panel { display: none; }
.mfa-panel.active { display: block; }

/* Store badges */
.store-badges { display: flex; gap: 0.65rem; flex-wrap: wrap; margin: 0.75rem 0 1rem; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #111;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.store-badge:hover { background: #333; color: #fff; text-decoration: none; }
.store-badge .b-icon { font-size: 1.3rem; }
.store-badge .b-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge .b-text small { font-weight: 400; font-size: 0.68rem; opacity: 0.75; }

/* --- Password rules ------------------------------------- */
.pw-rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.5rem 0;
}
.pw-rules li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.pw-rules li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* --- Nav actions ---------------------------------------- */
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.68rem 1.35rem;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  line-height: 1;
}
.btn-primary {
  background: var(--rotary-blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--rotary-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(23,69,143,0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--bg);
  text-decoration: none;
}
.btn-success {
  background: var(--success);
  color: #fff;
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
}
.btn-success:hover {
  background: #145d28;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26,127,55,0.35);
}
.btn-lg { font-size: 1.05rem; padding: 0.85rem 1.8rem; }
.btn-xl {
  font-size: 1.15rem;
  padding: 1rem 2.2rem;
  border-radius: 10px;
}

/* --- Support banner ------------------------------------- */
.support-banner {
  background: #e8f4fd;
  border: 1px solid #bcd9f5;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: #003f73;
}
.support-banner .s-icon { font-size: 1.4rem; flex-shrink: 0; }
.support-banner strong { display: block; margin-bottom: 0.15rem; }
.support-banner a { color: var(--rotary-blue); font-weight: 600; }

/* --- Welcome / Index ------------------------------------ */
.welcome-hero {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
}
.hero-emblem {
  width: 80px;
  height: 80px;
  border: 6px solid var(--rotary-gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: rgba(247,168,27,0.08);
  margin-bottom: 1rem;
}
.welcome-hero h1 {
  font-size: 1.9rem;
  color: var(--rotary-blue);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.welcome-hero .lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 1.75rem;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.ov-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.ov-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ov-num {
  width: 40px;
  height: 40px;
  background: var(--rotary-blue);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.65rem;
}
.ov-card h2 { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.3rem; }
.ov-card p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }

/* --- Done / Success page -------------------------------- */
.success-hero { text-align: center; padding: 2.5rem 1rem 1.5rem; }
.check-ring {
  width: 84px;
  height: 84px;
  background: #edf9f0;
  border: 5px solid var(--success);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.success-hero h1 { font-size: 2rem; color: var(--success); margin-bottom: 0.5rem; }
.success-hero .lead { color: var(--text-muted); font-size: 1rem; max-width: 480px; margin: 0 auto 1.75rem; }
.countdown { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.75rem; }

/* --- Site Footer ---------------------------------------- */
.site-footer {
  background: var(--rotary-blue);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.77rem;
}
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: #fff; }

/* --- Passphrase generator ------------------------------- */
.passphrase-box {
  background: #f0f7ff;
  border: 1px solid #bcd9f5;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin-top: 0.75rem;
}
.passphrase-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.passphrase-display {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rotary-dark);
  background: #fff;
  border: 2px dashed var(--rotary-blue);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  word-break: break-all;
}
.passphrase-hint {
  font-size: 0.83rem;
  color: var(--success);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* --- Phone number converter ----------------------------- */
.phone-converter {
  background: #f9f9fb;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-top: 0.75rem;
}
.phone-converter-label {
  display: block;
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.phone-input {
  width: 100%;
  font-size: 1.05rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'Courier New', Courier, monospace;
  outline: none;
  transition: border-color var(--transition);
}
.phone-input:focus { border-color: var(--rotary-blue); }
.phone-result {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.phone-label { font-size: 0.8rem; color: var(--text-muted); }
.phone-value {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rotary-dark);
}
.phone-sub { font-size: 0.78rem; color: var(--text-muted); }

/* --- Done page app links -------------------------------- */
.app-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.app-link-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}
.app-link-card:hover {
  background: #e8f4fd;
  border-color: #bcd9f5;
  color: var(--rotary-blue);
  text-decoration: none;
  transform: translateX(3px);
}
.app-icon { font-size: 1.5rem; flex-shrink: 0; }
.app-info { flex: 1; display: flex; flex-direction: column; gap: 0.1rem; }
.app-info strong { font-size: 0.93rem; }
.app-info small { font-size: 0.78rem; color: var(--text-muted); }
.app-link-card:hover .app-info small { color: var(--rotary-blue); opacity: 0.75; }
.app-arrow { font-size: 1rem; color: var(--text-muted); }

/* --- Navigation menu ------------------------------------ */
.nav-toggle {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,0.25); }

/* Overlay */
.site-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 100;
}
.site-nav-overlay.open { display: block; }

/* Slide-in nav panel */
.site-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,0.18);
  z-index: 101;
  transition: right 0.25s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.site-nav.open { right: 0; }
.site-nav-inner { padding: 0 0 2rem; flex: 1; }

.nav-header {
  background: var(--rotary-blue);
  color: #fff;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-header strong { font-size: 0.95rem; }
.nav-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  line-height: 1;
}
.nav-close:hover { color: #fff; }

.nav-group { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.nav-group:last-child { border-bottom: none; }
.nav-group-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.35rem 1.2rem;
  margin-bottom: 0.15rem;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.2rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-link:hover {
  background: #f0f7ff;
  color: var(--rotary-blue);
  text-decoration: none;
}
.nav-link.active {
  background: #e8f4fd;
  color: var(--rotary-blue);
  font-weight: 700;
  border-left: 3px solid var(--rotary-blue);
}

/* --- Official app store badges -------------------------- */
.store-badges { display: flex; gap: 0.65rem; flex-wrap: wrap; margin: 0.75rem 0 1rem; }
.store-badge-link { display: inline-block; text-decoration: none; }
.store-badge-link:hover { opacity: 0.85; }
.store-badge-img {
  height: 44px;
  width: auto;
  display: block;
}
/* Remove old text badge styles (kept for compatibility, overridden) */
.store-badge { display: none; }

/* --- Additional guide cards (index page) ---------------- */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 0.75rem;
}
.guide-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}
.guide-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: var(--rotary-blue);
  text-decoration: none;
}
.guide-card-icon { font-size: 1.6rem; flex-shrink: 0; }
.guide-card-text strong { display: block; font-size: 0.88rem; }
.guide-card-text small { font-size: 0.76rem; color: var(--text-muted); }

/* --- FAQ page ------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.faq-question {
  width: 100%;
  background: var(--card-bg);
  border: none;
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  transition: var(--transition);
}
.faq-question:hover { background: #f5f8fc; color: var(--rotary-blue); }
.faq-question[aria-expanded="true"] { color: var(--rotary-blue); background: #e8f4fd; }
.faq-chevron { font-size: 0.75rem; transition: transform 0.2s; flex-shrink: 0; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 1rem 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
}
.faq-answer.open { display: block; }
.faq-answer p { margin-bottom: 0.5rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 0.4rem 0 0.4rem 1.2rem; }
.faq-answer li { margin-bottom: 0.25rem; }

/* Licensing tier badges */
.licence-tier {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 0.3rem;
}
.tier-basic   { background: #e8f4fd; color: #0050a0; }
.tier-std     { background: #edf9f0; color: #1a7f37; }
.tier-premium { background: #fff8e1; color: #9a6700; }

/* --- Responsive ----------------------------------------- */
@media (max-width: 480px) {
  body { font-size: 15px; }
  .page-header h1, .welcome-hero h1 { font-size: 1.4rem; }
  .nav-actions { flex-direction: column-reverse; }
  .nav-actions .btn { width: 100%; justify-content: center; }
  .store-badges { flex-direction: column; }
  .mfa-tab { font-size: 0.82rem; padding: 0.5rem 0.75rem; }
}
