/* =============================================
   My Jobs Portal - Premium Color Theme
   ============================================= */

:root {
    /* Primary - Vivid Blue */
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;

    /* Accent - Emerald Green */
    --accent: #059669;
    --accent-dark: #047857;
    --accent-light: #ecfdf5;

    /* Status Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --success-dark: #059669;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --danger-dark: #dc2626;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --warning-dark: #d97706;
    --info: #0ea5e9;
    --info-light: #e0f2fe;

    /* Neutrals */
    --dark: #111827;
    --dark-2: #1f2937;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;

    /* Special Colors */
    --purple: #7c3aed;
    --purple-light: #f5f3ff;
    --pink: #ec4899;
    --pink-light: #fdf2f8;
    --teal: #14b8a6;
    --teal-light: #f0fdfa;
    --orange: #f97316;
    --orange-light: #fff7ed;

    /* Radii */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --shadow-primary: 0 10px 30px -5px rgba(79,70,229,0.3);
    --shadow-success: 0 10px 30px -5px rgba(16,185,129,0.3);
    --shadow-danger: 0 10px 30px -5px rgba(239,68,68,0.3);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-700);
    background: radial-gradient(circle at 10% 0%, #eef2ff 0%, #fdf4ff 35%, #fff7ed 70%, #f8fafc 100%);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* =============================================
   Top Bar
   ============================================= */
.top-bar {
    background: linear-gradient(90deg, #4f46e5 0%, #9333ea 50%, #ec4899 100%);
    padding: 8px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.top-bar a { color: rgba(255, 255, 255, 0.9); font-weight: 500; }
.top-bar a:hover { color: #ffffff; text-shadow: 0 0 8px rgba(255,255,255,0.6); }
.top-bar .social-icon {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--gray-400);
    font-size: 0.8rem;
    transition: var(--transition);
}
.top-bar .social-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79,70,229,0.4);
}

/* =============================================
   Navbar
   ============================================= */
.main-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.25rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(236, 72, 153, 0.15);
}
.main-navbar.scrolled {
    box-shadow: var(--shadow-md);
}
.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--dark) !important;
    letter-spacing: -0.5px;
}
.navbar-brand-custom img {
    max-height: 42px;
    transition: var(--transition);
}
.navbar-brand-custom .brand-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}
.nav-link-custom {
    color: var(--gray-600) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}
.nav-link-custom:hover,
.nav-link-custom.active {
    color: #7c3aed !important;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(124, 58, 237, 0.12));
}
.nav-link-custom.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}
.nav-auth-btn {
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}
.nav-auth-btn.login {
    color: var(--primary);
    border: 2px solid var(--primary);
    background: transparent;
}
.nav-auth-btn.login:hover {
    background: var(--primary);
    color: white;
}
.nav-auth-btn.register {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
}
.nav-auth-btn.register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Navbar Toggler */
.navbar-toggler {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--dark);
    font-size: 1.3rem;
    background: var(--gray-50);
}
.navbar-toggler:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(79,70,229,0.15);
}

/* =============================================
   Hero Section
   ============================================= */
.hero-advanced {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    position: relative;
    padding: 6rem 0 5rem;
    overflow: hidden;
    min-height: 550px;
    display: flex;
    align-items: center;
}
.hero-advanced::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79,70,229,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 8s ease-in-out infinite;
}
.hero-advanced::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 10s ease-in-out infinite reverse;
}
@keyframes heroGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 650px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.hero-badge i { animation: pulse 2s infinite; }
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
    animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-title .highlight {
    background: linear-gradient(135deg, #fde047, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(245, 158, 11, 0.2);
}
.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease 0.2s both;
    font-weight: 400;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Search Box */
.hero-search-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    animation: fadeInUp 0.6s ease 0.3s both;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.hero-search-box .form-control,
.hero-search-box .form-select {
    background: #ffffff;
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--dark);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    font-weight: 500;
}
.hero-search-box .form-control::placeholder { color: var(--gray-500); }
.hero-search-box .form-control:focus,
.hero-search-box .form-select:focus {
    background: #ffffff;
    border-color: #fde047;
    box-shadow: 0 0 0 4px rgba(253, 224, 71, 0.3);
    color: var(--dark);
}
.hero-search-box .form-select option { background: #ffffff; color: var(--dark); }
.hero-search-btn {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.hero-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    color: white;
}

/* Floating Stats in Hero */
.hero-float-stats {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero-stat-card {
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    min-width: 180px;
    text-align: center;
    animation: fadeInRight 0.6s ease both;
    transition: var(--transition);
}
.hero-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.22);
    border-color: rgba(253,224,71,0.6);
}
.hero-stat-card:nth-child(1) { animation-delay: 0.4s; }
.hero-stat-card:nth-child(2) { animation-delay: 0.5s; }
.hero-stat-card:nth-child(3) { animation-delay: 0.6s; }
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
.hero-stat-card .stat-num { font-size: 1.75rem; font-weight: 800; color: white; line-height: 1; }
.hero-stat-card .stat-num .counter { display: inline; }
.hero-stat-card .stat-label { font-size: 0.8rem; color: var(--gray-400); margin-top: 4px; }
.hero-stat-card .stat-icon { font-size: 1.5rem; margin-bottom: 8px; }

/* =============================================
   Stats Bar
   ============================================= */
.stats-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    border: 1px solid var(--gray-100);
    overflow: hidden;
}
.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6, #3b82f6, #22c55e);
}
.stat-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--gray-200);
}
.stat-item .stat-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}
.stat-item .stat-icon.blue { background: var(--primary-light); color: var(--primary); }
.stat-item .stat-icon.green { background: var(--success-light); color: var(--success); }
.stat-item .stat-icon.orange { background: var(--warning-light); color: var(--warning); }
.stat-item .stat-icon.purple { background: var(--purple-light); color: var(--purple); }
.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}
.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* =============================================
   Section Styles
   ============================================= */
.section { padding: 4rem 0; overflow: hidden; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}
.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    border-radius: 4px;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}
.view-all-btn {
    color: #7c3aed;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.view-all-btn:hover {
    color: #db2777;
    gap: 8px;
}

/* =============================================
   Category Cards
   ============================================= */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition-bounce);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6, #3b82f6);
    transform: scaleX(0);
    transition: var(--transition);
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}
.category-card:hover::before { transform: scaleX(1); }
.category-card .cat-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius);
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}
.category-card:hover .cat-icon {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
}
.category-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}
.category-card .job-count {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* =============================================
   Job Cards - Advanced
   ============================================= */
.job-card-advanced {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    max-width: 100%;
}
.job-card-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ec4899, #8b5cf6, #3b82f6);
    opacity: 0;
    transition: var(--transition);
}
.job-card-advanced:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--primary-200);
}
.job-card-advanced:hover::before { opacity: 1; }
.job-card-advanced .job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}
.job-card-advanced .job-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.job-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.job-badge.govt { background: var(--primary-light); color: var(--primary); }
.job-badge.private { background: var(--orange-light); color: var(--orange); }
.job-badge.new { background: var(--success-light); color: var(--success-dark); }
.job-badge.featured { background: linear-gradient(135deg, #fbbf24, #f97316); color: white; }
.job-badge.hot { background: var(--danger-light); color: var(--danger); }
.job-card-advanced .job-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-height: 3em;
}
.job-card-advanced .job-title a { color: var(--dark); }
.job-card-advanced .job-title a:hover { color: var(--primary); }
.job-card-advanced .company-name {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.job-card-advanced .company-name i { color: var(--primary); flex-shrink: 0; }
.job-card-advanced .job-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.4rem;
    margin-bottom: 1rem;
    overflow: hidden;
    max-width: 100%;
}
.job-card-advanced .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--gray-600);
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}
.job-card-advanced .meta-item i { color: var(--primary); width: 16px; text-align: center; flex-shrink: 0; }
.job-card-advanced .job-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-height: 3.2em;
}
.job-card-advanced .job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}
.job-card-advanced .post-info { font-size: 0.8rem; color: var(--gray-400); }
.job-card-advanced .deadline-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
}
.deadline-safe { background: var(--success-light); color: var(--success-dark); }
.deadline-warning { background: var(--danger-light); color: var(--danger-dark); }
.job-card-advanced .action-btns { display: flex; gap: 8px; }
.btn-apply {
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    color: white;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}
.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    color: white;
}
.btn-save-adv {
    width: 40px; height: 40px;
    border-radius: var(--radius);
    border: 2px solid var(--gray-200);
    background: transparent;
    color: var(--gray-400);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}
.btn-save-adv:hover,
.btn-save-adv.saved {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Featured Card */
.job-card-advanced.featured {
    border-color: rgba(249,115,22,0.3);
    background: linear-gradient(135deg, rgba(255,247,237,0.5), var(--white));
}

/* =============================================
   Trending / Quick Links
   ============================================= */
.trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.trending-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,250,252,0.95));
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition-bounce);
}
.trending-tag:hover {
    border-color: #8b5cf6;
    color: #7c3aed;
    background: linear-gradient(135deg, #fdf4ff, #eef2ff);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.16);
}

.trending-tag:nth-child(3n+1) i { color: #ec4899; }
.trending-tag:nth-child(3n+2) i { color: #8b5cf6; }
.trending-tag:nth-child(3n+3) i { color: #3b82f6; }

/* =============================================
   Sidebar Widgets
   ============================================= */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-200);
}
.widget-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-title i { color: var(--primary); }
.widget-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
    font-size: 0.9rem;
    transition: var(--transition);
}
.widget-link:last-child { border-bottom: none; }
.widget-link:hover { color: var(--primary); padding-left: 5px; }
.widget-link .badge { font-size: 0.7rem; }

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6);
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}
.newsletter-widget h5 { font-weight: 700; margin-bottom: 0.5rem; }
.newsletter-widget p { font-size: 0.85rem; opacity: 0.9; margin-bottom: 1rem; }
.newsletter-widget .form-control { border: none; border-radius: var(--radius); padding: 0.75rem 1rem; }
.newsletter-widget .btn { background: white; color: var(--primary); font-weight: 700; border-radius: var(--radius); }

/* =============================================
   Filter Section
   ============================================= */
.filter-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}
.filter-card h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-card h5 i { color: var(--primary); }
.filter-card .form-label { font-weight: 600; font-size: 0.85rem; color: var(--gray-700); margin-bottom: 0.3rem; }
.filter-card .form-control,
.filter-card .form-select {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    transition: var(--transition);
}
.filter-card .form-control:focus,
.filter-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.btn-filter {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.btn-filter:hover { box-shadow: var(--shadow-primary); color: white; }
.btn-clear-filter {
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    background: transparent;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}
.btn-clear-filter:hover { background: var(--gray-100); color: var(--dark); }

/* =============================================
   Info Cards (Admit Card / Result)
   ============================================= */
.info-card-adv {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.info-card-adv:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary-200);
}
.info-card-adv h5 { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.info-card-adv h5 a { color: var(--dark); }
.info-card-adv h5 a:hover { color: var(--primary); }
.info-card-adv .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--gray-500);
    font-size: 0.85rem;
}
.info-card-adv .meta i { color: var(--primary); }

/* =============================================
   Auth Pages
   ============================================= */
.auth-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-light) 100%);
}
.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}
.auth-card .auth-icon {
    width: 64px; height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}
.auth-card h2 { font-weight: 800; text-align: center; margin-bottom: 0.25rem; color: var(--dark); }
.auth-card .subtitle { text-align: center; color: var(--gray-500); margin-bottom: 2rem; }
.auth-card .form-label { font-weight: 600; font-size: 0.85rem; color: var(--gray-700); }
.auth-card .form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.7rem 1rem;
    transition: var(--transition);
}
.auth-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.auth-card .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border: none;
    padding: 0.75rem;
    border-radius: var(--radius);
    font-weight: 700;
    transition: var(--transition);
}
.auth-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--gray-400);
    font-size: 0.85rem;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }

/* =============================================
   Dashboard
   ============================================= */
.dashboard-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.dashboard-profile {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    padding: 2rem;
    text-align: center;
    color: white;
}
.dashboard-profile .avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
    border: 3px solid rgba(255,255,255,0.3);
}
.dashboard-profile h5 { font-weight: 700; margin-bottom: 0.25rem; }
.dashboard-profile small { opacity: 0.8; }
.dashboard-nav { padding: 0.5rem; }
.dashboard-nav .nav-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1rem;
    color: var(--gray-600);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.dashboard-nav .nav-item a:hover,
.dashboard-nav .nav-item a.active {
    background: var(--primary-light);
    color: var(--primary);
}
.dashboard-nav .nav-item a.logout { color: var(--danger); }
.dashboard-nav .nav-item a.logout:hover { background: var(--danger-light); }

/* =============================================
   Footer - Advanced
   ============================================= */
.footer-advanced {
    background: linear-gradient(180deg, var(--dark) 0%, #0a0a0a 100%);
    color: var(--gray-400);
    padding: 4rem 0 0;
    margin-top: 4rem;
}
.footer-advanced h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}
.footer-advanced ul { list-style: none; padding: 0; margin: 0; }
.footer-advanced ul li { margin-bottom: 0.5rem; }
.footer-advanced ul li a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.footer-advanced ul li a:hover { color: var(--primary-200); padding-left: 5px; }
.footer-newsletter-form { display: flex; gap: 8px; margin-top: 1rem; }
.footer-newsletter-form .form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: var(--radius);
}
.footer-newsletter-form .form-control::placeholder { color: var(--gray-500); }
.footer-newsletter-form .btn { background: var(--primary); color: white; border: none; border-radius: var(--radius); font-weight: 600; }
.footer-social { display: flex; gap: 8px; margin-top: 1rem; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.08);
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}
.footer-social a:hover { background: var(--primary); color: white; transform: translateY(-3px); box-shadow: var(--shadow-primary); }
.footer-bottom-adv {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
}
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 0.75rem; }
.footer-links a { color: var(--gray-400); font-size: 0.85rem; }
.footer-links a:hover { color: var(--primary-200); }

/* =============================================
   Pagination
   ============================================= */
.pagination-custom .page-link {
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    padding: 0.5rem 0.85rem;
    margin: 0 3px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}
.pagination-custom .page-link:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary-200);
}
.pagination-custom .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* =============================================
   Back to Top
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.35);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    cursor: pointer;
    border: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(79,70,229,0.5); color: white; }

/* =============================================
   Loading Skeleton
   ============================================= */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 991px) {
    .main-navbar { padding: 0; }
    .navbar-collapse {
        background: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
        z-index: 1000;
    }
    .navbar-collapse .nav-link-custom {
        padding: 0.75rem 1rem !important;
        border-radius: var(--radius);
        display: block;
    }
    .navbar-collapse .nav-link-custom.active::after { display: none; }
    .navbar-collapse .d-flex { margin-top: 0.75rem; }
    .navbar-collapse .nav-auth-btn { width: 100%; text-align: center; }
    .hero-advanced { padding: 2.5rem 0 2rem; min-height: auto; }
    .hero-title { font-size: 2rem; }
    .hero-float-stats { display: none; }
    .hero-content { max-width: 100%; }
    .stats-bar { margin-top: 1rem; }
    .stat-item:not(:last-child)::after { display: none; }
    .section-header { flex-wrap: wrap; }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.9rem; }
    .section-title::after { width: 40px; height: 3px; }
    .view-all-btn { white-space: nowrap; font-size: 0.85rem; }
    .job-card-advanced .job-meta-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .job-card-advanced .job-title { font-size: 1.05rem; }
    .job-card-advanced .job-desc { font-size: 0.88rem; }
    .job-card-advanced .company-name { font-size: 0.85rem; }
    .job-card-advanced .meta-item { font-size: 0.8rem; }
    .job-badge { font-size: 0.72rem; padding: 3px 10px; }
    .category-card h5 { font-size: 0.88rem; }
    .category-card .job-count { font-size: 0.75rem; }
}
@media (max-width: 767px) {
    .top-bar { font-size: 0.75rem; padding: 5px 0; }
    .navbar-brand-custom { font-size: 1.15rem; gap: 8px; }
    .navbar-brand-custom .brand-icon { width: 36px; height: 36px; font-size: 1rem; }
    .hero-advanced { padding: 2rem 0 1.5rem; }
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .hero-search-box { padding: 1rem; }
    .stats-bar { padding: 1rem 0.5rem; margin-top: 0.75rem; border-radius: var(--radius); }
    .stat-item { padding: 0.5rem; }
    .stat-item .stat-icon { width: 40px; height: 40px; font-size: 1rem; margin-bottom: 0.5rem; }
    .stat-item .stat-number { font-size: 1.35rem; }
    .stat-item .stat-label { font-size: 0.75rem; }

    /* Section */
    .section { padding: 2rem 0; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-bottom: 1.25rem; }
    .section-title { font-size: 1.25rem; padding-bottom: 8px; }
    .section-title::after { width: 35px; height: 2.5px; }
    .section-subtitle { font-size: 0.82rem; margin-top: 0.35rem; }
    .view-all-btn { font-size: 0.8rem; }

    /* Category */
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .category-card { padding: 1rem; }
    .category-card .cat-icon { width: 44px; height: 44px; font-size: 1.2rem; margin-bottom: 0.5rem; }
    .category-card h5 { font-size: 0.82rem; }
    .category-card .job-count { font-size: 0.7rem; }

    /* Job Card */
    .job-card-advanced { padding: 1rem; border-radius: var(--radius); }
    .job-card-advanced .job-card-top { margin-bottom: 0.5rem; }
    .job-card-advanced .job-badges { gap: 5px; }
    .job-badge { font-size: 0.68rem; padding: 3px 8px; }
    .job-badge i { font-size: 0.65rem; }
    .job-card-advanced .job-title { font-size: 0.95rem; line-height: 1.3; margin-bottom: 0.4rem; }
    .job-card-advanced .job-title a { word-wrap: break-word; overflow-wrap: break-word; }
    .job-card-advanced .company-name { font-size: 0.78rem; gap: 4px; margin-bottom: 0.6rem; }
    .job-card-advanced .company-name i { font-size: 0.75rem; }
    .job-card-advanced .company-name .text-muted.mx-1 { margin: 0 2px !important; }
    .job-card-advanced .job-meta-grid { grid-template-columns: 1fr; gap: 0.3rem; margin-bottom: 0.75rem; }
    .job-card-advanced .meta-item { font-size: 0.78rem; gap: 5px; }
    .job-card-advanced .meta-item i { font-size: 0.75rem; width: 14px; }
    .job-card-advanced .job-desc { font-size: 0.82rem; margin-bottom: 0.75rem; line-height: 1.5; max-height: 2.9em; }
    .job-card-advanced .job-card-footer { flex-direction: column; gap: 0.6rem; align-items: stretch; padding-top: 0.75rem; }
    .job-card-advanced .job-card-footer > div:first-child { display: flex; flex-wrap: wrap; gap: 5px; }
    .action-btns { width: 100%; justify-content: space-between; }
    .btn-apply { width: auto; justify-content: center; padding: 0.5rem 0.9rem; font-size: 0.8rem; }
    .btn-save-adv { width: 36px; height: 36px; flex-shrink: 0; font-size: 0.85rem; }
    .post-info { font-size: 0.72rem; }
    .deadline-badge { font-size: 0.7rem; padding: 3px 8px; }

    /* Info Cards */
    .info-card-adv { padding: 1rem; flex-direction: column; gap: 0.75rem; }
    .info-card-adv h5 { font-size: 0.9rem; }
    .info-card-adv .meta { font-size: 0.78rem; gap: 0.75rem; }

    /* Sidebar & Newsletter */
    .sidebar-widget { padding: 1rem; }
    .filter-card { padding: 1rem; }
    .newsletter-widget { padding: 1.5rem; }
    .newsletter-widget h5 { font-size: 1rem; }
    .newsletter-widget p { font-size: 0.8rem; }

    /* Auth */
    .auth-wrapper { padding: 1.5rem 0; }
    .auth-card { padding: 1.5rem; margin: 0 0.75rem; border-radius: var(--radius-lg); }

    /* Footer */
    .footer-advanced { padding: 2.5rem 0 0; }
    .footer-links { flex-wrap: wrap; gap: 1rem; justify-content: center; }

    /* Back to Top */
    .back-to-top { bottom: 1.25rem; right: 1.25rem; width: 40px; height: 40px; }
}
@media (max-width: 479px) {
    .hero-title { font-size: 1.4rem; }
    .stats-bar { padding: 0.75rem 0.25rem; }

    /* Section */
    .section { padding: 1.5rem 0; }
    .section-title { font-size: 1.1rem; padding-bottom: 6px; }
    .section-title::after { width: 30px; height: 2px; }
    .section-subtitle { font-size: 0.75rem; }
    .section-header { margin-bottom: 1rem; }
    .view-all-btn { font-size: 0.75rem; }

    /* Category */
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .category-card { padding: 0.85rem; }
    .category-card .cat-icon { width: 38px; height: 38px; font-size: 1rem; margin-bottom: 0.4rem; }
    .category-card h5 { font-size: 0.75rem; margin-bottom: 0.15rem; }
    .category-card .job-count { font-size: 0.65rem; }

    /* Job Card */
    .trending-tag { font-size: 0.72rem; padding: 5px 10px; }
    .job-card-advanced { padding: 0.85rem; }
    .job-card-advanced .job-card-top { margin-bottom: 0.4rem; }
    .job-card-advanced .job-badges { gap: 4px; }
    .job-badge { font-size: 0.62rem; padding: 2px 7px; }
    .job-badge i { font-size: 0.6rem; }
    .job-card-advanced .job-title { font-size: 0.88rem; line-height: 1.25; margin-bottom: 0.35rem; }
    .job-card-advanced .company-name { font-size: 0.72rem; gap: 3px; margin-bottom: 0.5rem; }
    .job-card-advanced .company-name i { font-size: 0.7rem; }
    .job-card-advanced .job-meta-grid { grid-template-columns: 1fr; gap: 0.25rem; margin-bottom: 0.6rem; }
    .job-card-advanced .meta-item { font-size: 0.72rem; gap: 4px; }
    .job-card-advanced .meta-item i { font-size: 0.68rem; width: 13px; }
    .job-card-advanced .job-desc { font-size: 0.76rem; margin-bottom: 0.6rem; line-height: 1.45; max-height: 2.7em; }
    .job-card-advanced .job-card-footer { gap: 0.5rem; padding-top: 0.6rem; }
    .job-card-advanced .job-card-footer > div:first-child { gap: 4px; }
    .post-info { font-size: 0.68rem; }
    .deadline-badge { font-size: 0.65rem; padding: 2px 6px; }
    .btn-apply { font-size: 0.75rem; padding: 0.45rem 0.75rem; }
    .btn-save-adv { width: 34px; height: 34px; font-size: 0.8rem; }

    /* Info Cards */
    .info-card-adv { padding: 0.85rem; gap: 0.6rem; }
    .info-card-adv h5 { font-size: 0.85rem; }
    .info-card-adv .meta { font-size: 0.72rem; gap: 0.6rem; }

    /* Newsletter */
    .newsletter-widget { padding: 1.25rem; }
    .newsletter-widget h5 { font-size: 0.95rem; }
    .newsletter-widget p { font-size: 0.75rem; }
    .newsletter-widget .form-control { font-size: 0.8rem; padding: 0.55rem 0.7rem; }
}

/* Touch-Friendly */
@media (hover: none) and (pointer: coarse) {
    .category-card:hover { transform: none; }
    .category-card:active { transform: scale(0.98); }
    .job-card-advanced:hover { transform: none; }
    .job-card-advanced:active { transform: scale(0.99); }
    .btn-apply:hover { transform: none; }
    .btn-apply:active { transform: scale(0.97); }
    .trending-tag:hover { transform: none; }
    .trending-tag:active { transform: scale(0.97); }
    .btn-save-adv:hover { transform: none; }
    .btn-save-adv:active { transform: scale(0.95); }
}

/* Mobile Menu Animation */
@media (max-width: 991px) {
    .navbar-collapse.show { animation: slideDown 0.3s ease; }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* Focus & Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Safe Area */
@supports (padding-top: env(safe-area-inset-top)) {
    .top-bar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
    .footer-advanced { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); padding-bottom: env(safe-area-inset-bottom); }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary-200), var(--purple)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Overflow */
html, body { overflow-x: hidden; }

/* Flash Toast Notifications */
.flash-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
    width: 100%;
    pointer-events: none;
}
.flash-toast .toast-item {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    animation: flashSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.flash-toast .toast-item.removing {
    animation: flashSlideOut 0.3s ease forwards;
}
.flash-toast .toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.flash-toast .toast-content {
    flex: 1;
    min-width: 0;
}
.flash-toast .toast-message {
    font-size: 0.88rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.4;
    word-break: break-word;
}
.flash-toast .toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
}
.flash-toast .toast-close:hover { color: #475569; }
.flash-toast .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 12px 12px;
    animation: flashProgress 5s linear forwards;
}
/* Success */
.flash-toast .toast-item.success .toast-icon { background: #dcfce7; color: #16a34a; }
.flash-toast .toast-item.success .toast-progress { background: #16a34a; }
/* Danger */
.flash-toast .toast-item.danger .toast-icon { background: #fee2e2; color: #dc2626; }
.flash-toast .toast-item.danger .toast-progress { background: #dc2626; }
/* Warning */
.flash-toast .toast-item.warning .toast-icon { background: #fef3c7; color: #d97706; }
.flash-toast .toast-item.warning .toast-progress { background: #d97706; }
/* Info */
.flash-toast .toast-item.info .toast-icon { background: #dbeafe; color: #2563eb; }
.flash-toast .toast-item.info .toast-progress { background: #2563eb; }

@keyframes flashSlideIn {
    from { opacity: 0; transform: translateX(100%) scale(0.95); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes flashSlideOut {
    to { opacity: 0; transform: translateX(100%) scale(0.95); }
}
@keyframes flashProgress {
    from { width: 100%; }
    to { width: 0%; }
}
@media (max-width: 576px) {
    .flash-toast { left: 12px; right: 12px; max-width: 100%; top: 12px; }
}

/* Print */
@media print {
    .main-navbar, .top-bar, .footer-advanced, .back-to-top, .btn-apply, .btn-save-adv, .hero-advanced, .stats-bar { display: none !important; }
    .job-card-advanced { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
    body { background: white; color: black; }
}
