/*
Theme: Masoma Recrutement DIVI
Version: 2.0.0
*/

.mrd-offres{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
    margin:20px 0;
}

.mrd-offre{
    border:1px solid #ddd;
    border-radius:6px;
    padding:20px;
    background:#fff;
}

.mrd-offre h3{
    margin-top:0;
    font-size:22px;
}

.mrd-form{
    max-width:700px;
}

.mrd-form input,
.mrd-form textarea,
.mrd-form select{
    width:100%;
    padding:10px;
    margin-bottom:15px;
    box-sizing:border-box;
}

.mrd-form button{
    padding:12px 24px;
    cursor:pointer;
}

.wp-admin .widefat th,
.wp-admin .widefat td{
    vertical-align:middle;
}
/* =====================================================
   Cartes des offres
===================================================== */

.mrd-offres{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:25px;
    margin:30px 0;
}

.mrd-offre{
    background:#ffffff;
    border:1px solid #e6e6e6;
    border-radius:12px;
    padding:25px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
    transition:all .25s ease;
}

.mrd-offre:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.mrd-offre h3{
    margin-top:0;
    margin-bottom:18px;
    color:#003366;
    font-size:24px;
}

.mrd-offre p{
    margin:8px 0;
}

.mrd-description{
    margin-top:18px;
    line-height:1.7;
}

.mrd-expired{
    color:#d63638;
    font-weight:bold;
}

.mrd-offre .button{
    margin-right:10px;
    margin-top:15px;
}
.mrd-offre .button{
    margin-right:12px;
    margin-top:20px;
}

.mrd-offre .button:last-child{
    margin-right:0;
}
.mrd-offre{

    max-width:420px;

    margin:auto;

}
.mrd-offre h3{
    color:#0056b3;
    font-size:28px;
    font-weight:800 !important;
    margin-bottom:20px;
    font-weight:bold;
}
.mrd-offre p{

    margin:12px 0;

}
.mrd-offre .button{

    border-radius:8px;

    padding:10px 20px;

}
/* ==============================
   Conteneur des offres
============================== */

.mrd-offres{

    width:100%;

    max-width:1400px;

    margin:40px auto;

}
.mrd-offre{

    width:100%;

    max-width:none;

    box-sizing:border-box;

}
.mrd-search-form{

    margin-bottom:35px;

}

.mrd-search-form input{

    width:350px;

    padding:10px;

}

.mrd-search-form button{

    padding:10px 18px;

}
/* ===========================
   Badges
=========================== */

.mrd-badge{

    background:#0d6efd;

    color:#fff;

    padding:5px 12px;

    border-radius:20px;

    font-size:13px;

}

.mrd-badge-lieu{

    background:#198754;

    color:#fff;

    padding:6px 12px;

    border-radius:20px;

    display:inline-block;

}

.mrd-badge-contrat{

    background:#fd7e14;

    color:#fff;

    padding:6px 12px;

    border-radius:20px;

    display:inline-block;

}
.mrd-offre .button{

    background:#0d6efd;

    color:#fff;

    border:none;

    border-radius:8px;

    padding:12px 22px;

    text-decoration:none;

    transition:.3s;

}

.mrd-offre .button:hover{

    background:#084298;

    color:#fff;

}
.mrd-type-cdi{
    background:#198754;
    color:#fff;
    padding:5px 12px;
    border-radius:20px;
}

.mrd-type-cdd{
    background:#fd7e14;
    color:#fff;
    padding:5px 12px;
    border-radius:20px;
}

.mrd-type-stage{
    background:#0d6efd;
    color:#fff;
    padding:5px 12px;
    border-radius:20px;
}

.mrd-type-consultant{
    background:#6f42c1;
    color:#fff;
    padding:5px 12px;
    border-radius:20px;
}
.mrd-deadline{
    margin-top:12px;
    font-weight:600;
    color:#198754;
}

.mrd-warning{
    color:#fd7e14;
}

.mrd-danger{
    color:#dc3545;
}
/* =====================================================
   Détail d'une offre
===================================================== */

.mrd-offre-header{

    background:#0d6efd;

    color:#fff;

    padding:30px;

    border-radius:12px;

    margin-bottom:25px;

}

.mrd-offre-titre{

    margin:0;

    color:#fff;

    font-size:34px;

    font-weight:700;

}

.mrd-offre-infos{

    margin-bottom:30px;

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}
.mrd-actions{

    display:flex;

    gap:15px;

    margin-top:30px;

}

.mrd-actions .button{

    padding:12px 22px;

    border-radius:8px;

    text-decoration:none;

}

.mrd-actions .button-primary{

    background:#0d6efd;

    color:#fff;

}
.mrd-offre-header{

    width:100%;

    box-sizing:border-box;

}
.mrd-offre-description{

    text-align:justify;

    line-height:1.8;

}
.mrd-actions{
    display:flex;
    justify-content:flex-end;
    gap:15px;
    margin-top:35px;
}

.mrd-actions a{
    display:inline-block;
    padding:12px 22px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
}

.mrd-actions .button{
    background:#f1f1f1;
    color:#333;
}

.mrd-actions .button-primary{
    background:#0d6efd;
    color:#fff;
}
.mrd-offre-detail{

    width:100%;

    max-width:1000px;

    margin:auto;

}
.mrd-description{

    text-align:justify;

    line-height:1.8;

}
.mrd-actions{

    display:flex;

    justify-content:flex-end;

    gap:15px;

    margin-top:40px;

}

.mrd-actions a{

    display:inline-block;

    padding:12px 24px;

    border-radius:8px;

    text-decoration:none;

    font-weight:600;

}

.mrd-actions .button{

    background:#f3f3f3;

    color:#333;

    border:1px solid #ddd;

}

.mrd-actions .button-primary{

    background:#0d6efd;

    color:#fff;

    border:1px solid #0d6efd;

}
.mrd-offre-infos{

    display:flex;

    align-items:center;

    gap:15px;

    margin:20px 0 30px;

    flex-wrap:wrap;

}
.mrd-offre-titre{

    font-size:38px;

    font-weight:700;

}
.mrd-description{

    font-size:20px;

    line-height:1.9;

    text-align:justify;

}
.mrd-salaire{

    display:inline-block;

    margin:10px 0;

    padding:8px 14px;

    background:#198754;

    color:#fff;

    border-radius:20px;

    font-weight:600;

}
.mrd-statut{

    display:inline-block;

    margin-left:10px;

    padding:8px 14px;

    border-radius:20px;

    font-weight:600;

}

.mrd-publie{

    background:#198754;

    color:#fff;

}

.mrd-fermee{

    background:#dc3545;

    color:#fff;

}.mrd-statut{

    display:inline-block;

    margin-left:10px;

    padding:8px 14px;

    border-radius:20px;

    font-weight:600;

}

.mrd-publie{

    background:#198754;

    color:#fff;

}

.mrd-fermee{

    background:#dc3545;

    color:#fff;

}
.mrd-published{

    margin:15px 0;

    color:#666;

    font-style:italic;

}
.mrd-postes{

    display:inline-block;

    margin-left:10px;

    padding:8px 14px;

    background:#0d6efd;

    color:#fff;

    border-radius:20px;

    font-weight:600;

}
.mrd-experience{

    display:inline-block;

    margin-left:10px;

    padding:8px 14px;

    background:#fd7e14;

    color:#fff;

    border-radius:20px;

    font-weight:600;

}
.mrd-badge{
    display:inline-block;
    padding:6px 12px;
    border-radius:20px;
    font-weight:600;
    font-size:13px;
}

.mrd-badge-blue{
    background:#e7f1ff;
    color:#0057b8;
}

.mrd-badge-orange{
    background:#fff4d6;
    color:#b87900;
}

.mrd-badge-green{
    background:#e6f8e6;
    color:#187a18;
}

.mrd-badge-red{
    background:#fde8e8;
    color:#b00020;
}