:root {
    --primary-glow: rgba(61, 90, 254, 0.5);
    --accent-color: #00e5ff;
}

[data-bs-theme="dark"] {
    --bs-body-bg: #0b0f19;
    --bs-body-color: #e2e8f0;
    --bs-tertiary-bg: #111827;
    --bs-primary: #3d5afe;
    --bs-primary-rgb: 61, 90, 254;
    --primary-glow: rgba(61, 90, 254, 0.4);
}

[data-bs-theme="light"] {
    --bs-body-bg: #f8fafc;
    --bs-primary: #3d5afe;
}

body {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

/* Custom Gradients */
.text-gradient {
    background: linear-gradient(135deg, #3d5afe, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #3d5afe, #00e5ff) !important;
}

.card {
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-bs-theme="dark"] .card {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: -1;
}

[data-bs-theme="dark"] .hero-bg {
    background-image: 
        radial-gradient(circle at top right, rgba(61, 90, 254, 0.15), transparent),
        radial-gradient(circle at bottom left, rgba(0, 229, 255, 0.1), transparent),
        linear-gradient(rgba(11, 15, 25, 0.6), rgba(11, 15, 25, 0.6)),
        url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0b0f19;
    filter: blur(2px);
    transform: scale(1.03);
}

[data-bs-theme="light"] .hero-bg {
    background-image: 
        radial-gradient(circle at top right, rgba(61, 90, 254, 0.1), transparent),
        radial-gradient(circle at bottom left, rgba(0, 229, 255, 0.05), transparent),
        linear-gradient(rgba(248, 250, 252, 0.85), rgba(248, 250, 252, 0.85)),
        url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8fafc;
}

/* Brand Logo Icon */
.brand-logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #3d5afe, #00e5ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 8px 16px rgba(61, 90, 254, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo-icon.sm {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(61, 90, 254, 0.2);
}

.navbar-brand:hover .brand-logo-icon {
    transform: rotate(-12deg) scale(1.1);
    box-shadow: 0 12px 20px rgba(61, 90, 254, 0.4);
}

/* Animations */
.animate-up {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Table Styling */
.table thead th {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table-hover tbody tr:hover {
    background: rgba(255, 255, 255, 0.02) !important;
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5em 1em;
    letter-spacing: 0.02em;
}

.badge-soft-success { background: rgba(34, 197, 94, 0.1); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.2); }
.badge-soft-warning { background: rgba(234, 179, 8, 0.1); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.2); }
.badge-soft-danger { background: rgba(239, 68, 68, 0.1); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }

/* Inputs */
.form-control, .form-select {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    transition: all 0.2s;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: #3d5afe;
    box-shadow: 0 0 0 4px rgba(61, 90, 254, 0.15);
    color: white;
}

/* Admin Specific */
.admin-sidebar {
    background: #0f172a !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

