/* ===================================
   GREEN THEME OVERRIDES
   =================================== */

/* Primary color overrides - Green Theme */
:root {
    --bs-primary: #2e7d32;
    --bs-primary-rgb: 46, 125, 50;
    --green-primary: #2e7d32;
    --green-primary-dark: #1b5e20;
    --green-primary-light: #4caf50;
    --green-accent: #a5d6a7;
    --green-bg-light: #e8f5e9;
    --green-bg-medium: #c8e6c9;
}

/* Override Bootstrap primary button */
.btn-primary {
    background-color: #2e7d32 !important;
    border-color: #2e7d32 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #1b5e20 !important;
    border-color: #1b5e20 !important;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.5) !important;
}

/* Outline primary button */
.btn-outline-primary {
    color: #2e7d32 !important;
    border-color: #2e7d32 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #2e7d32 !important;
    border-color: #2e7d32 !important;
    color: white !important;
}

/* Navbar override */
.navbar.bg-primary,
.bg-primary {
    background-color: #2e7d32 !important;
}

/* Footer override */
footer.bg-primary {
    background-color: #2e7d32 !important;
}

/* Link colors */
a {
    color: #2e7d32;
}

a:hover {
    color: #1b5e20;
}

/* Navigation link active state */
.nav-link.active,
.nav-link:focus {
    color: #a5d6a7 !important;
}

/* Text primary */
.text-primary {
    color: #2e7d32 !important;
}

/* Border primary */
.border-primary {
    border-color: #2e7d32 !important;
}

/* Alert primary */
.alert-primary {
    background-color: #e8f5e9;
    border-color: #c8e6c9;
    color: #1b5e20;
}

/* Badge primary */
.badge.bg-primary {
    background-color: #2e7d32 !important;
}

/* Progress bar */
.progress-bar {
    background-color: #2e7d32;
}

/* Form controls focus */
.form-control:focus,
.form-select:focus {
    border-color: #4caf50;
    box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25);
}

/* Spinner */
.spinner-border.text-primary {
    color: #2e7d32 !important;
}

/* Pagination */
.page-link {
    color: #2e7d32;
}

.page-link:hover {
    color: #1b5e20;
}

.page-item.active .page-link {
    background-color: #2e7d32;
    border-color: #2e7d32;
}

/* Card with primary accent */
.card-header.bg-primary {
    background-color: #2e7d32 !important;
}

/* List group */
.list-group-item.active {
    background-color: #2e7d32;
    border-color: #2e7d32;
}

/* Dropdown */
.dropdown-item.active,
.dropdown-item:active {
    background-color: #2e7d32;
}

/* Tables */
.table-primary {
    --bs-table-bg: #e8f5e9;
    --bs-table-border-color: #c8e6c9;
}
