
.theme-default {
    --primary-color: #8b5cf6;
    --primary-rgb: 139, 92, 246;
    --secondary-color: #a855f7;
    --accent-color: #c084fc;
    --text-primary: #f3f0ff;
    --text-secondary: #e0e7ff;
    --bg-primary: #f9fafb;
    --bg-secondary: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --shadow-color: rgba(139, 92, 246, 0.15);
}


.theme-ocean {
    --primary-color: #0369a1;
    --primary-rgb: 3, 105, 161;
    --secondary-color: #075985;
    --accent-color: #0284c7;
    --text-primary: #e0f2fe;
    --text-secondary: #bae6fd;
    --bg-primary: #f1f5f9;
    --bg-secondary: #ffffff;
    --border-color: #cbd5e1;
    --success-color: #047857;
    --warning-color: #b45309;
    --danger-color: #b91c1c;
    --shadow-color: rgba(3, 105, 161, 0.15);
}


.theme-nature {
    --primary-color: #047857;
    --primary-rgb: 4, 120, 87;
    --secondary-color: #065f46;
    --accent-color: #059669;
    --text-primary: #d1fae5;
    --text-secondary: #bbf7d0;
    --bg-primary: #ecfdf5;
    --bg-secondary: #ffffff;
    --border-color: #d1fae5;
    --success-color: #15803d;
    --warning-color: #b45309;
    --danger-color: #b91c1c;
    --shadow-color: rgba(4, 120, 87, 0.15);
}


.theme-sunset {
    --primary-color: #c2410c;
    --primary-rgb: 194, 65, 12;
    --secondary-color: #b91c1c;
    --accent-color: #ea580c;
    --text-primary: #fff7ed;
    --text-secondary: #fed7aa;
    --bg-primary: #ffedd5;
    --bg-secondary: #ffffff;
    --border-color: #fdba74;
    --success-color: #15803d;
    --warning-color: #b45309;
    --danger-color: #b91c1c;
    --shadow-color: rgba(194, 65, 12, 0.15);
}


.theme-royal {
    --primary-color: #6d28d9;
    --primary-rgb: 109, 40, 217;
    --secondary-color: #5b21b6;
    --accent-color: #7c3aed;
    --text-primary: #ede9fe;
    --text-secondary: #c4b5fd;
    --bg-primary: #f5f3ff;
    --bg-secondary: #ffffff;
    --border-color: #ddd6fe;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --shadow-color: rgba(109, 40, 217, 0.15);
}


.theme-minimal {
    --primary-color: #1f2937;
    --primary-rgb: 31, 41, 55;
    --secondary-color: #374151;
    --accent-color: #4b5563;
    --text-primary: #f3f4f6;
    --text-secondary: #e5e7eb;
    --bg-primary: #f3f4f6;
    --bg-secondary: #ffffff;
    --border-color: #d1d5db;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --shadow-color: rgba(31, 41, 55, 0.15);
}

.theme-dark {
    --primary-color: #212529;
    --primary-rgb: 33, 37, 41;
    --secondary-color: #343a40;
    --accent-color: #495057;
    --text-primary: #f8f9fa;
    --text-secondary: #ced4da;
    --bg-primary: #212529;
    --bg-secondary: #343a40;
    --border-color: #f8f9fa;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow-color: rgba(33, 37, 41, 0.15);
}

.theme-light {
    --primary-color: #f8f9fa;
    --primary-rgb: 248, 249, 250;
    --secondary-color: #e9ecef;
    --accent-color: #dee2e6;
    --text-primary: #212529;
    --text-secondary: #495057;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e9ecef;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow-color: rgba(33, 37, 41, 0.08);
}

.theme-styled .theme-light .btn-theme-primary {
    color: #212529;
    border: 2px solid #212529;
}


body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;

}

body.theme-styled {
    background-color: var(--bg-primary);
    color: var(--primary-color);
}


.theme-styled .navbar-theme {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 10px var(--shadow-color);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}


.theme-styled .btn-theme-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-styled .btn-theme-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.theme-styled .btn-theme-primary:hover::before {
    left: 100%;
}

.theme-styled .btn-theme-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.theme-styled .btn-theme-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    font-weight: 500;
    transition: all 0.3s ease;
}

.theme-styled .btn-theme-outline:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: transparent;
}


.theme-styled .card-theme {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-styled .card-theme::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-styled .card-theme:hover::before {
    opacity: 1;
}

.theme-styled .card-theme:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px var(--shadow-color);
    transform: translateY(-5px);
}


.theme-styled label {
    color: var(--primary-color) !important;
}

.theme-styled .hover-lift {
    transition: all 0.3s ease;
}

.theme-styled .hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-color);
}


.theme-styled .progress-theme {
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.theme-styled .progress-bar-theme {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.theme-styled .progress-bar-theme::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% {
        background-position: 1rem 0;
    }
    100% {
        background-position: 0 0;
    }
}


.theme-styled .badge-theme {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}


.theme-styled .border-theme {
    border-color: var(--primary-color) !important;
}

.theme-styled .text-theme {
    color: var(--primary-color) !important;
}

.theme-styled .text-theme-primary {
    color: var(--text-primary) !important;
}

.theme-styled .bg-theme {
    background-color: var(--primary-color) !important;
}

.theme-styled .bg-theme-light {
    background-color: rgba(var(--primary-rgb), 0.1) !important;
}

.theme-styled .bg-theme-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
}


.theme-styled .fade-in {
    animation: fadeIn 0.6s ease-in;
}

.theme-styled .slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

.theme-styled .bounce-in {
    animation: bounceIn 0.8s ease-out;
}

.theme-styled .pulse-theme {
    animation: pulseTheme 2s infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        }
    }

    @keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseTheme {
    0% {
        box-shadow: 0 0 0 0 var(--shadow-color);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}


@media (max-width: 768px) {
    .theme-styled .card-theme {
        margin-bottom: 1rem;
    }

    .theme-styled .btn-theme-primary,
    .theme-styled .btn-theme-outline {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .theme-styled .hover-lift:hover {
        transform: none;
    }
}


.theme-styled .spinner-theme {
    border: 3px solid rgba(var(--primary-rgb), 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.theme-styled .alert-theme {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-left: 4px solid var(--primary-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
}


.theme-styled .dropdown-menu-theme {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    padding: 0.5rem;
}

.theme-styled .dropdown-item:hover,
.theme-styled .dropdown-item:focus {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 0.5rem;
}
.theme-styled .theme-dark .card-theme,
.theme-styled .theme-light .card-theme {
    background-color: #f8f9fa;
    color: #212529 !important;
}

.theme-styled .theme-dark .card-theme:hover {
    border-color: var(--primary-color);
}

.theme-styled .theme-light .card-theme:hover {
    border-color: var(--text-primary);
}