/* Jobs Page Styles */
:root {
    /* Jobs Page Colors - Light Mode */
    --jobs-primary: #054829;
    --jobs-primary-dark: #054829;
    --jobs-primary-darker: #054829;
    --jobs-bg-dark: #ffffff;
    --jobs-bg-darker: #054829;
    --jobs-card-bg: #ffffff;
    --jobs-card-bg-dark: #f8f9fa;
    --jobs-text-light: #ffffff;
    --jobs-text-gray: #000000;
    --jobs-border-light: rgba(32, 178, 170, 0.1);
    --jobs-border-medium: rgba(32, 178, 170, 0.2);
    --jobs-border-strong: rgba(32, 178, 170, 0.3);
    --jobs-shadow: rgba(0, 0, 0, 0.1);
    --jobs-shadow-strong: rgba(0, 0, 0, 0.15);
    --jobs-accent: #44c785;
    --jobs-accent-hover: #08331d;
    --jobs-success: #28a745;
    --jobs-warning: #ffc107;
    --jobs-danger: #dc3545;
    --jobs-info: #17a2b8;
}

/* Dark Mode Colors
[data-theme="dark"] {
    --jobs-primary: #054829;
    --jobs-primary-dark: #054829;
    --jobs-primary-darker: #054829;
    --jobs-bg-dark: #1a1a1a;
    --jobs-bg-darker: #2d2d2d;
    --jobs-card-bg: #2a2a2a;
    --jobs-card-bg-dark: #1f1f1f;
    --jobs-text-light: #ffffff;
    --jobs-text-gray: #888;
    --jobs-border-light: rgba(32, 178, 170, 0.1);
    --jobs-border-medium: rgba(32, 178, 170, 0.2);
    --jobs-border-strong: rgba(32, 178, 170, 0.3);
    --jobs-shadow: rgba(32, 178, 170, 0.2);
    --jobs-shadow-strong: rgba(32, 178, 170, 0.3);
    --jobs-accent: #80B3B3;
    --jobs-accent-hover: #6a9a9a;
    --jobs-success: #28a745;
    --jobs-warning: #ffc107;
    --jobs-danger: #dc3545;
    --jobs-info: #17a2b8;
} */

/* Jobs Hero Section */
.jobs-hero-section {
    background: linear-gradient(135deg, var(--jobs-primary) 0%, var(--jobs-primary-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.jobs-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.jobs-hero-content {
    position: relative;
    z-index: 2;
}

.jobs-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--jobs-text-light);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.jobs-hero-content p {
    font-size: 1.2rem;
    color: var(--jobs-text-light);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Jobs Filter Section */
.jobs-filter-section {
    background: var(--jobs-bg-darker);
    padding: 40px 0;
    border-bottom: 1px solid var(--jobs-border-light);
}

.jobs-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.jobs-filter-item {
    background: var(--jobs-card-bg);
    border: 1px solid var(--jobs-border-medium);
    border-radius: 25px;
    padding: 12px 24px;
    color: var(--jobs-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 120px;
    text-align: center;
}

.jobs-filter-item:hover,
.jobs-filter-item.active {
    background: var(--jobs-primary);
    border-color: var(--jobs-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--jobs-shadow);
}

/* Jobs Grid */
.jobs-main-section {
    /* padding: 60px 0; */
    /* background: var(--jobs-bg-dark); */
    min-height: 60vh;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Job Card */
.job-card {
    background: var(--jobs-card-bg);
    border: 1px solid var(--jobs-border-light);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--jobs-primary) 0%, var(--jobs-accent) 100%);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--jobs-shadow-strong);
    border-color: var(--jobs-border-medium);
}

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

.job-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--jobs-text-light);
    margin-bottom: 8px;
}

.job-company {
    font-size: 1rem;
    color: var(--jobs-primary);
    font-weight: 500;
}

.job-type {
    background: var(--jobs-primary);
    color: var(--jobs-text-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-description {
    color: var(--jobs-text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.job-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--jobs-text-gray);
    font-size: 0.9rem;
}

.job-detail-item i {
    color: var(--jobs-primary);
    font-size: 1rem;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.job-tag {
    background: var(--jobs-bg-darker);
    color: var(--jobs-text-light);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--jobs-border-light);
}

.job-actions {
    display: flex;
    gap: 12px;
}

.job-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.job-btn-primary {
    background: var(--jobs-primary);
    color: var(--jobs-text-light);
}

.job-btn-primary:hover {
    background: var(--jobs-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--jobs-shadow);
}

.job-btn-secondary {
    background: transparent;
    color: var(--jobs-primary);
    border: 1px solid var(--jobs-primary);
}

.job-btn-secondary:hover {
    background: var(--jobs-primary);
    color: var(--jobs-text-light);
}

/* Job Status Badges */
.job-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-status.urgent {
    background: var(--jobs-danger);
    color: white;
}

.job-status.new {
    background: var(--jobs-success);
    color: white;
}

.job-status.featured {
    background: var(--jobs-warning);
    color: #333;
}

/* Empty State */
.jobs-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--jobs-text-gray);
}

.jobs-empty i {
    font-size: 4rem;
    color: var(--jobs-primary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.jobs-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--jobs-text-light);
}

.jobs-empty p {
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jobs-hero-content h1 {
        font-size: 2.5rem;
    }

    .jobs-hero-content p {
        font-size: 1rem;
    }

    .jobs-filter-container {
        flex-direction: column;
        align-items: stretch;
    }

    .jobs-filter-item {
        min-width: auto;
    }

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

    .job-card {
        padding: 20px;
    }

    .job-header {
        flex-direction: column;
        gap: 10px;
    }

    .job-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .jobs-hero-content h1 {
        font-size: 2rem;
    }

    .job-card {
        padding: 15px;
    }

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

    .job-details {
        flex-direction: column;
        gap: 10px;
    }
}

/* Animation Classes */
.job-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.job-card:nth-child(1) {
    animation-delay: 0.1s;
}

.job-card:nth-child(2) {
    animation-delay: 0.2s;
}

.job-card:nth-child(3) {
    animation-delay: 0.3s;
}

.job-card:nth-child(4) {
    animation-delay: 0.4s;
}

.job-card:nth-child(5) {
    animation-delay: 0.5s;
}

.job-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}