/* Design System - Malatya Turgut Özal Üniversitesi Staj Otomasyonu */
:root {
    --primary: #262F59;
    --primary-rgb: 38, 47, 89;
    --secondary: #12A7CD;
    --secondary-rgb: 18, 167, 205;
    --accent-gold: #B99C71;
    --accent-orange: #EF7F1A;
    --neutral-grey: #727271;
    --bg-main: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: 16px;
    --glass-shadow: 0 10px 40px -10px rgba(38, 47, 89, 0.15);
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: #f1f5f9;
    color: #1f2937;
    min-height: 100vh;
}

/* Background Animated Blobs */
.bg-blobs {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    filter: blur(80px); opacity: 0.15;
}

.blob {
    position: absolute; border-radius: 50%;
    animation: move 20s infinite alternate;
}

.blob-1 { width: 400px; height: 400px; background: var(--secondary); top: -100px; right: -100px; }
.blob-2 { width: 300px; height: 300px; background: var(--accent-gold); bottom: -50px; left: -50px; }

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-100px, 100px) scale(1.2); }
}

/* Dynamic Waving Header */
.glass-nav {
    background: linear-gradient(-45deg, #1e2646, #262F59, #12A7CD, #262F59);
    background-size: 400% 400%;
    animation: flagWave 15s ease infinite;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.4rem 0;
}

@keyframes flagWave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.navbar-logo {
    height: 48px;
    width: auto;
    display: block;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.navbar-logo:hover {
    transform: scale(1.1);
}

/* Global Logo Glow Effect */
.logo-glow-wrapper {
    position: relative;
    padding: 3px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.logo-glow-wrapper::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: conic-gradient(from 0deg, transparent, #fb923c, #f59e0b, transparent 60%);
    border-radius: 50%;
    animation: rotateGlow 3s linear infinite;
    z-index: -1;
}

.logo-glow-wrapper::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: white;
    border-radius: 50%;
    z-index: -1;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Modern Nav Links */
.glass-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem !important;
    margin: 0 0.2rem;
    border-radius: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.glass-nav .nav-link i {
    font-size: 0.85rem;
    opacity: 0.7;
    transition: all 0.3s;
}

.glass-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    transform: translateY(-2px);
}

.glass-nav .nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.glass-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}

.glass-nav .nav-link:hover::after {
    width: 30%;
}

.btn-premium {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 1.2rem;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(18, 167, 205, 0.3);
    border: none;
    cursor: pointer;
}

.btn-premium:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(18, 167, 205, 0.4);
    filter: brightness(1.1);
}

.btn-premium i {
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.btn-premium:hover i {
    transform: translateX(4px);
}

.btn-header-login {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.6rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s;
}

.btn-header-login:hover {
    background: white;
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.btn-header-login:hover i {
    color: var(--primary) !important;
    transform: rotate(-10deg);
}

/* System elements */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-card {
    background: white;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.premium-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.1);
}

.card-cover {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover .card-cover img {
    transform: scale(1.15);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.8;
}

.card-icon-floating {
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 10;
    transition: all 0.4s;
    color: var(--primary);
}

.premium-card:hover .card-icon-floating {
    transform: translateY(-5px) rotate(10deg);
    background: var(--primary);
    color: white;
}

.card-body-content {
    padding-top: 40px !important;
}

.btn-link-modern {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 0.7rem 1.5rem;
    background: rgba(var(--primary-rgb, 38, 47, 89), 0.05);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.4s;
    width: fit-content;
    margin: 0 auto;
}

.premium-card:hover .btn-link-modern {
    background: var(--primary);
    color: white !important;
    padding: 0.7rem 2rem;
}

.premium-card:hover .btn-link-modern i {
    transform: translateX(5px);
}

/* Login Page Components */
.login-bg-container {
    position: relative;
    overflow: hidden;
}

.login-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.login-content-overlay {
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.modern-form-group .form-label {
    font-size: 0.9rem;
    color: var(--primary);
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper i {
    position: absolute;
    left: 1.25rem;
    color: var(--primary);
    opacity: 0.4;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.modern-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border-radius: 1.2rem;
    border: 2px solid #edf2f7;
    background: #f8fafc;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary);
}

.modern-input:focus {
    outline: none;
    border-color: var(--secondary);
    background: white;
    box-shadow: 0 0 0 4px rgba(18, 167, 205, 0.1);
}

.modern-input:focus + i, 
.input-icon-wrapper:focus-within i {
    opacity: 1;
    color: var(--secondary);
    transform: scale(1.1);
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-logo-animate {
    height: 120px;
    width: auto;
    animation: float 4s ease-in-out infinite;
    margin-bottom: 2rem;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.premium-footer {
    background: #e2e8f0;
    color: #475569;
    padding: 2rem 0 0;
    position: relative;
    z-index: 10;
}

.footer-wave-container {
    width: 100%;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.waves {
    position: relative;
    width: 100%;
    height: 10vh;
    margin-bottom: -7px; /* Fix for safari gap */
    min-height: 100px;
    max-height: 150px;
}

/* Animation */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

/* Shrink for mobile */
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }
}

.footer-title-sm.dark-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-title-sm.dark-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 20px;
    height: 2px;
    background: var(--secondary);
}

.footer-link.light {
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-link.light:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.social-icon-btn.next-facebook { color: #1877F2; background: rgba(24, 119, 242, 0.1); border-color: rgba(24, 119, 242, 0.2); }
.social-icon-btn.next-facebook:hover { background: #1877F2; color: white; }

.social-icon-btn.next-twitter { color: #1DA1F2; background: rgba(29, 161, 242, 0.1); border-color: rgba(29, 161, 242, 0.2); }
.social-icon-btn.next-twitter:hover { background: #1DA1F2; color: white; }

.social-icon-btn.next-instagram { color: #E4405F; background: rgba(228, 64, 95, 0.1); border-color: rgba(228, 64, 95, 0.2); }
.social-icon-btn.next-instagram:hover { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); color: white; }

.social-icon-btn.next-linkedin { color: #0A66C2; background: rgba(10, 102, 194, 0.1); border-color: rgba(10, 102, 194, 0.2); }
.social-icon-btn.next-linkedin:hover { background: #0A66C2; color: white; }

.footer-bottom {
    background: #cbd5e1;
}

.hover-primary:hover {
    color: var(--primary) !important;
}

/* Dashboard Layout Styles */
.dashboard-body {
    background-color: #f1f5f9;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

.sidebar {
    width: 280px;
    background: #0f172a; /* Deep Slate - Premium Dark */
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1050;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-right: 1px solid rgba(255,255,255,0.05);
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 2rem 1.5rem 1.5rem;
    flex-shrink: 0;
}

.sidebar-logo {
    max-height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
}

.sidebar-brand {
    color: #f8fafc !important;
    letter-spacing: 1.5px;
    font-size: 0.9rem !important;
    text-transform: uppercase;
}

.sidebar-user {
    background: rgba(255,255,255,0.03);
    margin: 0 1.25rem 1.5rem;
    padding: 1rem !important;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.user-avatar-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.user-name {
    color: #f8fafc !important;
    font-size: 0.85rem !important;
    font-weight: 600;
}

.user-role {
    color: #94a3b8 !important;
    font-size: 0.72rem;
}

/* Scrollable Menu Area */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 0.75rem !important;
    min-height: 0; /* Critical for flex overflow */
}

/* Custom Scrollbar for Sidebar */
.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}
.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}
.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

.sidebar-nav .nav-link {
    color: #94a3b8;
    padding: 0.75rem 1.25rem;
    margin: 0.15rem 0.5rem;
    border-radius: 0.75rem;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 500;
}

.sidebar-nav .nav-link i {
    font-size: 1.05rem;
    width: 32px;
    opacity: 0.5;
    transition: all 0.3s;
}

.sidebar-nav .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.sidebar-nav .nav-link:hover i {
    opacity: 1;
    transform: translateX(2px);
}

.sidebar-nav .nav-link.active {
    background: rgba(18, 167, 205, 0.15);
    color: var(--secondary);
    font-weight: 600;
}

.sidebar-nav .nav-link.active i {
    color: var(--secondary);
    opacity: 1;
}

.nav-label {
    letter-spacing: 1px;
    opacity: 0.4;
    padding-left: 1.75rem !important;
}

.sidebar-light .nav-label, .sidebar-light .text-white-50 {
    color: #64748b !important;
    opacity: 0.6;
}

.sidebar-footer {
    padding: 1.5rem;
    background: #0f1724;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.btn-logout {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 0.75rem;
    padding: 0.6rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Sidebar Light Theme - Premium & Colorful */
.sidebar.sidebar-light {
    background: #ffffff;
    border-right: 1px solid rgba(0,0,0,0.06);
    box-shadow: 10px 0 40px rgba(0,0,0,0.03);
}

.sidebar-light .sidebar-header {
    background: #ffffff;
    border-bottom: 1px solid #f8fafc;
}

.sidebar-light .sidebar-logo {
    filter: none; /* Original color logo */
    transform: scale(1.1);
}

.sidebar-light .sidebar-brand {
    color: var(--primary) !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
}

.sidebar-light .sidebar-user {
    background: #f8fafc;
    border: 2px solid #f1f5f9;
    margin: 1.5rem 1.25rem;
}

.sidebar-light .user-name {
    color: #1e293b !important;
    font-size: 0.9rem !important;
}

.sidebar-light .user-role {
    color: #64748b !important;
    font-weight: 500;
}

/* Nav Link Styling for Light Theme */
.sidebar-light .sidebar-nav .nav-link {
    color: #475569;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0.25rem 0.75rem;
    padding: 0.85rem 1.25rem;
}

.sidebar-light .sidebar-nav .nav-link:hover {
    background: #f1f5f9;
    color: var(--primary);
    transform: translateX(5px);
}

.sidebar-light .sidebar-nav .nav-link.active {
    background: rgba(38, 47, 89, 0.05);
    color: var(--primary);
    border-right: 4px solid var(--primary);
    border-radius: 0.75rem 0 0 0.75rem;
    margin-right: -0.75rem;
}

/* Colorful Icons for Admin */
.sidebar-light .nav-link i {
    opacity: 1 !important;
    font-size: 1.15rem;
    width: 35px;
    transition: transform 0.3s;
}

.sidebar-light .nav-link:hover i {
    transform: scale(1.2);
}

/* Specific Icon Colors */
.sidebar-light .nav-admin-home i { color: #3b82f6; } /* Blue */
.sidebar-light .nav-admin-users i { color: #6366f1; } /* Indigo */
.sidebar-light .nav-admin-requests i { color: #06b6d4; } /* Cyan */
.sidebar-light .nav-admin-workplaces i { color: #10b981; } /* Emerald */
.sidebar-light .nav-admin-insurance i { color: #f43f5e; } /* Rose */
.sidebar-light .nav-admin-units i { color: #f59e0b; } /* Amber */
.sidebar-light .nav-admin-depts i { color: #f97316; } /* Orange */
.sidebar-light .nav-admin-programs i { color: #8b5cf6; } /* Violet */
.sidebar-light .nav-admin-status i { color: #0ea5e9; } /* Sky */
.sidebar-light .nav-admin-stats i { color: #8b5cf6; } /* Purple */
.sidebar-light .nav-admin-settings i { color: #64748b; } /* Slate */

.sidebar-light .nav-admin-notifs i { color: #facc15; } /* Yellow */
.sidebar-light .nav-admin-msgs i { color: #ec4899; } /* Pink */
.sidebar-light .nav-admin-feedbacks i { color: #fb923c; } /* Light Orange */
.sidebar-light .nav-admin-proposals i { color: #2dd4bf; } /* Teal */
.sidebar-light .nav-admin-announcements i { color: #ef4444; } /* Red */

.sidebar-light .nav-label {
    color: #94a3b8;
    font-weight: 700;
    margin-top: 1.5rem;
    letter-spacing: 1.5px;
}

.sidebar-light .sidebar-footer {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.dashboard-main {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    min-height: 100vh;
}

/* Modern Form & Input Premium Styles */
.form-label-premium {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
    display: block;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s;
}

.modern-input-premium {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem !important;
    background: #f8fafc !important;
    border: 2px solid #f1f5f9 !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.modern-input-premium:focus {
    background: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 10px 20px rgba(38, 47, 89, 0.05) !important;
    outline: none !important;
}

.modern-input-premium:focus + i {
    color: var(--primary);
}

.modern-select-premium {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C2.185 5.355 2.398 5 2.721 5h10.558c.323 0 .536.355.27.658l-4.796 5.482a.5.5 0 0 1-.748 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.25rem center !important;
    background-size: 14px 10px !important;
}

.grad-bg {
    background: linear-gradient(135deg, #12A7CD 0%, #1e2646 100%) !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(18, 167, 205, 0.3) !important;
    transition: all 0.3s !important;
}

.grad-bg:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(18, 167, 205, 0.4) !important;
    filter: brightness(1.1);
}

/* Choices.js Premium Global Overrides */
.choices.premium-choices-global {
    margin-bottom: 0;
    border-radius: 15px;
}
.choices__inner {
    background-color: #fff !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 12px !important;
    padding: 8px 15px !important;
    min-height: 52px !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}
.choices.is-focused .choices__inner {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(18, 167, 205, 0.1) !important;
}
.choices__list--dropdown {
    box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
    margin-top: 10px !important;
    padding: 8px !important;
    z-index: 1050 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}
.choices__item--selectable {
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.2s !important;
    margin-bottom: 2px !important;
}
.choices__item--selectable.is-highlighted {
    background-color: var(--primary-soft) !important;
    color: var(--primary) !important;
}
.choices__placeholder {
    opacity: 0.7;
    font-weight: 500;
}
.choices__list--single {
    padding-left: 0 !important;
}
.choices[data-type*='select-one']::after {
    border-color: #94a3b8 transparent transparent transparent !important;
    right: 1.5rem !important;
}
.choices[data-type*='select-one'].is-open::after {
    border-color: transparent transparent #94a3b8 transparent !important;
}

/* Premium Statistics Cards */
.stat-card-premium {
    position: relative;
    padding: 1.75rem;
    border-radius: 24px;
    overflow: hidden;
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.bg-gradient-primary { background: linear-gradient(135deg, #262F59 0%, #4338ca 100%); }
.bg-gradient-info { background: linear-gradient(135deg, #12A7CD 0%, #0369a1 100%); }
.bg-gradient-warning { background: linear-gradient(135deg, #EF7F1A 0%, #c2410c 100%); }
.bg-gradient-dark { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.bg-gradient-success { background: linear-gradient(135deg, #15803d 0%, #22c55e 100%); }
.bg-gradient-danger { background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%); }
.bg-gradient-purple { background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%); }
.bg-gradient-indigo { background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%); }
.bg-gradient-rose { background: linear-gradient(135deg, #e11d48 0%, #fb7185 100%); }
.bg-gradient-teal { background: linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%); }

.stat-card-body { position: relative; z-index: 2; display: flex; align-items: center; gap: 1.5rem; }
.stat-icon {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.stat-value { font-size: 2rem; font-weight: 800; margin-bottom: 0; line-height: 1; letter-spacing: -1px; }
.stat-label { font-size: 0.85rem; font-weight: 600; opacity: 0.8; margin-bottom: 0; text-transform: uppercase; letter-spacing: 0.5px; }

.stat-card-progress {
    position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
    background: rgba(255, 255, 255, 0.1);
}
.stat-card-progress .progress-bar { height: 100%; background: rgba(255, 255, 255, 0.5); }

/* Role Filter Pills */
.role-filter-pills {
    display: flex; gap: 0.5rem; background: #f1f5f9; padding: 0.5rem; border-radius: 50px;
}
.filter-pill {
    padding: 0.6rem 1.25rem; border-radius: 50px; cursor: pointer; color: #64748b; font-weight: 700; font-size: 0.85rem;
    transition: all 0.3s; margin: 0;
}
.btn-check:checked + .filter-pill {
    background: white; color: var(--primary); box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.btn-action-group {
    display: flex; gap: 0.4rem; justify-content: flex-end;
}
.btn-action-group .btn {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; padding: 0; transition: all 0.2s;
}
.btn-action-group .btn:hover { transform: scale(1.1); }

/* Premium Welcome Message & Name Glow */
.premium-welcome {
    font-family: 'Outfit', sans-serif;
    color: #64748b;
}

.user-welcome-text {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.9;
}

.name-glow {
    position: relative;
    color: #1e293b;
    font-weight: 700;
    padding: 5px 14px;
    background: #fff;
    border-radius: 50px;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.05);
}

.name-glow::after {
    content: "";
    position: absolute;
    top: -1.5px;
    left: -1.5px;
    right: -1.5px;
    bottom: -1.5px;
    z-index: -1;
    background: linear-gradient(
        45deg,
        #262F59,
        #12A7CD,
        #4338ca,
        #262F59
    );
    background-size: 400% 400%;
    border-radius: inherit;
    animation: glow-move 6s linear infinite;
    opacity: 0.5;
}

@keyframes glow-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.badge.bg-success-soft { background: rgba(21, 128, 61, 0.1) !important; color: #15803d !important; }
.badge.bg-danger-soft { background: rgba(185, 28, 28, 0.1) !important; color: #b91c1c !important; }
.badge.bg-info-soft { background: rgba(3, 105, 161, 0.1) !important; color: #0369a1 !important; }
.badge.bg-warning-soft { background: rgba(161, 98, 7, 0.1) !important; color: #a16207 !important; }
.badge.bg-primary-soft { background: rgba(38, 47, 89, 0.1) !important; color: #262F59 !important; }
.badge.bg-secondary-soft { background: rgba(18, 167, 205, 0.1) !important; color: #12A7CD !important; }

.btn-success-soft { background: rgba(21, 128, 61, 0.1); color: #15803d; border: none; }
.btn-success-soft:hover { background: #15803d; color: white; }
.btn-danger-soft { background: rgba(185, 28, 28, 0.1); color: #b91c1c; border: none; }
.btn-danger-soft:hover { background: #b91c1c; color: white; }
.btn-primary-soft { background: rgba(38, 47, 89, 0.1); color: #262F59; border: none; }
.btn-primary-soft:hover { background: #262F59; color: white; }
.btn-warning-soft { background: rgba(161, 98, 7, 0.1); color: #a16207; border: none; }
.btn-warning-soft:hover { background: #a16207; color: white; }
.btn-info-soft { background: rgba(3, 105, 161, 0.1); color: #0369a1; border: none; }
.btn-info-soft:hover { background: #0369a1; color: white; }

.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    line-height: 1;
}

.x-small {
    font-size: 0.75rem;
}

.dashboard-topbar {
    position: sticky;
    top: 0;
    z-index: 900;
}

@media (max-width: 992px) {
    .sidebar {
        margin-left: -280px;
    }
    .dashboard-main {
        margin-left: 0;
    }
    .sidebar.active {
        margin-left: 0;
    }
}

.btn-premium-soft {
    background: rgba(18, 167, 205, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(18, 167, 205, 0.2);
}
.btn-premium-soft:hover {
    background: var(--secondary);
    color: white;
}

.grad-bg {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.transition-all {
    transition: all 0.3s ease;
}

.z-index-1 { z-index: 1; }
.opacity-10 { opacity: 0.1; }
.avatar-lg { width: 80px; height: 80px; }

/* Custom Scrollbar for premium look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Premium Modal & Form Components */
.bg-light-alt { background-color: #f8fafc; }
.rounded-24 { border-radius: 24px; }
.shadow-24 { box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.modal-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-label-premium {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 10px;
    display: block;
}

.premium-input {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(38, 47, 89, 0.1);
    outline: none;
    background: #fff;
}

.btn-brand {
    background: linear-gradient(135deg, #1e2646 0%, #262f59 100%);
    color: white;
    border: none;
    transition: all 0.3s;
}

.btn-brand:hover {
    color: white;
    filter: brightness(1.2);
    transform: translateY(-2px);
}

.shadow-brand {
    box-shadow: 0 10px 20px rgba(30, 38, 70, 0.2);
}

.btn-outline-light-alt {
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    transition: all 0.3s;
}

.btn-outline-light-alt:hover {
    background: #f1f5f9;
    color: #1e293b;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.05);
    background: white;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}
.theme-toggle-btn:hover {
    background: #f1f5f9;
    transform: rotate(15deg);
}

/* DARK THEME SYSTEM /* DARK THEME SYSTEM - FORCED COVERAGE */
body.dark-theme {
    background-color: #0b0f1a !important;
    color: #f1f5f9 !important;
}

body.dark-theme .dashboard-sidebar {
    background: #0f172a !important;
    border-right: 1px solid rgba(255,255,255,0.05) !important;
}

body.dark-theme .dashboard-sidebar.sidebar-light {
    background: #0f172a !important;
}

body.dark-theme .sidebar-brand {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    background: transparent !important;
}

body.dark-theme .sidebar-brand-name,
body.dark-theme .sidebar-brand-text {
    color: #fff !important;
}

body.dark-theme .side-user-panel {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
}

body.dark-theme .side-user-name {
    color: #fff !important;
}

body.dark-theme .sidebar-link {
    color: #94a3b8 !important;
}

body.dark-theme .sidebar-link:hover,
body.dark-theme .sidebar-link.active {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
}

body.dark-theme .nav-label {
    color: #475569 !important;
    opacity: 1;
}

body.dark-theme .dashboard-topbar {
    background: #0f172a !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    box-shadow: none !important;
}

body.dark-theme .dashboard-topbar h4,
body.dark-theme .topbar-left h4 {
    color: #fff !important;
}

body.dark-theme .dashboard-main {
    background-color: #0b0f1a !important;
}

body.dark-theme .glass-panel,
body.dark-theme .card,
body.dark-theme .modal-content {
    background: #1e293b !important;
    border-color: rgba(255,255,255,0.05) !important;
    color: #f1f5f9 !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3) !important;
}

body.dark-theme .table {
    color: #f1f5f9 !important;
}

body.dark-theme .table thead tr {
    background: rgba(0,0,0,0.2) !important;
    color: #94a3b8 !important;
}

body.dark-theme .table tr {
    border-bottom: 1px solid rgba(255,255,255,0.03) !important;
}

body.dark-theme .text-muted,
body.dark-theme .small.text-muted {
    color: #64748b !important;
}

body.dark-theme .header-clock-pill, 
body.dark-theme .theme-toggle-btn {
    background: #1e293b !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
}

body.dark-theme .clock-date, 
body.dark-theme .clock-time {
    color: #cbd5e1 !important;
}

body.dark-theme .clock-divider {
    background: rgba(255,255,255,0.1) !important;
}

body.dark-theme .user-welcome-text {
    color: #94a3b8 !important;
}

body.dark-theme .name-glow {
    background: #1e2646 !important;
    color: #fff !important;
}

body.dark-theme .sidebar-footer {
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    background: transparent !important;
}

body.dark-theme .btn-logout {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
}

body.dark-theme .btn-logout:hover {
    background: #ef4444 !important;
    color: #fff !important;
}

/* Fix for charts labels */
body.dark-theme .chart-label {
    color: #94a3b8 !important;
}