
/* Dynamic Theme CSS */
:root {
    --theme-primary: #10b981;
    --theme-secondary: #059669;
    --theme-primary-rgb: 16, 185, 129;
    --theme-secondary-rgb: 5, 150, 105;
}

/* Primary Button Styling */
.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    border: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

/* Outline Button */
.btn-outline-primary {
    color: #10b981 !important;
    border-color: #10b981 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: white !important;
}

/* Badge Primary */
.badge.bg-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

/* Links */
a {
    color: #10b981;
}

a:hover {
    color: #059669;
}

/* Form Controls Focus */
.form-control:focus,
.form-select:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

/* Progress Bar */
.progress-bar {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Alert Primary */
.alert-primary {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

/* Pagination */
.page-link {
    color: #10b981;
}

.page-item.active .page-link {
    background-color: #10b981;
    border-color: #10b981;
}

.page-link:hover {
    color: #059669;
}

/* Dropdown */
.dropdown-item.active,
.dropdown-item:active {
    background-color: #10b981;
}

/* Nav Tabs */
.nav-tabs .nav-link.active {
    color: #10b981;
    border-bottom-color: #10b981;
}

/* Nav Pills */
.nav-pills .nav-link.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Checkbox and Radio (Bootstrap 5) */
.form-check-input:checked {
    background-color: #10b981;
    border-color: #10b981;
}

/* Tables */
.table-primary {
    background-color: rgba(16, 185, 129, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Sidebar Background (already handled in header.php but keeping for reference) */
.sidebar {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Text Primary Color */
.text-primary {
    color: #10b981 !important;
}

/* Border Primary Color */
.border-primary {
    border-color: #10b981 !important;
}

/* Background Primary */
.bg-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

/* Spinner/Loading */
.spinner-border.text-primary {
    color: #10b981 !important;
}

/* Card Header Primary */
.card-header.bg-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

/* List Group Active Item */
.list-group-item.active {
    background-color: #10b981;
    border-color: #10b981;
}
