﻿/* ------------------------------------------------------------
   GLOBAL DIALOG THEME (Ovialand Style)
------------------------------------------------------------ */

/* Base Font */
.e-dialog,
.e-dialog * {
    font-family: "Poppins", sans-serif !important;
}

/* Dialog Container */
.e-dialog {
    border-radius: 14px !important;
    overflow: hidden !important;
    border: none !important; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
}

    /* Backdrop Blur */
    .e-dialog .e-dlg-overlay {
        backdrop-filter: blur(4px) !important;
    }

    /* Header */
    .e-dialog .e-dlg-header-content {
        background: #32893b !important;
        padding: 14px 18px !important;
        color: #fff !important;
        font-weight: 600 !important;
        border-bottom: none !important;
        letter-spacing: .5px;
    }

    /* Header Text */
    .e-dialog .e-dlg-header {
        font-size: 1.05rem !important;
    }

    /* Close Button */
    .e-dialog .e-dlg-closeicon-btn {
        background: transparent !important;
        border-radius: 50% !important;
        padding: 6px !important;
        margin-right: 4px !important;
    }

        .e-dialog .e-dlg-closeicon-btn:hover {
            background: rgba(255,255,255,0.18) !important;
            transform: scale(1.05);
        }

    /* Close Icon */
    .e-dialog .e-icon-dlg-close {
        color: #fff !important;
    }

    /* Content */
    .e-dialog .e-dlg-content {
        padding: 20px !important;
        font-size: 0.92rem;
        color: #444;
        line-height: 1.5;
    }

    /* Dialog Footer Buttons */
    .e-dialog .e-footer-content {
        padding: 14px 20px !important;
        background: #f8f9f9 !important;
        border-top: 1px solid #e6e6e6 !important;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }

    /* Button Styling */
    .e-dialog .e-btn {
        border-radius: 5px !important;
        padding: 6px 18px !important;
        font-weight: 500 !important;
        transition: 0.2s ease-in-out;
    }

        /* Primary Button */
        .e-dialog .e-btn.e-primary {
            background: #32893b !important;
            border-color: #32893b !important;
            color: white !important;
        }

            .e-dialog .e-btn.e-primary:hover {
                background: #2c7734 !important;
            }

        /* Danger Button */
        .e-dialog .e-btn.e-danger {
            background: #d9534f !important;
            border-color: #d9534f !important;
            color: white !important;
        }

            .e-dialog .e-btn.e-danger:hover {
                background: #c3413d !important;
            }

        /* Accent Button */
        .e-dialog .e-btn.e-success {
            background: #85bc4d !important;
            border-color: #85bc4d !important;
            color: white !important;
        }

            .e-dialog .e-btn.e-success:hover {
                background: #78a744 !important;
            }

/* Center the close icon inside the dialog header */
    .e-dialog .e-dlg-header-content {
        display: flex !important;
        flex-direction: row-reverse !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

/* Style and center the close button */
.e-dialog .e-dlg-closeicon-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

/* Fix the icon position inside the button */
.e-dialog .e-dlg-closeicon-btn .e-icons {
    font-size: 16px !important;
    line-height: 1 !important;
}


/* Smooth Entry Animation */
/*@keyframes oliDialogEnter {
    0% {
        transform: translateY(-15px) scale(0.95);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}
*/

.dialog-spinner {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
