/* Modal (white theme) */
#successModal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

#successModal .modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

#successModal .modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 92vw);
    margin: 10vh auto 0;
    background: #fff;
    color: #222;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 18px 20px 16px;
}

#successModal h3 {
    margin: 0 0 8px;
    font: 600 18px/1.4;
}

#successModal p {
    margin: 0 0 14px;
    color: #444;
}

#successModal .modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal__close {
    position: absolute;
    right: 8px;
    top: 6px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

/* Lightweight button style to match your white form */
.btn {
    background: #f7f7f7;
    color: #222;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    cursor: pointer;
}

.btn:hover {
    background: #f0f8ff;
    border-color: #3399ff;
}