/* style.css */
:root {
    --primary-blue: #1E3A8A;
    --primary-blue-hover: #172a6b;
    --accent-orange: #F97316;
    --accent-orange-hover: #ea580c;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.section-title .highlight {
    color: var(--accent-orange);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo span {
    color: var(--accent-orange);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.header-search i {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
}

.header-search input {
    padding: 8px 15px 8px 35px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    font-family: inherit;
    transition: var(--transition);
    width: 200px;
}

.header-search input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.nav-links a:last-child,
.btn-post-job {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:last-child:hover,
.btn-post-job:hover {
    background-color: var(--primary-blue-hover);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30,58,138,0.05) 0%, rgba(249,115,22,0.05) 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-text .highlight {
    color: var(--accent-orange);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.hero-search-box {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.search-group {
    flex: 1;
    min-width: 200px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-group i {
    position: absolute;
    left: 15px;
    color: var(--primary-blue);
}

.search-group select {
    width: 100%;
    padding: 15px 15px 15px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: #fafafa;
    appearance: none;
    cursor: pointer;
}

.search-btn {
    padding: 15px 30px;
    background-color: var(--accent-orange);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-width: 150px;
}

.search-btn:hover {
    background-color: var(--accent-orange-hover);
}

/* Stats Bar */
.stats-bar {
    background-color: var(--primary-blue);
    padding: 40px 0;
    color: white;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.category-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.cat-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.category-card:hover .cat-icon {
    background-color: var(--primary-blue);
    color: white;
}

.category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Latest Jobs */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.job-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-orange);
    transform: translateY(-5px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-title {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-weight: 600;
}

.job-company {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.demand-badge {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.job-details {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex-grow: 1;
}

.job-details p {
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.job-details i {
    color: var(--primary-blue);
    width: 16px;
    text-align: center;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
}

.time-posted {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-apply {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.btn-apply:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Countries Section */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.country-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.country-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.flag-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.country-info h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.country-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* How It Works */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.step-box {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.step-box h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.step-box p {
    color: var(--text-muted);
}

.step-arrow {
    font-size: 2rem;
    color: var(--accent-orange);
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-orange);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--accent-orange);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: #111827;
    color: #f3f4f6;
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-brand .footer-logo span {
    color: var(--accent-orange);
}

.footer-brand p {
    color: #9ca3af;
    margin-bottom: 30px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-orange);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    color: #9ca3af;
    transition: var(--transition);
}

.footer-links ul a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .header-search {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto 30px;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Breadcrumbs */
.breadcrumb-wrapper {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary-blue);
    font-weight: 500;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-orange);
}

.breadcrumb i {
    font-size: 0.7rem;
}

.breadcrumb .active {
    color: var(--text-muted);
}

/* Job Detail Page */
.pb-80 {
    padding-bottom: 80px;
}

.job-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.job-card-wrapper {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
}

.detail-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 20px;
}

.job-detail-h1 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    line-height: 1.2;
}

.company-name {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.company-name i {
    margin-right: 5px;
}

.job-score-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.demand-score {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
}

.stability-score {
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary-blue);
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    background: rgba(30, 58, 138, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.meta-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.meta-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
}

.detail-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-secondary {
    padding: 12px 20px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--text-muted);
}

.apply-now-btn {
    padding: 12px 30px;
    background-color: var(--accent-orange);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.apply-now-btn:hover {
    background-color: var(--accent-orange-hover);
}

.share-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-actions span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
}

.share-btn.whatsapp { background-color: #25D366; }
.share-btn.linkedin { background-color: #0077b5; }
.share-btn.facebook { background-color: #1877F2; }
.share-btn.twitter { background-color: #1DA1F2; }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.detail-content h2 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.detail-content h2:first-child {
    margin-top: 0;
}

.detail-content p {
    margin-bottom: 15px;
    color: var(--text-main);
    line-height: 1.7;
}

.content-list {
    margin-bottom: 25px;
}

.content-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.content-list i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--accent-orange);
    font-size: 0.9rem;
}

.content-footer-action {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* Sidebar */
.sidebar-widget {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.company-info-sidebar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.company-logo-placeholder {
    width: 60px;
    height: 60px;
    background-color: rgba(30, 58, 138, 0.05);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: var(--radius-md);
}

.company-info-sidebar h4 {
    color: var(--text-main);
    margin-bottom: 5px;
}

.view-company {
    font-size: 0.9rem;
    color: var(--accent-orange);
    font-weight: 500;
}

.company-widget p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.sidebar-job-card {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.sidebar-job-card:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.sidebar-job-card h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.sidebar-job-card .company {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.mini-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-main);
}

.mini-meta i {
    color: var(--primary-blue);
    margin-right: 5px;
}

.sidebar-job-card:hover h4 {
    color: var(--accent-orange);
}

.view-all-similar {
    display: block;
    text-align: center;
    color: var(--primary-blue);
    font-weight: 600;
    padding: 10px;
    background-color: rgba(30, 58, 138, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.view-all-similar:hover {
    background-color: var(--primary-blue);
    color: white;
}

@media (max-width: 992px) {
    .job-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-header-top {
        flex-direction: column;
    }
    
    .job-score-badges {
        align-items: flex-start;
        flex-direction: row;
    }
    
    .detail-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .share-actions {
        margin-left: 0;
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .detail-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Jobs Listing Page --- */

.active-link {
    color: var(--accent-orange) !important;
    position: relative;
}

.active-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-orange);
}

.advanced-filter-bar {
    background-color: var(--primary-blue);
    padding: 30px 0;
}

.filter-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.filter-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.primary-search-row {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.secondary-search-row {
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    position: relative;
    min-width: 200px;
    display: flex;
    align-items: center;
}

.filter-group i {
    position: absolute;
    left: 15px;
    color: var(--primary-blue);
    z-index: 10;
}

.filter-group input, 
.filter-group select {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: var(--bg-white);
    transition: var(--transition);
}

.filter-group select {
    appearance: none;
    cursor: pointer;
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: var(--primary-blue);
}

.search-btn {
    padding: 12px 30px;
    min-width: 150px;
    height: 100%;
}

select:disabled {
    background-color: var(--bg-light);
    color: var(--text-muted);
    cursor: not-allowed;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.results-title {
    font-size: 1.5rem;
    color: var(--text-main);
}

.results-view-toggles {
    display: flex;
    gap: 10px;
}

.view-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.view-btn.active, .view-btn:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.jobs-loader {
    text-align: center;
    padding: 50px 0;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

/* Customizing the job card slightly for the listing page */
.job-card .company-flag {
    margin-left: auto;
    font-size: 1.5rem;
}

.job-type-badge {
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary-blue);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.urgent-badge {
    background-color: #ef4444; /* red-500 */
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Pagination */
.pagination-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 5px;
    align-items: center;
}

.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.pagination li a:hover:not(.disabled) {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.pagination li a.active {
    background-color: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

.pagination li a.disabled {
    color: var(--text-muted);
    background-color: var(--bg-light);
    cursor: not-allowed;
}

.pagination li a.prev, .pagination li a.next {
    width: auto;
    padding: 0 15px;
    gap: 8px;
}

.page-dots {
    color: var(--text-muted);
    padding: 0 5px;
}

@media (max-width: 992px) {
    .primary-search-row {
        flex-direction: column;
        align-items: stretch;
    }
    .secondary-search-row {
        flex-direction: column;
        align-items: stretch;
    }
}

/* --- Revamped Job Detail Extensions --- */

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(16, 185, 129, 0.1); /* Emerald 500 */
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 10px;
    vertical-align: middle;
}

.flag-icon-small {
    margin-left: 5px;
    font-size: 1.1rem;
    vertical-align: middle;
}

.demand-score-container {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.demand-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.demand-label i {
    color: var(--accent-orange);
    margin-right: 5px;
}

.demand-value {
    color: var(--text-main);
}

.progress-bar-bg {
    width: 100%;
    height: 10px;
    background-color: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-fill.demand-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange) 0%, #ff9800 100%);
    border-radius: 5px;
    transition: width 1.5s ease-in-out;
}

.apply-section-top {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background-color: #20C055;
    color: white;
}

.btn-email {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 10px 25px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-email:hover {
    background-color: var(--primary-blue);
    color: white;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.skill-tag {
    background-color: var(--bg-light);
    color: var(--primary-blue);
    font-weight: 500;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-tag:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.benefits-list {
    margin-bottom: 25px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.benefits-list i {
    width: 25px;
    height: 25px;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.sidebar-share-actions {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
}
