/* ============================================
   🕌 ISLAMIC GREEN THEME - BOOTSTRAP OVERRIDES
   ============================================ */

/* Bootstrap Primary Color Override */
:root {
    --bs-primary: #1B7D3A;
    --bs-primary-rgb: 27, 125, 58;
    --bs-secondary: #4CAF50;
    --bs-secondary-rgb: 76, 175, 80;
    --bs-success: #2E7D32;
    --bs-success-rgb: 46, 125, 50;
}

/* Primary Button Override */
.btn-primary {
    background: linear-gradient(135deg, #1B7D3A 0%, #4CAF50 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(27, 125, 58, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #155A2B 0%, #388E3C 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 125, 58, 0.3);
}

.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, #155A2B 0%, #388E3C 100%) !important;
    box-shadow: 0 0 0 0.2rem rgba(27, 125, 58, 0.25) !important;
}

/* Secondary Button Override */
.btn-secondary {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%) !important;
    border: none !important;
    color: white !important;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #388E3C 0%, #4CAF50 100%) !important;
}

/* Outline Buttons */
.btn-outline-primary {
    border-color: #1B7D3A !important;
    color: #1B7D3A !important;
}

.btn-outline-primary:hover {
    background-color: #1B7D3A !important;
    border-color: #1B7D3A !important;
    color: white !important;
}

/* Text Colors */
.text-primary {
    color: #1B7D3A !important;
}

.text-secondary {
    color: #4CAF50 !important;
}

.text-muted {
    color: #1B7D3A !important;
    opacity: 0.8;
}

/* Background Colors */
.bg-primary {
    background: linear-gradient(135deg, #1B7D3A 0%, #4CAF50 100%) !important;
}

.bg-secondary {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%) !important;
}

/* Border Colors */
.border-primary {
    border-color: #1B7D3A !important;
}

.border-secondary {
    border-color: #4CAF50 !important;
}

/* Links */
a {
    color: #1B7D3A;
    text-decoration: none;
}

a:hover {
    color: #155A2B;
    text-decoration: underline;
}

/* Form Controls */
.form-control:focus {
    border-color: #1B7D3A !important;
    box-shadow: 0 0 0 0.2rem rgba(27, 125, 58, 0.25) !important;
}

.form-select:focus {
    border-color: #1B7D3A !important;
    box-shadow: 0 0 0 0.2rem rgba(27, 125, 58, 0.25) !important;
}

/* Badges */
.badge.bg-primary {
    background: linear-gradient(135deg, #1B7D3A 0%, #4CAF50 100%) !important;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%) !important;
}

/* Cards */
.card {
    border: 1px solid rgba(27, 125, 58, 0.1);
    box-shadow: 0 4px 15px rgba(27, 125, 58, 0.05);
}

.card-header {
    background: linear-gradient(135deg, rgba(27, 125, 58, 0.05) 0%, rgba(76, 175, 80, 0.05) 100%);
    border-bottom: 1px solid rgba(27, 125, 58, 0.1);
}

/* Alerts */
.alert-primary {
    background-color: rgba(27, 125, 58, 0.1) !important;
    border-color: rgba(27, 125, 58, 0.2) !important;
    color: #1B5E20 !important;
}

.alert-secondary {
    background-color: rgba(76, 175, 80, 0.1) !important;
    border-color: rgba(76, 175, 80, 0.2) !important;
    color: #2E7D32 !important;
}

/* Progress Bars */
.progress-bar {
    background: linear-gradient(135deg, #1B7D3A 0%, #4CAF50 100%) !important;
}

/* Pagination */
.page-link {
    color: #1B7D3A;
}

.page-link:hover {
    color: #155A2B;
    background-color: rgba(27, 125, 58, 0.1);
    border-color: #1B7D3A;
}

.page-item.active .page-link {
    background-color: #1B7D3A;
    border-color: #1B7D3A;
}

/* Dropdown */
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(27, 125, 58, 0.1);
    color: #1B5E20;
}

/* Nav Pills */
.nav-pills .nav-link.active {
    background-color: #1B7D3A !important;
}

.nav-pills .nav-link:hover {
    background-color: rgba(27, 125, 58, 0.1);
}

/* Tabs */
.nav-tabs .nav-link.active {
    color: #1B7D3A !important;
    border-bottom-color: #1B7D3A !important;
}

.nav-tabs .nav-link:hover {
    color: #155A2B;
    border-color: rgba(27, 125, 58, 0.2);
}

/* List Group */
.list-group-item.active {
    background-color: #1B7D3A !important;
    border-color: #1B7D3A !important;
}

.list-group-item:hover {
    background-color: rgba(27, 125, 58, 0.05);
}

/* Spinners */
.spinner-border {
    color: #1B7D3A;
}

.spinner-grow {
    color: #1B7D3A;
}

/* Toast */
.toast-header {
    background-color: rgba(27, 125, 58, 0.1);
    color: #1B5E20;
}

/* Modal */
.modal-header {
    border-bottom: 1px solid rgba(27, 125, 58, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(27, 125, 58, 0.1);
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(27, 125, 58, 0.1);
    color: #1B5E20;
}

.accordion-button:focus {
    border-color: #1B7D3A;
    box-shadow: 0 0 0 0.2rem rgba(27, 125, 58, 0.25);
}

/* Offcanvas */
.offcanvas-header {
    border-bottom: 1px solid rgba(27, 125, 58, 0.1);
}

/* Custom Islamic Green Classes */
.text-islamic-green {
    color: #1B7D3A !important;
}

.text-islamic-light {
    color: #4CAF50 !important;
}

.bg-islamic-green {
    background: linear-gradient(135deg, #1B7D3A 0%, #4CAF50 100%) !important;
}

.bg-islamic-light {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%) !important;
}

.border-islamic-green {
    border-color: #1B7D3A !important;
}

.btn-islamic {
    background: linear-gradient(135deg, #1B7D3A 0%, #4CAF50 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(27, 125, 58, 0.2);
}

.btn-islamic:hover {
    background: linear-gradient(135deg, #155A2B 0%, #388E3C 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 125, 58, 0.3);
    color: white;
}

.glass-islamic {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(27, 125, 58, 0.2);
    box-shadow: 0 8px 32px 0 rgba(27, 125, 58, 0.15);
}

.gradient-islamic {
    background: linear-gradient(135deg, #1B7D3A 0%, #4CAF50 50%, #66BB6A 100%);
}

.shadow-islamic {
    box-shadow: 0 8px 32px rgba(27, 125, 58, 0.15) !important;
}