/* ============================================================
   CustomAlert() dialog widget — overlay + centred modal box.
   Renders on top of any page; positioned via JS.
   ============================================================ */

#dialogoverlay {
    display: none;
    opacity: .8;
    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    width: 100%;
    z-index: 99999998;
}

#dialogbox {
    display: none;
    position: fixed;
    width: 480px;
    max-width: 92vw;
    z-index: 99999999;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

#dialogbox > div {
    padding: 28px 30px;
}

#dialogboxbody {
    font-size: 15px;
    color: #333333;
    line-height: 1.55;
    margin-bottom: 22px;
}

#dialogboxfoot {
    text-align: right;
}

#dialogboxfoot button {
    background: var(--ve-gold, #F7941D);
    color: #070808;
    border: none;
    padding: 10px 28px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

#dialogboxfoot button:hover {
    background: #e07f0f;
}

#dialogboxfoot button:focus {
    outline: 2px solid rgba(247, 148, 29, 0.4);
    outline-offset: 2px;
}
