/* === DIALOG === */
.dialog-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dialog-content {
    background-color: rgba(20, 20, 20, 0.95);
    padding: 2rem 2.5rem;
    border-radius: 8px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 8px 20px rgba(217, 168, 50, 0.3),
    0 0 10px rgba(217, 168, 50, 0.15) inset;
    border: 1px solid rgba(217, 168, 50, 0.5);
    color: #ddd;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

    .dialog-content:hover,
    .dialog-content:focus-within {
        box-shadow: 0 12px 32px rgba(217, 168, 50, 0.5), 0 0 14px rgba(217, 168, 50, 0.25) inset;
        transform: translateY(-3px);
        outline: none;
    }

    /* Headings and text */
    .dialog-content h3 {
        margin-top: 0;
        margin-bottom: 1rem;
        font-weight: 700;
        font-size: 1.5rem;
        text-align: center;
        color: #f7f7f7;
    }

    .dialog-content p {
        margin: 0 0 1.5rem 0;
        white-space: pre-wrap;
        line-height: 1.25;
        font-size: 1rem;
        text-align: center;
        color: rgba(217, 168, 50, 0.85);
    }

/* Buttons container */
.dialog-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}

    /* Buttons */
    .dialog-actions button {
        background-color: rgba(217, 168, 50, 0.3);
        border: none;
        border-radius: 8px;
        color: #fff;
        font-weight: 600;
        padding: 0.6rem 1.2rem;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.15s ease;
        user-select: none;
        min-width: 80px;
        flex-shrink: 0;
    }

        .dialog-actions button:hover,
        .dialog-actions button:focus {
            background-color: rgba(217, 168, 50, 0.5);
            transform: translateY(-1px);
            outline: none;
        }

        .dialog-actions button:active {
            transform: translateY(0) scale(0.98);
        }

        .dialog-actions button:focus-visible {
            outline: 2px solid rgba(217, 168, 50, 0.8);
            outline-offset: 2px;
        }