/* Storeffy Dark Green Theme — overrides Bootstrap primary */
:root {
    --bs-primary: #15803d;
    --bs-primary-rgb: 21, 128, 61;
    --primary-color: #15803d;
    --primary-dark: #14532d;
    --primary-light: #22c55e;
}
.btn-primary, .btn-primary:disabled {
    background-color: #15803d !important;
    border-color: #15803d !important;
    color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
    background-color: #14532d !important;
    border-color: #14532d !important;
    color: #fff !important;
}
.btn-outline-primary { color: #15803d !important; border-color: #15803d !important; }
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: #15803d !important; color: #fff !important;
}
.text-primary { color: #15803d !important; }
.bg-primary { background-color: #15803d !important; color: #fff !important; }
.border-primary { border-color: #15803d !important; }
.alert-primary {
    background-color: #dcfce7 !important; color: #14532d !important; border-color: #bbf7d0 !important;
}
.link-primary { color: #15803d !important; }
.link-primary:hover { color: #14532d !important; }
.badge.bg-primary { background-color: #15803d !important; }
.progress-bar { background-color: #15803d; }
.page-link { color: #15803d; }
.page-item.active .page-link { background-color: #15803d !important; border-color: #15803d !important; }
.form-control:focus, .form-select:focus, .form-check-input:focus {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 0.25rem rgba(34, 197, 94, 0.25) !important;
}
.form-check-input:checked { background-color: #15803d !important; border-color: #15803d !important; }
.dropdown-item.active, .dropdown-item:active { background-color: #15803d !important; }
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background-color: #15803d !important; }
.list-group-item.active { background-color: #15803d !important; border-color: #15803d !important; }
.spinner-border.text-primary { color: #15803d !important; }

/* Dark mode */
[data-theme="dark"] {
    --bs-primary: #22c55e;
    --bs-primary-rgb: 34, 197, 94;
    --primary-color: #22c55e;
}
[data-theme="dark"] .btn-primary {
    background-color: #22c55e !important; border-color: #22c55e !important;
}
[data-theme="dark"] .btn-primary:hover {
    background-color: #16a34a !important; border-color: #16a34a !important;
}
[data-theme="dark"] .alert-primary {
    background-color: #052e16 !important; color: #86efac !important; border-color: #166534 !important;
}
[data-theme="dark"] .text-primary { color: #22c55e !important; }