/* Comutitres Flatchr - Styles alignés sur le design existant */

.et_pb_code_inner .flatchr-jobs-wrapper,
.flatchr-jobs-wrapper {
    width: 100%;
    font-family: inherit;
}

.et_pb_code_inner .flatchr-filters,
.flatchr-filters {
    margin-bottom: 24px;
}

.et_pb_code_inner .flatchr-filters-row,
.flatchr-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    align-items: stretch;
}

.et_pb_code_inner .flatchr-search-input,
.flatchr-search-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 0 !important;
    font-size: 15px !important;
    background: #fff !important;
    color: #333 !important;
    box-shadow: none !important;
    height: auto !important;
    line-height: 1.4 !important;
}

.et_pb_code_inner .flatchr-select,
.flatchr-select {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 0 !important;
    font-size: 15px !important;
    background: #fff !important;
    color: #333 !important;
    appearance: auto;
    height: auto !important;
}

.et_pb_code_inner .flatchr-btn,
.flatchr-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 14px 28px !important;
    border-radius: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer;
    border: none !important;
    text-align: center;
    transition: background 0.2s ease;
    white-space: nowrap;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

.et_pb_code_inner .flatchr-btn-search,
.et_pb_code_inner .flatchr-btn-offer,
.flatchr-btn-search,
.flatchr-btn-offer {
    background: #0066b3 !important;
    color: #fff !important;
}

.et_pb_code_inner .flatchr-btn-search:hover,
.et_pb_code_inner .flatchr-btn-offer:hover,
.flatchr-btn-search:hover,
.flatchr-btn-offer:hover {
    background: #004d8c !important;
    color: #fff !important;
}

.et_pb_code_inner .flatchr-btn-clear,
.flatchr-btn-clear {
    background: #f0f0f0 !important;
    color: #444 !important;
    border: 1px solid #d0d0d0 !important;
}

.et_pb_code_inner .flatchr-btn-clear:hover,
.flatchr-btn-clear:hover {
    background: #e4e4e4 !important;
    color: #222 !important;
}

.et_pb_code_inner .flatchr-jobs-list,
.flatchr-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.et_pb_code_inner .flatchr-job-card,
.flatchr-job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    padding: 28px 24px;
    transition: background 0.15s ease;
}

.et_pb_code_inner .flatchr-job-card:last-child,
.flatchr-job-card:last-child {
    border-bottom: 1px solid #e0e0e0;
}

.et_pb_code_inner .flatchr-job-card:hover,
.flatchr-job-card:hover {
    background: #fafbfc;
}

.et_pb_code_inner .flatchr-job-info,
.flatchr-job-info {
    flex: 1;
    min-width: 0;
}

.et_pb_code_inner .flatchr-job-title,
.flatchr-job-title {
    margin: 0 0 12px !important;
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
}

.et_pb_code_inner .flatchr-job-meta,
.flatchr-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.et_pb_code_inner .flatchr-tag,
.flatchr-tag {
    display: inline-block;
    background: transparent;
    color: #0066b3;
    padding: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.et_pb_code_inner .flatchr-date,
.flatchr-date {
    color: #888;
    font-size: 14px;
}

.et_pb_code_inner .flatchr-date::before,
.flatchr-date::before {
    content: "Offre publiée le ";
    color: #888;
}

.et_pb_code_inner .flatchr-btn-offer,
.flatchr-btn-offer {
    flex-shrink: 0;
    min-width: 140px;
}

.et_pb_code_inner .flatchr-no-jobs,
.et_pb_code_inner .flatchr-error,
.flatchr-no-jobs,
.flatchr-error {
    padding: 30px 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    color: #666;
    text-align: center;
    font-size: 15px;
}

/* Page détail */
.et_pb_code_inner .flatchr-job-detail,
.flatchr-job-detail {
    max-width: 100%;
}

.et_pb_code_inner .flatchr-btn-back-top,
.flatchr-btn-back-top {
    display: inline-block;
    margin-bottom: 24px;
    color: #0066b3 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
}

.et_pb_code_inner .flatchr-btn-back-top:hover,
.flatchr-btn-back-top:hover {
    text-decoration: underline !important;
}

.et_pb_code_inner .flatchr-job-detail-title,
.flatchr-job-detail-title {
    color: #1a1a2e !important;
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    font-weight: 700 !important;
}

.et_pb_code_inner .flatchr-job-detail-meta,
.flatchr-job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.et_pb_code_inner .flatchr-meta-item,
.flatchr-meta-item {
    color: #555;
    font-size: 14px;
}

.et_pb_code_inner .flatchr-section,
.flatchr-section {
    margin-bottom: 32px;
}

.et_pb_code_inner .flatchr-section h2,
.flatchr-section h2 {
    color: #1a1a2e !important;
    font-size: 20px !important;
    margin: 0 0 16px !important;
    padding: 0 0 10px !important;
    border-bottom: 2px solid #0066b3;
    font-weight: 700 !important;
}

.et_pb_code_inner .flatchr-content,
.flatchr-content {
    line-height: 1.8;
    color: #444;
    font-size: 15px;
}

.et_pb_code_inner .flatchr-content p,
.flatchr-content p {
    margin-bottom: 12px;
}

.et_pb_code_inner .flatchr-content ul,
.flatchr-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.et_pb_code_inner .flatchr-skills,
.flatchr-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.et_pb_code_inner .flatchr-skill-tag,
.flatchr-skill-tag {
    background: #e8f4fc;
    color: #0066b3;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.et_pb_code_inner .flatchr-apply-section,
.flatchr-apply-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.et_pb_code_inner .flatchr-btn-apply,
.flatchr-btn-apply {
    background: #0066b3 !important;
    color: #fff !important;
    font-size: 16px !important;
    padding: 16px 48px !important;
}

.et_pb_code_inner .flatchr-btn-apply:hover,
.flatchr-btn-apply:hover {
    background: #004d8c !important;
}

@media (max-width: 768px) {
    .et_pb_code_inner .flatchr-job-card,
    .flatchr-job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 16px;
    }

    .et_pb_code_inner .flatchr-btn-offer,
    .flatchr-btn-offer {
        width: 100%;
    }

    .et_pb_code_inner .flatchr-filters-row,
    .flatchr-filters-row {
        flex-direction: column;
    }

    .et_pb_code_inner .flatchr-search-input,
    .et_pb_code_inner .flatchr-select,
    .et_pb_code_inner .flatchr-btn,
    .flatchr-search-input,
    .flatchr-select,
    .flatchr-btn {
        width: 100%;
    }

    .et_pb_code_inner .flatchr-job-detail-title,
    .flatchr-job-detail-title {
        font-size: 22px !important;
    }
}
