/* Red & Green Theme Overrides */
body.theme-red-green {
    --primary: #7f1d1d;
    /* Deep Crimson / Burgundy */
    --primary-light: #991b1b;
    --primary-accent: #dc2626;
    /* Vibrant Red for accents */

    --secondary: #166534;
    /* Forest Green */
    --secondary-hover: #14532d;
    /* Darker Green for hover */

    --text-heading: #7f1d1d;
    --border: #fee2e2;
    --shadow-glow: 0 0 15px rgba(220, 38, 38, 0.3);
}

/* Scoped Bootstrap overrides */
body.theme-red-green .btn-primary {
    background: linear-gradient(135deg, #7f1d1d 0%, #dc2626 100%) !important;
    border: none !important;
}

body.theme-red-green .btn-secondary {
    background: linear-gradient(135deg, #166534 0%, #15803d 100%) !important;
    border: none !important;
}

body.theme-red-green .text-primary {
    color: #dc2626 !important;
}

body.theme-red-green .bg-primary {
    background-color: #7f1d1d !important;
}

body.theme-red-green .border-primary {
    border-color: #dc2626 !important;
}

body.theme-red-green .navbar-brand .text-primary {
    color: #7f1d1d !important;
}

body.theme-red-green .navbar-nav .nav-link:hover,
body.theme-red-green .navbar-nav .nav-link.active {
    color: #dc2626 !important;
}

body.theme-red-green .nav-link.active::before,
body.theme-red-green .nav-link:hover::before {
    background: #dc2626 !important;
}

body.theme-red-green .btn-outline-primary {
    border-color: #7f1d1d !important;
    color: #7f1d1d !important;
}

body.theme-red-green .btn-outline-primary:hover {
    background-color: #7f1d1d !important;
    color: #fff !important;
}

body.theme-red-green .badge.bg-danger {
    background-color: #dc2626 !important;
}

/* Theme Switcher Styles */
.theme-switcher-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.theme-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #fff;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.theme-btn:hover {
    transform: scale(1.1);
}

.theme-btn.active {
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.theme-btn-blue {
    background: linear-gradient(135deg, #0f172a 0%, #3b82f6 100%);
    color: #fff;
}

.theme-btn-red {
    background: linear-gradient(135deg, #7f1d1d 0%, #166534 100%);
    color: #fff;
}