/* =========================================================
   WORK WITH US PAGE  —  assets/css/workWithUs.css
========================================================= */

:root {
    --breadcrumb-bg : #EDF2F5;
    --blue-mkba     : #005FAC;
    --orange-mkba   : #ED6A18;
    --orange-light  : #F9C9A6;
    --dark-mkba     : #111827;
    --muted-mkba    : #6b7280;
    --border-mkba   : #d1d5db;
    --danger-mkba   : #DC2626;
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal-fade {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.60s ease, transform 0.60s ease;
}
.reveal-fade.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   HEADER — TITRE + BOUTON CANDIDATURE SPONTANÉE
========================================================= */

.wwu-header {
    background: #ffffff;
    padding: 40px 0 26px;
}

.wwu-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.wwu-title {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    color: var(--blue-mkba);
    margin: 0;
}

.wwu-title .highlight {
    background: var(--orange-light);
    padding: 0 4px;
    border-radius: 3px;
}

.wwu-btn-spontaneous {
    background: var(--blue-mkba);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 11px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.wwu-btn-spontaneous:hover {
    opacity: 0.9;
    color: #ffffff;
}

/* =========================================================
   BARRE DE RECHERCHE / FILTRES
========================================================= */

.wwu-search-wrap{
    background:#ffffff;
    padding-bottom:30px;
}

.wwu-search-box{
    background:#F3F3F3;
    padding:20px;
}

.wwu-search-card{
    background:#F3F3F3;
    border:none;
    padding:0;
}

.wwu-search-title{
    font-size:1.15rem;
    font-weight:600;
    color:#444;
    margin-bottom:14px;
}

.wwu-search-row{
    display:flex;
    gap:14px;
    margin-bottom:14px;
}

.wwu-search-row:last-child{
    margin-bottom:0;
}

.wwu-input-icon{
    position:relative;
    flex:1;
}

.wwu-input-icon i{
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    color:#B8B8B8;
    font-size:15px;
}

.wwu-form-control,
.wwu-form-select{
    width:100%;
    height:44px;
    border:1px solid #D8D8D8;
    background:#FFFFFF;
    border-radius:0;
    font-size:.9rem;
    color:#666;
    padding:0 14px;
    transition:.25s;
}

.wwu-form-control::placeholder{
    color:#A4A4A4;
}

.wwu-form-control:focus,
.wwu-form-select:focus{
    outline:none;
    border-color:#005FAC;
    box-shadow:none;
}

.wwu-search-row:first-child .wwu-input-icon{
    flex:2;
}

.wwu-search-row:first-child .wwu-form-select{
    flex:2;
}

.wwu-search-row:last-child .wwu-form-select{
    flex:1;
}

.wwu-btn-search{
    width:130px;
    height:44px;
    border:none;
    border-radius:0;
    background:#005FAC;
    color:#FFF;
    font-size:.9rem;
    font-weight:600;
    transition:.25s;
}

.wwu-btn-search:hover{
    background:#004F90;
}

@media (max-width:991px){
    .wwu-search-row{
        flex-direction:column;
    }
    .wwu-btn-search{
        width:100%;
    }
}


/* =========================================================
   LISTE DES OFFRES
========================================================= */

.wwu-content{
    background:#fff;
    padding:20px 0 50px;
}

.wwu-job-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wwu-job-item {
    border-left: 3px solid transparent;
    padding: 16px 18px;
    cursor: pointer;
    border-bottom: 1px solid #F3F3F3;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.wwu-job-item:hover {
    background: #F9FAFB;
}

.wwu-job-item.active {
    border-left-color: var(--blue-mkba);
    background: #F5F9FD;
}

.wwu-job-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark-mkba);
    line-height: 1.5;
    margin-bottom: 8px;
}

.wwu-job-meta {
    font-size: 0.8rem;
    color: var(--muted-mkba);
}

/* =========================================================
   PANNEAU DE DÉTAIL
========================================================= */

.wwu-detail {
    border: 1px solid #e5e7eb;
    border-radius: 0px;
    padding: 28px 30px 34px;
    background: #F3F3F3;
}

.wwu-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
}

.wwu-detail-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-mkba);
    margin: 0;
    line-height: 1.4;
}

.wwu-btn-apply {
    flex: 0 0 auto;
    background: var(--blue-mkba);
    color: #ffffff;
    border: none;
    border-radius: 0px;
    padding: 10px 22px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.wwu-btn-apply:hover {
    opacity: 0.9;
    color: #ffffff;
}

.wwu-detail-meta {
    font-size: 0.82rem;
    color: var(--muted-mkba);
    margin-bottom: 20px;
}

.wwu-detail-tabs {
    display: flex;
    gap: 26px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 22px;
}

.wwu-detail-tab {
    background: none;
    border: none;
    padding: 0 0 12px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--muted-mkba);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.wwu-detail-tab:hover {
    color: var(--dark-mkba);
}

.wwu-detail-tab.active {
    color: var(--blue-mkba);
    border-bottom-color: var(--blue-mkba);
}

.wwu-detail-panel {
    display: none;
}

.wwu-detail-panel.active {
    display: block;
}

.wwu-detail-panel h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--dark-mkba);
    margin: 22px 0 10px;
}

.wwu-detail-panel h3:first-child {
    margin-top: 0;
}

.wwu-detail-panel p {
    font-size: 0.87rem;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 12px;
}

.wwu-detail-panel ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.wwu-detail-panel ul li {
    font-size: 0.87rem;
    color: #374151;
    line-height: 1.75;
}

.wwu-detail-panel em {
    display: block;
    font-style: italic;
    font-size: 0.86rem;
    color: #374151;
    margin-bottom: 12px;
}

.wwu-notice-deadline {
    font-weight: 700;
    color: var(--orange-mkba);
}

.wwu-notice-danger {
    color: var(--danger-mkba);
    font-weight: 700;
    margin-bottom: 6px;
}

.wwu-notice-danger-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.wwu-notice-danger-list li {
    color: var(--danger-mkba);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.7;
}

.wwu-key-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wwu-key-info-list li {
    display: flex;
    gap: 8px;
    font-size: 0.87rem;
    color: #374151;
}

.wwu-key-info-list li strong {
    color: var(--dark-mkba);
    min-width: 160px;
    flex-shrink: 0;
}

.wwu-attachment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wwu-attachment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.87rem;
    color: var(--blue-mkba);
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px 14px;
    transition: background 0.2s ease;
}

.wwu-attachment-item:hover {
    background: #F5F9FD;
    color: var(--blue-mkba);
}

/* =========================================================
   MODAL — CANDIDATURE SPONTANÉE
========================================================= */

.wwu-modal .modal-content {
    border: none;
    border-radius: 10px;
}

.wwu-modal .modal-header {
    border-bottom: none;
    padding: 26px 30px 0;
}

.wwu-modal .modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue-mkba);
}

.wwu-modal .modal-body {
    padding: 12px 30px 30px;
}

.wwu-form-notes {
    font-size: 0.82rem;
    color: var(--muted-mkba);
    margin-bottom: 20px;
    line-height: 1.6;
}

.wwu-form-group {
    margin-bottom: 20px;
}

.wwu-form-group label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--dark-mkba);
    margin-bottom: 8px;
}

.wwu-phone-group {
    display: flex;
    gap: 8px;
}

.wwu-phone-code {
    flex: 0 0 92px;
}

.wwu-phone-number {
    flex: 1 1 auto;
}

.wwu-radio-group {
    display: flex;
    align-items: center;
    gap: 26px;
    padding-top: 6px;
}

.wwu-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--dark-mkba);
    cursor: pointer;
}

.wwu-radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--blue-mkba);
}

.wwu-select-flag {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-mkba);
    border-radius: 6px;
    padding: 0 14px;
}

.wwu-select-flag .flag {
    font-size: 1.1rem;
    line-height: 1;
}

.wwu-select-flag select {
    border: none;
    padding: 10px 4px;
    font-size: 0.88rem;
    color: var(--dark-mkba);
    background: transparent;
    width: 100%;
}

.wwu-select-flag select:focus {
    outline: none;
}

.wwu-upload-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-mkba);
    margin-bottom: 4px;
}

.wwu-upload-hint {
    font-size: 0.8rem;
    color: var(--muted-mkba);
    line-height: 1.5;
    margin-bottom: 14px;
}

.wwu-dropzone {
    border: 1px dashed var(--border-mkba);
    border-radius: 8px;
    background: #FAFBFC;
    padding: 46px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.wwu-dropzone:hover,
.wwu-dropzone.dragover {
    border-color: var(--blue-mkba);
    background: #F5F9FD;
}

.wwu-dropzone-link {
    color: var(--blue-mkba);
    font-weight: 600;
    font-size: 0.9rem;
}

.wwu-file-list-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-mkba);
    margin: 18px 0 8px;
}

.wwu-file-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wwu-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #374151;
    padding: 4px 0;
}

.wwu-file-remove {
    border: none;
    background: none;
    color: var(--muted-mkba);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 2px 6px;
}

.wwu-file-remove:hover {
    color: var(--danger-mkba);
}

.wwu-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.wwu-btn {
    border: none;
    border-radius: 6px;
    padding: 12px 26px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.wwu-btn:hover {
    opacity: 0.88;
}

.wwu-btn-cancel {
    background: var(--dark-mkba);
    color: #ffffff;
}

.wwu-btn-save {
    background: var(--blue-mkba);
    color: #ffffff;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
    .wwu-detail {
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    .wwu-header {
        padding: 32px 0 20px;
    }
    .wwu-search-card {
        padding: 20px 18px 18px;
    }
    .wwu-btn-search {
        width: 100%;
    }
    .wwu-detail {
        padding: 22px 18px 26px;
    }
    .wwu-key-info-list li strong {
        min-width: 130px;
    }
    .wwu-phone-group {
        flex-wrap: wrap;
    }
    .wwu-phone-code {
        flex: 1 1 100%;
    }
}
