/* ============================================================
   HappyTimes AZ – Business Portal Stylesheet
   Standalone CSS for business.happytimesaz.com
   Fonts: DM Sans (body) · Fraunces (display)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700;9..144,900&display=swap');

/* ── Variables ───────────────────────────────────────────── */
:root {
  --orange:        #fe8526;
  --orange-dark:   #e97218;
  --orange-soft:   rgba(254,133,38,0.12);
  --gold:          #f3b237;
  --gold-soft:     rgba(243,178,55,0.15);
  --black:         #1b1d1d;
  --black-2:       #252828;
  --text:          #1b1d1d;
  --text-muted:    #6b6d6d;
  --text-light:    #9a9c9c;
  --bg:            #efefef;
  --bg-2:          #e4e4e4;
  --white:         #ffffff;
  --border:        #dedede;
  --border-dark:   #c8c8c8;

  --success:       #2d7a3a;
  --success-bg:    #e8f5eb;
  --warning:       #b45309;
  --warning-bg:    #fef3c7;
  --info:          #1a6fa0;
  --info-bg:       #e0f0fa;
  --danger:        #c44a1f;
  --danger-bg:     #fce8e3;
  --neutral:       #6b6d6d;
  --neutral-bg:    #f0f0f0;

  --font-sans:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  --radius-sm:  0.375rem;
  --radius-md:  0.625rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);

  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);

  --sidebar-w: 260px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn--primary {
  background: var(--orange);
  color: #fff;
}
.btn--primary:hover:not(:disabled) {
  background: var(--orange-dark);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(254,133,38,0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn--secondary:hover:not(:disabled) {
  background: var(--orange-soft);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn--ghost:hover:not(:disabled) {
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
}

.btn--full { width: 100%; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover:not(:disabled) { background: #a83d18; color: #fff; text-decoration: none; }

.btn-link {
  background: none;
  border: none;
  color: var(--orange);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.btn-link:hover { color: var(--orange-dark); text-decoration: underline; }

/* ── Forms ───────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.form-group + .form-group { margin-top: 1.125rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-group + .form-group { margin-top: 1.125rem; }
}

label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--text-light); }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6d6d' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 1.25rem;
}
.form-check input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  accent-color: var(--orange);
  cursor: pointer;
}
.form-check label {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  line-height: 1.5;
}

.form-message {
  display: none;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.form-message--error {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(196,74,31,0.2);
}
.form-message--success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(45,122,58,0.2);
}

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge--success { background: var(--success-bg); color: var(--success); }
.badge--warning { background: var(--warning-bg); color: var(--warning); }
.badge--info    { background: var(--info-bg);    color: var(--info);    }
.badge--danger  { background: var(--danger-bg);  color: var(--danger);  }
.badge--neutral { background: var(--neutral-bg); color: var(--neutral); }
.badge--orange  { background: var(--orange-soft); color: var(--orange-dark); }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.card__body { padding: 1.5rem; }
.card__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ══════════════════════════════════════════════════════════
   AUTH PAGES (login + signup)
   ══════════════════════════════════════════════════════════ */

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--black);
}

@media (min-width: 900px) {
  .auth-page { grid-template-columns: 420px 1fr; }
}

/* ── Auth Sidebar Panel ──────────────────────────────────── */
.auth-brand {
  background: var(--black);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 899px) {
  .auth-brand {
    padding: 2rem 1.5rem 1.5rem;
  }
}

.auth-brand::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254,133,38,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.auth-brand::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243,178,55,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.auth-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.375rem;
}
.auth-brand__logo-mark {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.auth-brand__logo-text {
  display: flex;
  flex-direction: column;
}
.auth-brand__logo-text strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.auth-brand__logo-text span {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-brand__divider {
  width: 2.5rem;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  margin: 1.5rem 0;
}

@media (min-width: 900px) {
  .auth-brand__body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
}

.auth-brand__tagline {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.auth-brand__tagline em {
  color: var(--gold);
  font-style: normal;
}

@media (max-width: 899px) {
  .auth-brand__tagline { font-size: 1.375rem; margin-bottom: 0.5rem; }
  .auth-brand__body { display: none; }
}

.auth-brand__desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 30ch;
}

.auth-brand__features {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.auth-brand__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}
.auth-brand__features li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.125rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Auth Form Panel ──────────────────────────────────────── */
.auth-form-panel {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  min-height: 100vh;
}

@media (max-width: 899px) { .auth-form-panel { min-height: auto; padding: 2rem 1.25rem 3rem; } }

.auth-form-wrap {
  width: 100%;
  max-width: 420px;
}
.auth-form-wrap h1 {
  font-size: 1.625rem;
  margin-bottom: 0.375rem;
}
.auth-form-wrap .auth-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.auth-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 2rem 2rem 1.75rem;
  border: 1px solid var(--border);
}
@media (max-width: 480px) { .auth-form { padding: 1.5rem 1.25rem; border-radius: var(--radius-lg); } }

.auth-form__submit { margin-top: 1.5rem; }

.auth-form__footer {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.auth-form__footer a { font-weight: 600; }

.auth-form__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.auth-form__divider::before,
.auth-form__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-form__divider span { font-size: 0.75rem; color: var(--text-light); white-space: nowrap; }

.forgot-link {
  display: block;
  text-align: right;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-top: 0.5rem;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}
.forgot-link:hover { color: var(--orange); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════════════════════════ */

.dash-page {
  display: flex;
  min-height: 100vh;
  background: var(--bg);
}

/* ── Loading Overlay ──────────────────────────────────────── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
  gap: 1rem;
}
.loading-overlay__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-overlay__text {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Sidebar ──────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--black);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  transition: transform var(--transition);
  overflow-y: auto;
}

@media (max-width: 767px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.is-open { transform: translateX(0); box-shadow: var(--shadow-lg); }
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
}
.sidebar-overlay.is-visible { display: block; }

.sidebar__header {
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  margin-bottom: 0.25rem;
}
.sidebar__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.sidebar__logo-text {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.sidebar__logo-sub {
  font-size: 0.6875rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  font-family: var(--font-sans);
}

.sidebar__biz-name {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar__biz-name strong {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.sidebar__nav {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.sidebar__nav-section {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.875rem 0.5rem 0.375rem;
}
.sidebar__nav a,
.sidebar__nav button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  transition: var(--transition);
}
.sidebar__nav a:hover,
.sidebar__nav button:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}
.sidebar__nav a.is-active {
  color: var(--orange);
  background: var(--orange-soft);
  font-weight: 600;
}
.sidebar__nav a svg,
.sidebar__nav button svg { flex-shrink: 0; opacity: 0.7; }
.sidebar__nav a.is-active svg { opacity: 1; }

.sidebar__footer {
  padding: 1rem 0.75rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── Main Content ─────────────────────────────────────────── */
.dash-main {
  flex: 1;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
@media (max-width: 767px) { .dash-main { margin-left: 0; } }

/* ── Top Header Bar ───────────────────────────────────────── */
.dash-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
@media (max-width: 767px) { .dash-header { padding: 0 1rem; } }

.dash-header__left { display: flex; align-items: center; gap: 0.875rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.hamburger:hover { background: var(--bg); }
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
@media (max-width: 767px) { .hamburger { display: flex; } }

.dash-header__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}
@media (max-width: 767px) { .dash-header__title { font-size: 0.9375rem; } }

.dash-header__right { display: flex; align-items: center; gap: 0.75rem; }

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-sans);
}

/* ── Page Content ─────────────────────────────────────────── */
.dash-content {
  padding: 2rem 1.75rem;
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 767px) { .dash-content { padding: 1.25rem 1rem; } }

/* ── Welcome Banner ───────────────────────────────────────── */
.dash-welcome {
  background: linear-gradient(135deg, var(--black) 0%, #2a2d2d 100%);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.dash-welcome::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254,133,38,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.dash-welcome h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.375rem;
}
.dash-welcome p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
@media (max-width: 480px) { .dash-welcome { padding: 1.5rem; } .dash-welcome h2 { font-size: 1.25rem; } }

/* ── Stats Row ────────────────────────────────────────────── */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 600px) { .dash-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .dash-stats { grid-template-columns: 1fr; } }

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.stat-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.stat-card__value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.stat-card__sub {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.375rem;
}
.stat-card--orange .stat-card__value { color: var(--orange); }
.stat-card--gold   .stat-card__value { color: #a07010; }

/* ── Content Grid ─────────────────────────────────────────── */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 700px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-grid--full { grid-template-columns: 1fr; }

/* ── Profile Detail List ──────────────────────────────────── */
.profile-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.profile-list li {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.profile-list__label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.profile-list__value {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
}

/* ── Subscription Card ────────────────────────────────────── */
.sub-plan-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
}
.sub-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}
.sub-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.sub-details li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ── Table ────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.data-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(254,133,38,0.03); }

.tbl-id {
  font-family: 'DM Mono', monospace;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem !important;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.link-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
}

/* Responsive table stacking */
@media (max-width: 540px) {
  .data-table thead { display: none; }
  .data-table tbody tr {
    display: block;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 0.625rem;
    background: var(--white);
  }
  .data-table tbody tr:hover { background: var(--white); }
  .data-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
    border-bottom: none;
    font-size: 0.875rem;
  }
  .data-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .table-wrap { overflow-x: visible; }
}

/* ── Quick Actions ────────────────────────────────────────── */
.quick-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
