/* ══════════════════════════════════════════════════════
   Delvantic UI — Stock Override Styles
   Loads after main.css. Overrides emerald theme to
   neutral grays + #198754 green for all stock public pages.
   ══════════════════════════════════════════════════════ */

/* ── Theme Overrides ───────────────────────────────── */
:root {
    --theme-primary:          #198754;
    --theme-primary-light:    #20a368;
    --theme-primary-dark:     #146c43;
    --theme-primary-rgb:      25, 135, 84;
    --theme-gradient-primary: #198754;
    --theme-bg-primary:       #ffffff;
    --theme-bg-secondary:     #f8f9fa;
    --theme-bg-tertiary:      #f3f4f6;
    --theme-text-primary:     #1f2937;
    --theme-text-secondary:   #6b7280;
    --theme-text-muted:       #9ca3af;
    --theme-border:           #e5e7eb;
    --theme-border-light:     #f3f4f6;

    /* Chart palette */
    --sc-blue:        #1e40af;
    --sc-teal:        #0d9488;
    --sc-amber:       #d97706;
    --sc-green:       #16a34a;
    --sc-red:         #dc2626;
    --sc-purple:      #7c3aed;
    --sc-indigo:      #4f46e5;
    --sc-cyan:        #0891b2;
    --sc-revenue:     #1e40af;
    --sc-gross:       #0d9488;
    --sc-operating:   #d97706;
    --sc-net:         #16a34a;
    --sc-loss:        #dc2626;
    --sc-fcf:         #7c3aed;
    --sc-assets:      #4f46e5;
    --sc-liabilities: #dc2626;
    --sc-equity:      #0d9488;
    --sc-health:      #16a34a;
    --sc-positive:    #198754;
    --sc-negative:    #dc3545;
    --sc-muted:       #6c757d;
    --sc-text:        #1f2937;
    --sc-text-light:  #6b7280;
    --sc-border:      #e5e7eb;
    --sc-bg-subtle:   #f8f9fa;
}

/* ── Buttons ───────────────────────────────────────── */
.dv-btn {
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
    line-height: 1.4;
}

.dv-btn-primary {
    background: #198754;
    color: #fff;
    border: 1px solid #198754;
}

.dv-btn-primary:hover {
    background: #146c43;
    border-color: #146c43;
    color: #fff;
    text-decoration: none;
}

.dv-btn-secondary {
    background: #fff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

.dv-btn-secondary:hover {
    background: #f8f9fa;
    border-color: #9ca3af;
    color: #1f2937;
    text-decoration: none;
}

.dv-btn-outline {
    background: transparent;
    color: #198754;
    border: 1px solid #198754;
}

.dv-btn-outline:hover {
    background: #198754;
    color: #fff;
    text-decoration: none;
}

.dv-btn-sm {
    font-size: 13px;
    padding: 6px 18px;
}

.dv-btn-lg {
    font-size: 16px;
    padding: 14px 36px;
}
