/* ===== SMART CAPITAL - NEON GROWTH THEME (for this template's main.css) ===== */

/* 1. Override the template's own HSL variables (main.css uses hsl(var(--x))) */
:root {
    --base-h: 103;
    --base-s: 100%;
    --base-l: 50%;
    --heading: 0 0% 100%;
    --body: 120 12% 78%;
    --border: 103 60% 18%;
    --light: 120 25% 8%;
    --secondary: 120 20% 14%;
    --link-color-h: 103;
    --link-color-s: 100%;
    --link-color-l: 55%;
    --link-color-hover: 103 100% 70%;
}

/* 2. Page base */
body {
    background: #050805 !important;
    color: hsl(120 12% 78%) !important;
}
h1, h2, h3, h4, h5, h6 { color: #ffffff; }
a { color: #5cff1a; }
a:hover { color: #9dff6b; }

/* 3. Header / navigation */
.header {
    background-color: #070b07 !important;
    border-bottom: 1px solid rgba(92, 255, 26, .25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .6);
}
.header-trigger span, .header-trigger::before, .header-trigger::after {
    background-color: #5cff1a !important;
}

/* 4. Cards and panels */
.card, .card--lg, .card--md, .card-body, .card-footer, .investor-card, .gateway-card,
.dashboard-sidebar, .modal-content, .dropdown-menu {
    background-color: #0d140e !important;
    color: #e8f5e9 !important;
    border: 1px solid rgba(92, 255, 26, .25) !important;
}
.card-header {
    background-color: #111c12 !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(92, 255, 26, .25) !important;
}
.card:hover {
    box-shadow: 0 0 18px rgba(92, 255, 26, .35);
}

/* 5. Buttons: dark text on neon green so they stay readable */
.btn--base, .btn--base2, .cmn--btn {
    background-color: #5cff1a !important;
    border-color: #5cff1a !important;
    color: #031003 !important;
    font-weight: 700;
    box-shadow: 0 0 14px rgba(92, 255, 26, .45);
}
.btn--base:hover, .cmn--btn:hover, .btn--base2:hover {
    background-color: #9dff6b !important;
    border-color: #9dff6b !important;
    color: #031003 !important;
}
.btn--base:disabled { opacity: .5; }

/* 6. Forms */
.form-control, .form-select, input, select, textarea {
    background-color: #070b07 !important;
    color: #e8f5e9 !important;
    border: 1px solid rgba(92, 255, 26, .25) !important;
}
.form-control::placeholder { color: #7f9a84 !important; }
.form-control:focus, input:focus, select:focus, textarea:focus {
    border-color: #5cff1a !important;
    box-shadow: 0 0 0 .2rem rgba(92, 255, 26, .2) !important;
}

/* 7. Tables */
.table {
    background-color: transparent !important;
    color: #e8f5e9 !important;
}
.table thead tr { background: #111c12 !important; }
.table thead tr th { color: #5cff1a !important; }
.table tbody tr:nth-child(even) { background: rgba(92, 255, 26, .04) !important; }
.table td, .table th { border-color: rgba(92, 255, 26, .18) !important; }

/* 8. Gold accent for key figures (optional) */
.text--base, .text-primary { color: #5cff1a !important; }
.badge--base, .bg--base { background-color: #5cff1a !important; color: #031003 !important; }

/* 9. Footer */
.footer, footer {
    background-color: #020402 !important;
    color: #9fb8a3 !important;
    border-top: 1px solid rgba(92, 255, 26, .25);
}
.footer a { color: #5cff1a !important; }

/* 10. Home page sc-* classes */
.sc-hero { background: #050805; text-align: center; padding: 0 0 24px; }
.sc-hero img {
    width: 100%; max-width: 480px; height: auto; display: block; margin: 0 auto;
    box-shadow: 0 0 40px rgba(92, 255, 26, .15);
}
.sc-hero-body { padding: 16px 16px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sc-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 30px; font-weight: 700; text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.sc-btn:hover { transform: translateY(-2px); }
.sc-btn.gold {
    background: linear-gradient(135deg, #7dff3a, #2fb300); color: #031003;
    box-shadow: 0 0 16px rgba(92, 255, 26, .45);
}
.sc-btn.blue { background: transparent; color: #5cff1a; border: 1px solid #5cff1a; }
.sc-strip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 20px 14px;
    background: #0a120b; border-top: 1px solid rgba(92, 255, 26, .25); border-bottom: 1px solid rgba(92, 255, 26, .25);
}
.sc-strip div { text-align: center; color: #e8f5e9; font-size: 13px; font-weight: 600; }
.sc-ico {
    display: block; width: 48px; height: 48px; margin: 0 auto 8px; line-height: 48px;
    border-radius: 50%; color: #031003; font-size: 20px;
    background: linear-gradient(135deg, #ffc83d, #b8860b); box-shadow: 0 0 14px rgba(255, 200, 61, .35);
}
.sc-footer { text-align: center; padding: 26px 16px; background: linear-gradient(180deg, #0a120b, #020402); color: #e8f5e9; }
.sc-footer .name { font-size: 22px; font-weight: 800; color: #5cff1a; letter-spacing: 2px; text-shadow: 0 0 12px rgba(92,255,26,.5); }
.sc-footer .tag { font-size: 13px; color: #9fb8a3; margin-top: 4px; }
.sc-links { text-align: center; padding: 16px; }
.sc-links a { color: #5cff1a; font-weight: 600; margin: 0 10px; text-decoration: none; }
.sc-copy { text-align: center; font-size: 12px; color: #9fb8a3; padding-bottom: 20px; }

/* 11. Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050805; }
::-webkit-scrollbar-thumb { background: #2fb300; border-radius: 4px; }

/* ===== Header & drawer (override purple from demo-theme.css) ===== */
body.dm-dark, body { background: #050805 !important; }
.dm-header { background: #070b07 !important; border-bottom: 1px solid rgba(92, 255, 26, .25) !important; box-shadow: 0 4px 20px rgba(0, 0, 0, .6) !important; }
.dm-header h1 { color: #e8f5e9 !important; }
.dm-header small { color: #9fb8a3 !important; }
.dm-burger, .dm-bell { color: #5cff1a !important; background: transparent !important; }
.dm-drawer, .dm-drawer-head { background: #0a120b !important; color: #e8f5e9 !important; }
.dm-drawer-head { border-bottom: 1px solid rgba(92, 255, 26, .25) !important; }
.dm-drawer-who b { color: #ffffff !important; }
.dm-drawer-who small { color: #9fb8a3 !important; }
.dm-drawer-item { color: #e8f5e9 !important; }
.dm-drawer-item.active, .dm-drawer-item:hover { background: rgba(92, 255, 26, .15) !important; color: #5cff1a !important; }
.dm-drawer-item.out { color: #ff6b6b !important; }
.dm-drawer-logo { border-color: #5cff1a !important; }
