/* SmartCareer luxury theme - shared by every app page (the landing page carries
   the same palette inline). Loaded after each page's own <style>, so these
   tokens win. Palette: ink, burgundy, cognac, champagne, sapphire. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&display=swap');

:root {
  --bg: #0B0A10;
  --surface: #15121B;
  --surface2: #1D1823;
  --border: rgba(255, 255, 255, 0.06);
  --border2: rgba(226, 199, 153, 0.16);
  --accent: #7F9BFF;
  --accent-soft: rgba(62, 99, 221, 0.14);
  --accent2: #D9B98A;
  --gold: #D9B98A;
  --gold-soft: rgba(217, 185, 138, 0.10);
  --text: #FBF8F3;
  --muted: #9C959B;
  --muted2: #CFC7C2;
  --lux-maroon: #7B1E34;
  --lux-cognac: #8A5A3C;
  --lux-champagne: #E2C799;
  --lux-sapphire: #3E63DD;
  --lux-gradient: linear-gradient(135deg, #7B1E34 0%, #5C2A5E 45%, #3E63DD 100%);
  --lux-gradient-text: linear-gradient(115deg, #F1DDB8 0%, #D9A77F 38%, #8FA8FF 100%);
  --ui-bg: #0B0A10;
  --ui-surface: #15121B;
  --ui-surface-raised: #1D1823;
  --ui-primary: #3E63DD;
  --ui-cyan: #D9B98A;
  --ui-gold: #D9B98A;
  --ui-gradient: var(--lux-gradient);
  --ui-shadow-primary: 0 14px 34px rgba(123, 30, 52, 0.28);
}

body {
  background: linear-gradient(180deg, #0D0B12 0%, #0B0A10 55%, #09080D 100%) fixed !important;
}
body::before {
  background:
    radial-gradient(ellipse 70% 55% at 50% -5%, rgba(123, 30, 52, 0.26) 0%, transparent 62%),
    radial-gradient(ellipse 55% 45% at 92% 75%, rgba(62, 99, 221, 0.13) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 5% 55%, rgba(138, 90, 60, 0.12) 0%, transparent 60%) !important;
}

/* headings: the same serif display face as the landing page */
.greeting h1, .page-header h1, .hero h1, .box h1, .auth-title, .card-title-lg, .section h2, .faq h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  letter-spacing: -0.01em;
}
.greeting h1 span, .page-header h1 span, .logo span, .page-header h1 em {
  background: var(--lux-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.logo span { font-family: inherit; }

/* nav bar */
body > nav {
  background: rgba(11, 10, 16, 0.92) !important;
  border-bottom: 1px solid rgba(226, 199, 153, 0.10) !important;
}

/* primary actions share the landing gradient */
.btn-main, .btn-save, .btn-pay-pro, .btn-primary, .btn-pro, .btn-auth, .btn-submit, button[type="submit"]:not(.btn-danger):not(.btn-logout),
.btn.btn-primary {
  background: var(--lux-gradient) !important;
  border: 1px solid rgba(226, 199, 153, 0.28) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(123, 30, 52, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

/* cards: warm hairline border, deep ink fill */
.card, .stat-card, .action-card, .riwayat-item, .product-card, .quota-box, .sc-hero, .step-item, .box, .form-card, .auth-card, .plan-card, .metric-card, .panel {
  border-color: rgba(226, 199, 153, 0.10) !important;
}
.sc-hero, .product-card {
  background: linear-gradient(135deg, rgba(123, 30, 52, 0.16), rgba(21, 18, 27, 0.92) 55%, rgba(62, 99, 221, 0.10)) !important;
}
.section-label, .sc-kicker, .quota-title, .plan-tag, .eyebrow { color: var(--lux-champagne) !important; }
.section-label::after { background: linear-gradient(90deg, rgba(226, 199, 153, 0.35), transparent) !important; }
.price-save, .current-badge { border-color: rgba(226, 199, 153, 0.3) !important; }
.plan-tag-pro { background: rgba(123, 30, 52, 0.18) !important; border-color: rgba(226, 199, 153, 0.25) !important; }
input:focus, select:focus, textarea:focus { border-color: rgba(226, 199, 153, 0.55) !important; }

/* spacing under the fixed nav on sidebar pages */
body.has-app-sidebar .wrap { padding-top: 28px; }
