/* ===== JOBZ — Premium Light Theme with Sparkle Effects ===== */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* --- Background Colors --- */
    --bg-primary: #f0f4fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-hero: linear-gradient(135deg, #e8f0fe 0%, #d4e4fc 40%, #c3d9fa 100%);
    --border-color: rgba(0, 0, 0, 0.08);

    /* --- Text Colors --- */
    --text-primary: #1a2332;
    --text-secondary: #5a6a7e;
    --text-muted: #8899a8;

    /* --- Brand Blue Palette --- */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a5f;

    /* --- Accent Colors --- */
    --accent-primary: #3b82f6;
    --accent-dark: #2563eb;
    --accent-light: #60a5fa;
    --accent-green: #10b981;
    --accent-amber: #f59e0b;
    --accent-red: #ef4444;
    --accent-rose: #f472b6;
    --accent-violet: #8b5cf6;
    --accent-cyan: #06b6d4;

    /* --- Premium Gradients --- */
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    --accent-gradient-soft: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --hero-gradient: linear-gradient(160deg, #e8f0fe 0%, #dbeafe 30%, #bfdbfe 60%, #93c5fd 100%);
    --accent-glow: 0 4px 14px rgba(59, 130, 246, 0.3);
    --sparkle-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #3b82f6 60%, #06b6d4 100%);
    --aurora-gradient: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 40%, #d4e4fc 70%, #a8edea 100%);

    /* --- Surface & Shadow --- */
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 8px 30px rgba(59, 130, 246, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06);
    --nav-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 2px 12px rgba(0, 0, 0, 0.03);


@keyframes sparkle-pop {
    0% { opacity: 0; transform: scale(0) rotate(-45deg); }
    50% { opacity: 1; transform: scale(1.3) rotate(10deg); }
    100% { opacity: 0; transform: scale(0.8) rotate(45deg); }
}

@keyframes float-up {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 4px 28px rgba(59, 130, 246, 0.6), 0 0 0 4px rgba(59, 130, 246, 0.1); }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 0.6; }
    100% { transform: scale(4); opacity: 0; }
}

@keyframes star-twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.5); }
}

@keyframes border-dance {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes aurora-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes card-entrance {
    from { 
        opacity: 0; 
        transform: translateY(20px) scale(0.97); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* ====================================================
   NAVIGATION BAR — Premium Glass
   ==================================================== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 20px rgba(59,130,246,0.06);
    padding: 0.65rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: var(--transition);
}

.navbar-custom::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), rgba(139,92,246,0.4), rgba(6,182,212,0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
}

.navbar-custom .navbar-brand {
    font-family: 'Lexend', sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--blue-700) !important;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.navbar-custom .navbar-brand::after {
    content: '✦';
    position: absolute;
    right: -18px;
    top: -4px;
    font-size: 0.6rem;
    -webkit-text-fill-color: var(--accent-amber);
    animation: star-twinkle 2s ease-in-out infinite;
}

.navbar-custom .nav-link {
    font-family: 'Lexend', sans-serif;
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--sparkle-gradient);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-item.active .nav-link::after {
    width: 55%;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-item.active .nav-link {
    color: var(--accent-primary) !important;
    background-color: rgba(59, 130, 246, 0.06);
}

.navbar-toggler {
    border-color: var(--border-color) !important;
}

.navbar-toggler-icon {
    filter: invert(0) !important;
}

/* ====================================================
   HERO SECTION — Aurora Light Effect
   ==================================================== */
.hero-section {
    background: var(--aurora-gradient);
    background-size: 300% 300%;
    animation: aurora-shift 8s ease infinite;
    border-radius: var(--radius-xl);
    padding: 3rem 3.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-up 6s ease-in-out infinite alternate;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Sparkle stars in hero */
.hero-section .sparkle-star {
    position: absolute;
    pointer-events: none;
}
.hero-section .sparkle-star:nth-child(1) { top: 15%; left: 5%; font-size: 1rem; color: var(--accent-amber); animation: star-twinkle 2.1s ease-in-out infinite; }
.hero-section .sparkle-star:nth-child(2) { top: 70%; left: 8%; font-size: 0.7rem; color: var(--accent-violet); animation: star-twinkle 1.7s ease-in-out infinite 0.5s; }
.hero-section .sparkle-star:nth-child(3) { top: 30%; right: 35%; font-size: 0.85rem; color: var(--accent-cyan); animation: star-twinkle 2.5s ease-in-out infinite 1s; }

.hero-title {
    font-family: 'Lexend', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--blue-900);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero-title .highlight {
    background: var(--sparkle-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-character {
    position: absolute;
    right: 2rem;
    bottom: 0;
    height: 120%;
    max-height: 500px;
    object-fit: contain;
    z-index: 1;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
    animation: hero-float 4s ease-in-out infinite;
    pointer-events: none;
    clip-path: inset(0 0 0 37%);
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.hero-feature-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
    color: var(--accent-primary);
    font-size: 1.2rem;
    transition: var(--transition-bounce);
}

.hero-feature-icon:hover {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: var(--glow-blue);
}

.hero-feature-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.hero-slogan {
    font-family: 'Lexend', sans-serif;
    font-style: italic;
    font-weight: 600;
    color: var(--blue-700);
    font-size: 1.25rem;
    margin-top: 1rem;
    position: relative;
    z-index: 3;
}

/* ====================================================
   SEARCH BAR — Glowing
   ==================================================== */
.hero-floating-elements {
    position: absolute;
    top: 2rem;
    right: -1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 10;
}

.search-bar-hero {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 0.4rem 0.5rem;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 320px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    position: relative;
    z-index: 15;
}

.search-bar-hero:hover,
.search-bar-hero:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.25), 0 0 0 3px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.search-bar-hero input {
    font-family: 'Lexend', sans-serif;
    border: none;
    outline: none;
    flex: 1;
    padding: 0.5rem 0.5rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: transparent;
    width: 150px;
}

.search-bar-hero input::placeholder {
    color: var(--text-muted);
}

.floating-icons-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    margin-right: 1.5rem;
}

.floating-icon-item {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-bounce);
    cursor: pointer;
    animation: float-icon 5s ease-in-out infinite;
}

.floating-icon-item:nth-child(2) { animation-delay: 1s; color: var(--accent-green); }
.floating-icon-item:nth-child(3) { animation-delay: 2s; color: var(--accent-amber); }
.floating-icon-item:nth-child(4) { animation-delay: 3s; color: var(--accent-rose); }

.floating-icon-item:hover {
    transform: scale(1.2) translateY(-8px) rotate(-5deg);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.25);
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ====================================================
   BUTTONS — Sparkle & Shimmer Effects
   ==================================================== */

/* Siêu nút bấm lấp lánh (Gradient + Shimmer + Border Magic) */
.btn-gradient {
    font-family: 'Lexend', sans-serif;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #2563eb 100%);
    background-size: 200% auto;
    color: white !important;
    font-weight: 600;
    border: none;
    padding: 0.65rem 1.6rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.2);
    transition: var(--transition-bounce);
    font-size: 0.92rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Layer quét ánh sáng (Shimmer Line) */
.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
    z-index: 1;
}

/* Viền chuyển sắc phát sáng liên tục (Border Light Glow) */
.btn-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(90deg, #3b82f6, #f59e0b, #10b981, #f472b6, #3b82f6);
    background-size: 300% 300%;
    -webkit-mask: 
       linear-gradient(#fff 0 0) content-box, 
       linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    animation: border-dance 4s linear infinite;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.btn-gradient:hover {
    background-position: right center;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.5), 0 0 20px rgba(59, 130, 246, 0.3);
    color: white !important;
}

.btn-gradient:hover::before {
    animation: shimmer-sweep 0.8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.btn-gradient:hover::after {
    opacity: 1;
    animation: border-dance 1.5s linear infinite;
}

.btn-gradient:active {
    transform: translateY(-1px) scale(0.98);
}

/* Ripple effect on click */
.btn-gradient .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* Outline button with shimmer */
.btn-outline-custom {
    font-family: 'Lexend', sans-serif;
    background: transparent;
    color: var(--accent-primary);
    border: 1.5px solid var(--blue-200);
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.92rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-outline-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.06) 0%, rgba(139,92,246,0.06) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
}

.btn-outline-custom:hover {
    background: transparent;
    border-color: var(--accent-primary);
    color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.2);
}

.btn-outline-custom:hover::before {
    opacity: 1;
}

.btn-outline-custom:active {
    transform: translateY(0px);
}

/* Small sparkle button variant */
.btn-sparkle {
    font-family: 'Lexend', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #3b82f6 100%);
    background-size: 200% auto;
    color: white !important;
    font-weight: 600;
    border: none;
    padding: 0.6rem 1.6rem;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.btn-sparkle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(20deg);
    transition: none;
}

.btn-sparkle:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

.btn-sparkle:hover::before {
    animation: shimmer-sweep 0.6s ease;
}

/* Green success sparkle */
.btn-success-sparkle {
    font-family: 'Lexend', sans-serif;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    background-size: 200% auto;
    color: white !important;
    font-weight: 600;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-success-sparkle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.5);
    color: white !important;
}

.btn-success-sparkle::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
}

.btn-success-sparkle:hover::before {
    animation: shimmer-sweep 0.6s ease;
}

/* ====================================================
   CARDS — Premium with Entrance Animation
   ==================================================== */
.card-custom {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    animation: card-entrance 0.5s ease forwards;
}

.card-custom::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--radius-md) + 1px);
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.1), rgba(6,182,212,0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

.card-custom:hover {
    transform: translateY(-6px) scale(1.005);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: var(--card-shadow-hover), 0 0 0 1px rgba(59,130,246,0.08);
}

.card-custom:hover::before {
    opacity: 1;
}

/* ====================================================
   STAT WIDGETS — Animated Counter Cards
   ==================================================== */
.stat-widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    transition: var(--transition-bounce);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.stat-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sparkle-gradient);
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.stat-widget:hover::before {
    transform: scaleX(1);
}

.stat-widget:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px) scale(1.01);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--accent-primary);
    transition: var(--transition-bounce);
}

.stat-widget:hover .stat-icon {
    transform: scale(1.2) rotate(-10deg);
}

/* ====================================================
   GRADIENT TEXT
   ==================================================== */
.gradient-text {
    background: var(--sparkle-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    animation: shimmer 4s linear infinite;
}

/* ====================================================
   DASHBOARD SIDEBAR
   ==================================================== */
.sidebar-custom {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem;
    min-height: calc(100vh - 72px);
}

/* ====================================================
   INPUT FIELDS — Glowing Focus
   ==================================================== */
.form-control-custom {
    font-family: 'Lexend', sans-serif !important;
    background: var(--bg-secondary) !important;
    border: 1.5px solid #e2e8f0 !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.7rem 1rem !important;
    transition: var(--transition) !important;
    font-size: 0.92rem !important;
}

.form-control-custom:focus {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12), 0 2px 8px rgba(59,130,246,0.1) !important;
    outline: none !important;
}

.form-select-custom {
    font-family: 'Lexend', sans-serif !important;
    background: var(--bg-secondary) !important;
    border: 1.5px solid #e2e8f0 !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.7rem 1rem !important;
    transition: var(--transition) !important;
    font-size: 0.92rem !important;
}

.form-select-custom:focus {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
}

.input-group-text {
    font-family: 'Lexend', sans-serif;
    background: var(--bg-secondary) !important;
    border: 1.5px solid #e2e8f0 !important;
    color: var(--text-secondary) !important;
}

/* ====================================================
   BADGES — Enhanced
   ==================================================== */
.badge-custom {
    font-family: 'Lexend', sans-serif;
    padding: 0.35em 0.8em;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-pending {
    background-color: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-accepted {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.badge-rejected {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.badge-completed {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.badge-active {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.badge-category {
    background: var(--sparkle-gradient);
    background-size: 200% auto;
    color: white !important;
    border: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    animation: shimmer 3s linear infinite;
}

/* ====================================================
   MAIN CONTAINER & PAGE
   ==================================================== */
main {
    flex: 1;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

footer {
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    margin-top: auto;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-family: 'Lexend', sans-serif;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), rgba(139,92,246,0.3), rgba(6,182,212,0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 5s linear infinite;
}

/* ====================================================
   PROFILE HEADER COMPONENT
   ==================================================== */
.profile-header {
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.profile-avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--sparkle-gradient) border-box;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
    transition: var(--transition-bounce);
}

.profile-avatar-container:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-blue);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====================================================
   MODAL STYLING
   ==================================================== */
.modal-content-custom {
    font-family: 'Lexend', sans-serif;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
}

.modal-header-custom {
    border-bottom: 1px solid var(--border-color) !important;
}

.modal-footer-custom {
    border-top: 1px solid var(--border-color) !important;
}

/* ====================================================
   NOTIFICATION POPOVER
   ==================================================== */
.notification-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 9px;
    height: 9px;
    background: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(239, 68, 68, 0.5); }
    50% { opacity: 0.6; box-shadow: 0 0 16px rgba(239, 68, 68, 0.8); }
}

/* ====================================================
   TABLE STYLING
   ==================================================== */
.table-custom {
    font-family: 'Lexend', sans-serif;
    color: var(--text-primary) !important;
}

.table-custom th {
    background-color: var(--blue-50) !important;
    color: var(--text-secondary) !important;
    font-weight: 600;
    border-bottom: 2px solid var(--blue-200) !important;
    font-size: 0.88rem;
}

.table-custom td {
    background-color: transparent !important;
    border-bottom: 1px solid var(--border-color) !important;
    vertical-align: middle;
    font-size: 0.92rem;
}

.table-custom tbody tr {
    transition: var(--transition-fast);
}

.table-custom tbody tr:hover {
    background-color: rgba(59, 130, 246, 0.03) !important;
}

/* ====================================================
   LINKS
   ==================================================== */
a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-dark);
}

a.hover-cyan:hover {
    color: var(--accent-primary) !important;
}

a.text-light {
    color: var(--text-primary) !important;
}

a.text-light:hover {
    color: var(--accent-primary) !important;
}

/* ====================================================
   DROPDOWN MENU
   ==================================================== */
.dropdown-item {
    font-family: 'Lexend', sans-serif;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.05)) !important;
    color: var(--accent-primary) !important;
}

.dropdown-item.text-light {
    color: var(--text-primary) !important;
}

.dropdown-item.text-danger {
    color: var(--accent-red) !important;
}

/* ====================================================
   FORM ELEMENTS
   ==================================================== */
input, select, textarea, button, .form-control, .form-select {
    font-family: 'Lexend', sans-serif;
}

.form-label {
    font-family: 'Lexend', sans-serif;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.88rem;
}

.form-check-label {
    font-family: 'Lexend', sans-serif;
    font-size: 0.9rem;
}

.form-check-input:checked {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
}

/* ====================================================
   SCROLLBAR
   ==================================================== */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--blue-300), var(--blue-400));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-400);
}

/* ====================================================
   SELECTION
   ==================================================== */
::selection {
    background: rgba(59, 130, 246, 0.2);
    color: var(--text-primary);
}

/* ====================================================
   HEADINGS
   ==================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lexend', sans-serif;
    color: var(--text-primary);
}

/* ====================================================
   UTILITY CLASSES
   ==================================================== */
.text-purple {
    color: var(--accent-primary) !important;
}

.text-cyan {
    color: var(--accent-primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.card-title a.text-light,
.text-light {
    color: var(--text-primary) !important;
}

/* ====================================================
   JOB CARD ENHANCEMENTS
   ==================================================== */
.card-custom .card-title a {
    color: var(--text-primary) !important;
    font-weight: 700;
    transition: var(--transition);
}

.card-custom .card-title a:hover {
    color: var(--accent-primary) !important;
}

/* ====================================================
   SPARKLE PARTICLES — decorative elements
   ==================================================== */
.sparkle-container {
    position: relative;
    display: inline-block;
}

.sparkle-container::before,
.sparkle-container::after {
    content: '✦';
    position: absolute;
    font-size: 0.7rem;
    color: var(--accent-amber);
    animation: sparkle-pop 2s ease-in-out infinite;
    pointer-events: none;
}

.sparkle-container::before {
    top: -8px;
    right: -10px;
    animation-delay: 0s;
}

.sparkle-container::after {
    bottom: -5px;
    left: -8px;
    animation-delay: 1s;
    font-size: 0.5rem;
    color: var(--accent-violet);
}

/* ====================================================
   SECTION HEADERS — with sparkle accent
   ==================================================== */
.section-header {
    position: relative;
    display: inline-block;
    font-weight: 800;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sparkle-gradient);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: shimmer 3s linear infinite;
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 991px) {
    .hero-section {
        padding: 2rem 1.5rem;
        text-align: center;
        min-height: auto;
    }

    .hero-character {
        position: relative;
        right: auto;
        bottom: auto;
        height: auto;
        max-height: 220px;
        margin: 1.5rem auto 0;
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-features {
        justify-content: center;
    }

    .search-bar-hero {
        max-width: 100%;
        margin: 0 auto 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .hero-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ====================================================
   OVERRIDE BOOTSTRAP DARK CLASSES
   ==================================================== */
.bg-dark {
    background-color: var(--blue-50) !important;
}

.bg-opacity-40 {
    --bs-bg-opacity: 1 !important;
}

.border-secondary {
    border-color: var(--border-color) !important;
}

.text-info {
    color: var(--accent-primary) !important;
}

.text-success {
    color: var(--accent-green) !important;
}

.text-danger {
    color: var(--accent-red) !important;
}

/* ====================================================
   FILTER SIDEBAR
   ==================================================== */
.form-check-input {
    border-color: var(--blue-200);
}

.form-check-label.text-secondary {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
}

/* ====================================================
   GLOBAL RIPPLE JS HOOK
   ==================================================== */
.btn-gradient,
.btn-outline-custom,
.btn-sparkle,
.btn-success-sparkle {
    cursor: pointer;
    user-select: none;
}
    color: var(--text-primary) !important;
}

/* ====================================================
   JOB CARD ENHANCEMENTS
   ==================================================== */
.card-custom .card-title a {
    color: var(--text-primary) !important;
    font-weight: 700;
}

.card-custom .card-title a:hover {
    color: var(--accent-primary) !important;
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 991px) {
    .hero-section {
        padding: 2rem 1.5rem;
        text-align: center;
        min-height: auto;
    }

    .hero-character {
        position: relative;
        right: auto;
        bottom: auto;
        height: auto;
        max-height: 220px;
        margin: 1.5rem auto 0;
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-features {
        justify-content: center;
    }

    .search-bar-hero {
        max-width: 100%;
        margin: 0 auto 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .hero-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ====================================================
   OVERRIDE BOOTSTRAP DARK CLASSES FOR LIGHT THEME
   ==================================================== */
.bg-dark {
    background-color: var(--blue-50) !important;
}

.bg-opacity-40 {
    --bs-bg-opacity: 1 !important;
}

.border-secondary {
    border-color: var(--border-color) !important;
}

.text-info {
    color: var(--accent-primary) !important;
}

.text-success {
    color: var(--accent-green) !important;
}

.text-danger {
    color: var(--accent-red) !important;
}

/* ====================================================
   FILTER SIDEBAR ENHANCEMENTS
   ==================================================== */
.form-check-input {
    border-color: var(--blue-200);
}

.form-check-label.text-secondary {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
}

/* ====================================================
   CHART CUSTOM STYLES - SPARKLING & ANIMATED
   ==================================================== */
.chart-container-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg, 16px);
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.chart-container-glass.dark-mode {
    background: rgba(20, 20, 30, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(59, 130, 246, 0.1);
}

.chart-container-glass::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; right: 0; height: 3px; width: 200%;
    background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, #10b981, #f472b6, transparent);
    background-size: 50% 100%;
    animation: shimmer-sweep 3s linear infinite;
}

/* ✦ Sparkling star decoration */
.chart-container-glass::after {
    content: '✦';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.2rem;
    color: var(--accent-amber);
    animation: star-twinkle 1.5s ease-in-out infinite, float-up 3s ease-in-out infinite alternate;
    pointer-events: none;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}

.chart-container-glass:hover {
    box-shadow: 0 15px 45px rgba(59, 130, 246, 0.25), inset 0 0 30px rgba(255, 255, 255, 0.9);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-5px) scale(1.02);
}
.chart-container-glass.dark-mode:hover {
    box-shadow: 0 15px 45px rgba(59, 130, 246, 0.3), inset 0 0 30px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.6);
}

.chart-title-glow {
    font-weight: 800;
    color: transparent;
    background: linear-gradient(135deg, #2563eb, #8b5cf6, #ec4899);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: shimmer 3s linear infinite;
    text-shadow: 0px 4px 15px rgba(59, 130, 246, 0.2);
}
.dark-mode .chart-title-glow {
    background: linear-gradient(135deg, #93c5fd, #c4b5fd, #f9a8d4);
    -webkit-background-clip: text;
    text-shadow: 0px 4px 15px rgba(147, 197, 253, 0.4);
}

/* Neon buttons */
.btn-group-neon .btn {
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--blue-200);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 8px !important;
    margin: 0 4px;
    position: relative;
    overflow: hidden;
}
.dark-mode .btn-group-neon .btn {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: #94a3b8;
}

.btn-group-neon .btn.active, .btn-group-neon .btn:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-color: transparent;
    color: white !important;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5), 0 0 15px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px) scale(1.05);
    z-index: 2;
}

/* Sparkle Background Elements */
.sparkle-bg-element {
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    animation: twinkle-float 5s infinite ease-in-out;
    pointer-events: none;
    z-index: 0;
}
@keyframes twinkle-float {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.7; box-shadow: 0 0 15px #fff, 0 0 25px var(--accent-primary); }
    100% { transform: translateY(-60px) scale(0.5); opacity: 0; }
}