/* =========================
   MCVRD-PL APP ALERT
   ========================= */

.app-alert-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.55);
}

.app-alert-panel {
    width: 100%;
    max-width: 440px;

    padding: 24px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--surface);
    color: var(--text);

    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.app-alert-panel h2 {
    margin: 0 0 10px;

    color: var(--text);
}

.app-alert-panel p {
    margin: 0;

    color: var(--muted);
    line-height: 1.5;
}

.app-alert-actions {
    display: flex;
    justify-content: flex-end;

    margin-top: 22px;
}

#appAlertOk {
    min-width: 82px;
    padding: 10px 18px;

    border: 1px solid var(--accent);
    border-radius: 8px;

    background: var(--accent);
    color: #ffffff;

    font: inherit;
    font-weight: 600;

    cursor: pointer;

    transition:
        filter 0.15s ease,
        transform 0.15s ease;
}

#appAlertOk:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.field-required {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 2px color-mix(
        in srgb,
        var(--accent) 20%,
        transparent
    );
}
