/**
 * Styles pour l'affichage des offres d'emploi TeamTailor
 */

.teamtailor-jobs-container {
    max-width: 100%;
    margin: 2rem 0;
    font-family: inherit;
}

.teamtailor-error,
.teamtailor-no-jobs {
    padding: 1rem;
    background-color: #f8f8f8;
    border-left: 4px solid #ddd;
    margin-bottom: 1rem;
    color: #666;
}

.teamtailor-error {
    border-left-color: #dc3232;
}

.teamtailor-job-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.teamtailor-job-item:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.teamtailor-job-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #333;
}

.teamtailor-job-department,
.teamtailor-job-location,
.teamtailor-job-type {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #666;
}

.teamtailor-job-pitch {
    margin: 1rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.teamtailor-job-actions {
    margin-top: 1rem;
    display: flex;
    align-items: center;
}

.teamtailor-job-details-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f8f8f8;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.teamtailor-job-details-btn:hover {
    background-color: #eee;
    text-decoration: none;
}

.teamtailor-job-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.teamtailor-job-description {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.teamtailor-job-description p {
    margin-bottom: 1rem;
}

.teamtailor-job-description ul,
.teamtailor-job-description ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.teamtailor-apply-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.teamtailor-apply-btn:hover {
    background-color: #005f8b;
    text-decoration: none;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .teamtailor-job-item {
        padding: 1rem;
    }
    
    .teamtailor-job-title {
        font-size: 1.2rem;
    }
    
    .teamtailor-job-department,
    .teamtailor-job-location,
    .teamtailor-job-type,
    .teamtailor-job-description {
        font-size: 0.9rem;
    }
    
    .teamtailor-apply-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}
