/* Modern Job Fair Styles - Consistent with Home Cards */
.job-fair-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    padding: 2.5rem 2rem 2rem 2rem;
    margin: 2rem 0;
    color: #495057;
    position: relative;
    overflow: hidden;
}

.job-fair-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.job-fair-header-icon {
    font-size: 2.5rem;
    color: #667eea;
    filter: none;
}

.job-fair-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #495057;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.job-fair-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.job-fair-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.job-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.job-filter-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-filter-btn {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.job-filter-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: #5a6fd8;
    text-decoration: none;
}

.job-filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.job-filter-input {
    width: 200px;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.job-filter-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.job-filter-select {
    width: 200px;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.job-filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.job-filter-select option {
    background: white;
    color: #495057;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.job-fair-current-job {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.job-current-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1rem;
}

.job-current-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.job-current-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.job-current-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-current-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #495057;
}

.job-quit-btn {
    background: linear-gradient(90deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(220,53,69,0.10);
    transition: all 0.2s;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.job-quit-btn:hover {
    background: linear-gradient(90deg, #c82333 0%, #dc3545 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(220,53,69,0.18);
    color: #fff;
    text-decoration: none;
}

.job-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.job-offer-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-offer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
}

.job-offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.5s;
}

.job-offer-card:hover::before {
    left: 100%;
}

.job-offer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.job-offer-company {
    flex: 1;
}

.job-offer-company-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #495057;
    margin: 0 0 0.25rem 0;
}

.job-offer-owner {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

.job-offer-location {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.job-offer-quality {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.job-offer-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.job-offer-detail {
    text-align: center;
    padding: 0.8rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.job-offer-detail-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.job-offer-detail-value {
    font-size: 1rem;
    font-weight: 700;
    color: #495057;
    margin: 0;
}

.job-offer-apply {
    width: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(40,167,69,0.10);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.job-offer-apply:hover {
    background: linear-gradient(90deg, #20c997 0%, #28a745 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(40,167,69,0.18);
    color: #fff;
    text-decoration: none;
}

.job-offer-apply:disabled {
    background: #6c757d;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.7;
}

.job-fair-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.job-fair-empty-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.job-fair-empty-text {
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .job-fair-container {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
    }

    .job-fair-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .job-fair-title {
        font-size: 1.8rem;
    }

    .job-fair-filters {
        flex-direction: column;
        gap: 1rem;
    }

    .job-filter-input {
        width: 100%;
        max-width: 300px;
    }

    .job-current-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .job-offers-grid {
        grid-template-columns: 1fr;
    }

    .job-offer-card {
        padding: 1rem;
    }

    .job-offer-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-offer-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .job-fair-title {
        font-size: 1.5rem;
    }

    .job-offer-details {
        grid-template-columns: 1fr;
    }

    .job-offer-apply {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}