/* =============================================
   MP Naukri - Main Component Styles
   ============================================= */

/* =============================================
   HEADER
   ============================================= */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-top-bar {
    background: var(--primary-dark);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.8);
    padding: 5px 0;
}
.header-top-bar a { color: rgba(255,255,255,0.8); }
.header-top-bar a:hover { color: #fff; }

.header-main {
    padding: 0 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-emblem {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 3px solid var(--accent);
}
.logo-text { color: #fff; }
.logo-text .site-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.logo-text .site-tagline {
    display: block;
    font-size: 0.62rem;
    opacity: 0.8;
    font-weight: 400;
    line-height: 1.3;
    max-width: 220px;
}

/* Main Navigation */
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 2px; align-items: center; }
.main-nav ul li a {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}
.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.header-search-form { display: flex; align-items: center; gap: 6px; }
.header-search-input {
    padding: 7px 14px;
    border: none;
    border-radius: var(--radius);
    font-size: 0.82rem;
    width: 180px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    outline: none;
    transition: all var(--transition);
}
.header-search-input::placeholder { color: rgba(255,255,255,0.6); }
.header-search-input:focus { background: rgba(255,255,255,0.25); width: 220px; }
.header-search-select {
    padding: 7px 10px;
    border: none;
    border-radius: var(--radius);
    font-size: 0.78rem;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    outline: none;
    cursor: pointer;
}
.header-search-select option { color: #333; background: #fff; }
.header-search-btn {
    padding: 7px 12px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.85rem;
    transition: background var(--transition);
}
.header-search-btn:hover { background: var(--accent-light); }

/* Alert Button */
.btn-alert-subscribe {
    background: var(--accent);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all var(--transition);
    animation: pulse-alert 2s infinite;
}
.btn-alert-subscribe:hover { background: var(--accent-light); color: #fff; }
@keyframes pulse-alert {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,111,0,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(255,111,0,0); }
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; display: block; transition: all var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
    .main-nav ul li a { font-size: 0.75rem; padding: 7px 7px; }
    .header-search-input { width: 130px; }
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 12px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    .main-nav.open { display: flex; }
    .main-nav ul { flex-direction: column; width: 100%; }
    .main-nav ul li a { padding: 10px 14px; font-size: 0.9rem; border-radius: var(--radius); }
    .header-search { display: none; }
    .btn-alert-subscribe { display: none; }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #283593 100%);
    padding: 48px 0 36px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 250px; height: 250px;
    background: rgba(255,111,0,0.06);
    border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,111,0,0.2);
    color: #ffcc80;
    border: 1px solid rgba(255,111,0,0.4);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.hero-title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.25;
}
.hero-title .highlight { color: #ffcc80; }
.hero-subtitle { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 28px; }

/* Hero Search Bar */
.hero-search-bar {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 8px 8px 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 700px;
    margin: 0 auto 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.hero-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text-dark);
}
.hero-search-bar input::placeholder { color: var(--text-muted); }
.hero-search-bar select {
    border: none;
    border-left: 1px solid var(--border);
    padding: 0 10px 0 12px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    color: var(--text-mid);
    outline: none;
    background: transparent;
    cursor: pointer;
    height: 36px;
}
.hero-search-bar .search-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background var(--transition);
    font-family: var(--font-body);
}
.hero-search-bar .search-submit:hover { background: var(--accent-light); }

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 0;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
}
.stat-item {
    flex: 1;
    padding: 14px 10px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* Quick Filter Tabs */
.quick-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}
.filter-tab {
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.8);
    background: transparent;
    font-family: var(--font-body);
    transition: all var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

@media (max-width: 767px) {
    .hero-title { font-size: 1.5rem; }
    .hero-search-bar { flex-wrap: wrap; }
    .hero-search-bar select { display: none; }
    .stats-bar { gap: 0; }
    .stat-number { font-size: 1.1rem; }
}

/* =============================================
   JOB CARDS
   ============================================= */
.jobs-section { padding: 40px 0; }
.jobs-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }

.job-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.job-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--primary-light);
}
.job-card.urgent { border-left: 4px solid var(--danger); }
.job-card.new-job { border-left: 4px solid var(--success); }

.job-card-header {
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}
.job-card-badges {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.job-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.job-card-title a { color: inherit; }
.job-card-title a:hover { color: var(--accent); }

.job-card-dept {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
}
.dept-icon { font-size: 1rem; }

.job-bookmark {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color var(--transition);
    padding: 4px;
}
.job-bookmark:hover,
.job-bookmark.saved { color: var(--accent); }

.job-card-body { padding: 14px 18px; flex: 1; }

.job-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.job-meta-item { display: flex; flex-direction: column; gap: 3px; }
.job-meta-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}
.job-meta-value { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); }
.job-meta-value.vacancies { color: var(--primary); font-size: 0.95rem; }
.job-meta-value.urgent { color: var(--danger); }
.job-meta-value.soon { color: var(--warning); }

.job-card-footer {
    padding: 12px 18px;
    background: var(--bg);
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.job-apply-btn {
    flex: 1;
    text-align: center;
    padding: 8px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 700;
    transition: background var(--transition);
}
.job-apply-btn:hover { background: var(--accent); color: #fff; }
.job-deadline {
    font-size: 0.75rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Load More Button */
.load-more-wrap { text-align: center; margin-top: 32px; }
#load-more-jobs {
    padding: 12px 36px;
    font-size: 0.92rem;
}

/* Jobs Grid + Sidebar Layout */
.jobs-layout { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

@media (max-width: 1100px) { .jobs-layout { grid-template-columns: 1fr 250px; } }
@media (max-width: 900px) {
    .jobs-layout { grid-template-columns: 1fr; }
    .jobs-sidebar { order: -1; }
}
@media (max-width: 600px) { .jobs-grid { grid-template-columns: 1fr; } }

/* =============================================
   CATEGORY SECTIONS
   ============================================= */
.category-section { padding: 40px 0; background: #fff; }

.cat-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.cat-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    background: #fff;
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--primary-light); }

.cat-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.cat-icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.cat-title { color: #fff; font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
.cat-count {
    margin-left: auto;
    background: var(--accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.cat-card-jobs { padding: 0; }
.cat-job-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.cat-job-item:last-child { border-bottom: none; }
.cat-job-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}
.cat-job-title { font-size: 0.82rem; color: var(--text-dark); font-weight: 500; line-height: 1.4; }
.cat-job-title a { color: inherit; }
.cat-job-title a:hover { color: var(--primary); }
.cat-job-vacancies { font-size: 0.72rem; color: var(--accent); font-weight: 600; margin-top: 3px; }

.cat-card-footer {
    padding: 10px 16px;
    background: var(--bg);
    text-align: center;
    border-top: 1px solid var(--border-light);
}
.cat-view-all {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.cat-view-all:hover { color: var(--accent); }

@media (max-width: 900px) { .cat-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cat-cards-grid { grid-template-columns: 1fr; } }

/* =============================================
   DISTRICTS SECTION
   ============================================= */
.districts-section { padding: 40px 0; }
.districts-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}
.district-chip {
    padding: 9px 6px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.78rem;
    color: var(--text-mid);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    display: block;
}
.district-chip:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 1000px) { .districts-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 700px)  { .districts-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px)  { .districts-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================
   EMAIL ALERT SUBSCRIPTION BOX
   ============================================= */
.alert-subscription {
    background: linear-gradient(135deg, var(--primary) 0%, #283593 100%);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}
.alert-subscription::before {
    content: '📬';
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    opacity: 0.06;
    pointer-events: none;
}
.alert-sub-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.alert-sub-title { color: #fff; font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.alert-sub-desc { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 24px; }

.alert-sub-form { display: flex; flex-direction: column; gap: 12px; }
.alert-sub-row { display: flex; gap: 10px; }
.alert-sub-row .form-control { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); color: #fff; }
.alert-sub-row .form-control::placeholder { color: rgba(255,255,255,0.5); }
.alert-sub-row .form-control:focus { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.6); }
.alert-sub-row select.form-control { color: rgba(255,255,255,0.8); }
.alert-sub-row select.form-control option { color: var(--text-dark); background: #fff; }

@media (max-width: 600px) {
    .alert-sub-row { flex-direction: column; }
    .alert-sub-title { font-size: 1.3rem; }
}

/* =============================================
   IMPORTANT DATES WIDGET
   ============================================= */
.dates-section { padding: 40px 0; background: #fff; }
.dates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.date-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
}
.date-card-cal {
    background: var(--primary);
    padding: 16px 14px;
    text-align: center;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.date-day   { font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1; }
.date-month { font-size: 0.7rem; color: rgba(255,255,255,0.75); font-weight: 600; text-transform: uppercase; margin-top: 2px; }
.date-card-info { padding: 14px 16px; flex: 1; }
.date-event-title { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.date-event-type {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-block;
}
.date-event-type.last-date { background: #ffebee; color: var(--danger); }
.date-event-type.exam-date { background: #e3f2fd; color: #1565c0; }
.date-event-type.result { background: #e8f5e9; color: var(--success); }
.date-event-type.admit { background: #fff3e0; color: var(--accent); }

@media (max-width: 900px) { .dates-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dates-grid { grid-template-columns: 1fr; } }

/* =============================================
   SINGLE JOB PAGE
   ============================================= */
.single-job-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }

.single-job-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 32px;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.single-job-header::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.single-job-org { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.single-job-title { font-size: 1.6rem; color: #fff; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
.single-job-meta-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.job-pill {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.job-pill.highlight { background: var(--accent); color: #fff; }

.job-detail-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}
.job-detail-section-title {
    background: var(--primary);
    color: #fff;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.job-detail-section-body { padding: 20px; }

/* Apply Buttons */
.apply-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.apply-btn-main {
    flex: 1;
    min-width: 200px;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-lg);
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.apply-btn-main:hover { background: var(--accent-light); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.apply-btn-secondary {
    padding: 14px 20px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
}
.apply-btn-secondary:hover { background: var(--primary); color: #fff; }

/* Social Share */
.social-share {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.share-btn {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    transition: opacity var(--transition);
}
.share-btn:hover { opacity: 0.85; color: #fff; }
.share-whatsapp { background: #25D366; }
.share-telegram { background: #0088cc; }
.share-facebook { background: #1877F2; }
.share-twitter  { background: #1DA1F2; }
.share-copy     { background: var(--text-mid); }

@media (max-width: 900px) {
    .single-job-layout { grid-template-columns: 1fr; }
    .single-job-title  { font-size: 1.3rem; }
}

/* =============================================
   ARCHIVE PAGE
   ============================================= */
.archive-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 32px 0;
    color: #fff;
    margin-bottom: 32px;
}
.archive-title { font-size: 1.8rem; color: #fff; margin-bottom: 8px; }
.archive-desc  { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.archive-count {
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 10px;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer { background: #0d1257; color: rgba(255,255,255,0.8); margin-top: 0; }

.footer-top { padding: 48px 0 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }

.footer-brand .site-name { color: #fff; font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; display: block; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 16px; }

.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-icon {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition);
    color: rgba(255,255,255,0.7);
}
.social-icon:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.82rem; transition: color var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }

.footer-telegram {
    background: rgba(0,136,204,0.2);
    border: 1px solid rgba(0,136,204,0.4);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all var(--transition);
    margin-top: 4px;
}
.footer-telegram:hover { background: rgba(0,136,204,0.35); }
.footer-telegram-icon { font-size: 1.8rem; }
.footer-telegram-text .tg-title { color: #fff; font-weight: 700; font-size: 0.9rem; display: block; }
.footer-telegram-text .tg-sub   { color: rgba(255,255,255,0.6); font-size: 0.75rem; }

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 16px 0;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* =============================================
   FLOATING TELEGRAM BUTTON
   ============================================= */
.floating-telegram {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: #0088cc;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,136,204,0.5);
    transition: all var(--transition);
    text-decoration: none;
    animation: float-up 3s ease-in-out infinite;
}
.floating-telegram:hover { transform: scale(1.05); color: #fff; background: #0077b3; }
.floating-telegram-icon { font-size: 1.2rem; }
.floating-telegram-text { white-space: nowrap; }

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

@media (max-width: 600px) {
    .floating-telegram-text { display: none; }
    .floating-telegram { border-radius: 50%; width: 52px; height: 52px; justify-content: center; padding: 0; }
}

/* =============================================
   404 PAGE
   ============================================= */
.error-404-wrap {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}
.error-404-code { font-size: 8rem; font-weight: 900; color: var(--primary); opacity: 0.15; line-height: 1; }
.error-404-icon { font-size: 5rem; margin-bottom: 16px; }
.error-404-title { font-size: 1.8rem; color: var(--primary); margin-bottom: 12px; }
.error-404-desc { color: var(--text-light); max-width: 480px; margin: 0 auto 28px; }

/* =============================================
   SEARCH PAGE
   ============================================= */
.search-header-bar {
    background: var(--primary);
    padding: 24px 0;
    margin-bottom: 32px;
}
.advanced-search-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 10px;
    align-items: end;
}
@media (max-width: 900px) { .advanced-search-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .advanced-search-form { grid-template-columns: 1fr; } }

/* =============================================
   MISC WIDGETS
   ============================================= */
.related-jobs-list { display: flex; flex-direction: column; gap: 12px; }
.related-job-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.related-job-item:hover { border-color: var(--primary-light); background: #fff; }
.related-job-num {
    width: 28px; height: 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}
.related-job-title { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.related-job-title a { color: inherit; }
.related-job-title a:hover { color: var(--primary); }
.related-job-meta { font-size: 0.75rem; color: var(--text-light); }

/* Sticky sidebar box */
.sticky-box { position: sticky; top: calc(var(--header-h) + 20px); }

/* Step-by-step how to apply */
.steps-list { display: flex; flex-direction: column; gap: 14px; }
.step-item { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
    width: 28px; height: 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    flex-shrink: 0;
}
.step-text { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; flex: 1; }

/* Important dates table in single post */
.dates-table { width: 100%; border-collapse: collapse; }
.dates-table th { background: var(--primary); color: #fff; padding: 10px 14px; font-size: 0.85rem; text-align: left; }
.dates-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.dates-table tr:last-child td { border-bottom: none; }
.dates-table td.date-val { font-weight: 700; color: var(--primary); }
.dates-table td.date-urgent { color: var(--danger); font-weight: 700; }

/* Save Job button */
.save-job-btn {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
    font-family: var(--font-body);
}
.save-job-btn:hover,
.save-job-btn.saved {
    background: var(--primary);
    color: #fff;
}

/* Notification bar above header */
.site-notice {
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 600;
}
.site-notice a { color: #fff; text-decoration: underline; }
