﻿/* Use the wrapper ID to give this overlay the highest z-index */
#info-dialog-wrapper .modal-overlay {
    z-index: 3000;
}

/* The .modal-overlay can be shared with the confirm dialog */

.info-content {
    background-color: var(--surface-color);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border-top: 5px solid; /* The colored top border */
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-content h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--secondary-text);
    line-height: 1.6;
}

.info-actions {
    margin-top: 1.5rem;
}

    .info-actions .btn {
        width: 100px;
        padding: 10px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 500;
        transition: background-color 0.2s;
        background-color: var(--border-color);
        color: var(--primary-text);
        border: 1px solid var(--border-color);
    }


/* --- Style Variants --- */

/* Info Style (Blue) */
.dialog-info {
    border-color: #2196F3;
}

    .dialog-info .btn {
        background-color: #2196F3;
        border-color: #2196F3;
    }

        .dialog-info .btn:hover {
            background-color: #1976D2;
        }

/* Warning Style (Amber) */
.dialog-warning {
    border-color: #FFC107;
}

    .dialog-warning .btn {
        background-color: #FFC107;
        border-color: #FFC107;
        color: #121212; /* Dark text for better contrast on yellow */
    }

        .dialog-warning .btn:hover {
            background-color: #FFA000;
        }

/* Error Style (Red) */
.dialog-error {
    border-color: #F44336;
}

    .dialog-error .btn {
        background-color: #F44336;
        border-color: #F44336;
        color: white;
    }

        .dialog-error .btn:hover {
            background-color: #D32F2F;
        }
