/* =========================
   RATTACHEMENT CONFIRMATION
   ========================= */

#rattachementConfirmation-blocker {
    position: fixed;
    inset: 0;
    display: none;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9000 !important;
    pointer-events: auto;
}

#rattachementConfirmation-popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    display: none;
    width: 90%;
    max-width: 650px;
    height: auto;
    min-height: 120px;
    transform: translate(-50%, -50%) !important;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 9100 !important;
    pointer-events: auto !important;
}

.rattachementConfirmation-content {
    position: relative;
    padding: 35px 40px 30px 40px;
}

/* Titre — cohérent avec l'image dans confluence */
#rattachementConfirmation-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f2272;           /* couleur OAS existante */
    text-transform: uppercase;
    margin: 0;
    padding-right: 30px;      /* espace pour la croix */
    line-height: 1.4;
}

/* Croix — même style que modalites-close */
#rattachementConfirmation-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    line-height: 28px;
    color: #666;
    cursor: pointer;
    z-index: 9200;
}

#rattachementConfirmation-close:hover {
    color: #000;
}