
/* ===== Featured Jobs Section ===== */
.featured-jobs-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.featured-jobs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.featured-jobs-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== Section Header ===== */
.featured-jobs-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.featured-jobs-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.featured-jobs-section .section-subtitle {
    font-size: 1.125rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

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

/* ===== Job Card ===== */
.job-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(37, 99, 235, 0.5);
}

.job-card:hover::before {
    transform: scaleX(1);
}

/* Featured Card Styling */
.job-card.featured {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 41, 59, 0.6) 100%);
    border-color: rgba(37, 99, 235, 0.4);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* ===== Job Card Header ===== */
.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(248, 250, 252, 0.1);
    border: 1px solid rgba(51, 65, 85, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bookmark-btn {
    background: rgba(248, 250, 252, 0.05);
    border: 1px solid rgba(51, 65, 85, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bookmark-btn svg {
    width: 20px;
    height: 20px;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.bookmark-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.5);
}

.bookmark-btn:hover svg {
    color: #3b82f6;
}

.bookmark-btn.active {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.5);
}

.bookmark-btn.active svg {
    color: #3b82f6;
    fill: #3b82f6;
}

/* ===== Job Card Body ===== */
.job-card-body {
    margin-bottom: 20px;
}

.job-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.job-title a {
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.job-title a:hover {
    color: #3b82f6;
}

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

.company-name {
    color: #cbd5e1;
    font-size: 0.9375rem;
    font-weight: 500;
}

.job-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 0.875rem;
}

.job-location svg {
    width: 16px;
    height: 16px;
}

/* ===== Job Tags ===== */
.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.job-tag {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid;
}

.job-tag.job-type {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.job-tag.job-level {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.job-tag.job-urgent {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.job-description {
    color: #94a3b8;
    font-size: 0.9375rem;
    line-height: 1.6;
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Job Card Footer ===== */
.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(51, 65, 85, 0.6);
}

.job-salary {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 600;
}

.job-salary svg {
    width: 18px;
    height: 18px;
    color: #3b82f6;
}

.job-posted {
    color: #64748b;
    font-size: 0.875rem;
}

/* ===== Section Footer ===== */
.section-footer {
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-view-all svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-view-all:hover svg {
    transform: translateX(4px);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .jobs-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .featured-jobs-section {
        padding: 60px 16px;
    }

    .featured-jobs-section .section-title {
        font-size: 2rem;
    }

    .featured-jobs-section .section-subtitle {
        font-size: 1rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .job-card {
        padding: 20px;
    }

    .job-title {
        font-size: 1.25rem;
    }

    .company-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .featured-jobs-section .section-title {
        font-size: 1.75rem;
    }

    .job-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn-view-all {
        width: 100%;
        justify-content: center;
    }
}


/* ===== Toast Notifications ===== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.5);
    border-radius: 12px;
    padding: 14px 20px;
    color: #f8fafc;
    font-size: 0.9375rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast svg {
    width: 20px;
    height: 20px;
    color: #4ade80;
    flex-shrink: 0;
}

/* ===== Empty State ===== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    color: #64748b;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #f8fafc;
    margin-bottom: 10px;
}

.empty-state p {
    color: #94a3b8;
    font-size: 1rem;
}

/* ===== Loading Spinner ===== */