.acsj-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.acsj-modal-overlay[hidden] { display: none; }

.acsj-modal-box {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.acsj-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.acsj-form-row { margin-bottom: 16px; }
.acsj-form-row label { display: block; margin-bottom: 6px; font-weight: 600; }
.acsj-form-row input[type="text"],
.acsj-form-row input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.acsj-btn-submit {
    width: 100%;
    padding: 12px;
    background: #002147; /* à adapter à ta charte ACSJ */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}
.acsj-btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.acsj-login-feedback { margin-bottom: 12px; font-size: 14px; }
.acsj-feedback-success { color: #146c2e; }
.acsj-feedback-error { color: #b32d2e; }

body.acsj-modal-open { overflow: hidden; }

/* --- Bouton déclencheur du popup de connexion : suppression du fond, curseur pointer --- */
#acsj-login-trigger {
    background: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#acsj-login-trigger:hover,
#acsj-login-trigger:focus {
    background: none;
    background-color: transparent;
    cursor: pointer;
}