.jobs-header {
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.jobs-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

.jobs-content {
    padding: 3rem 1.5rem;
}

.filter-container {
    margin-bottom: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.filter-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 2;
    min-width: 200px;
}

.search-input,
.select-input {
    width: 100%;
    padding: 0.65rem 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.search-input:focus,
.select-input:focus {
    border-color: var(--primary);
}
.searchInput:focus,
.selectInput:focus {
    border-color: var(--primary);
}

.filterGroup {
    flex: 1;
    min-width: 150px;
}

.selectInput {
    cursor: pointer;
}

.filter-btn {
    padding: 0.65rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
}

.clearBtn {
    padding: 0.65rem 1rem;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
}

.clearBtn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

@media (max-width: 768px) {
    .filterToggle {
        display: block;
    }

    .filterContent {
        display: none;
        flex-direction: column;
        align-items: stretch;
        margin-top: 1rem;
    }

    .filterContent.open {
        display: flex;
    }
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
}

.job-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.featured-tag {
    position: absolute;
    top: 1rem;
    right: 1.75rem;
    background: rgba(6, 214, 160, 0.1);
    color: var(--accent);
    border: 1px solid rgba(6, 214, 160, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding-right: 5rem;
}

.job-card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

.job-budget {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.25rem;
}

.job-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.job-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 500;
}

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

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

.apply-btn {
    padding: 0.5rem 1.5rem;
    background: var(--gradient-accent);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
}

.jobs-empty {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

.jobs-empty p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Job Detail View */
.job-detail-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.job-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.job-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.job-detail-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.job-detail-client {
    color: var(--text-muted);
}

.job-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-dark);
    border-radius: var(--radius);
}

.job-detail-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.job-detail-meta-item label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.job-detail-meta-item span {
    font-weight: 600;
    color: var(--text-primary);
}

.job-detail-description {
    margin-bottom: 3rem;
}

.job-detail-description h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.job-detail-description p {
    line-height: 1.8;
    color: var(--text-secondary);
    white-space: pre-wrap;
}

.job-detail-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.back-to-jobs {
    padding: 0.85rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
}

.back-to-jobs:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* WhatsApp Button */
.whatsapp-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.whatsapp-apply-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.email-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.email-apply-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
    .job-detail-card {
        padding: 1.5rem;
    }
    
    .job-detail-header h1 {
        font-size: 1.75rem;
    }
}
