/* Base font size */
/* html {
    font-size: 16px; 
} */

/* Overlay to cover the entire screen */
.cdfef-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
    font-size: 16px; 
}

/* Dialog box styling */
.cdfef-dialog-box {
    /* background-color: #fff; */
    padding: 24px 24px;
    /* border-radius: 0px; */
    width: 400px;
    max-width: 90%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the element */
}

/* Title styling */
.cdfef-dialog-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 20px;
    color: #333;
}

/* Message styling */
.cdfef-dialog-message {
    font-size: 1.1em;
    margin-bottom: 20px;
    /* color: #555; */
    line-height: 1.4em;
}

/* Buttons container */
.cdfef-dialog-actions {
    display: flex;
    justify-content: end;
    gap: 20px;
    padding-bottom: 5px;
}

/* Confirm button styling */
.cdfef-dialog-confirm-btn {
    padding: 0.5em 1em;
    border: none;
    border-radius:3px;
    /* color: #fff; */
    cursor: pointer;
    font-size: 1em;
    word-break: break-word;
}

/* Cancel button styling */
.cdfef-dialog-cancel-btn {
    padding: 0.5em 1em;
    border: none;   
    border-radius: 3px;
    /* color: #fff; */
    cursor: pointer;
    font-size: 1em;
    /* background-color: #ff0000;  */
    word-break: break-word;
}

/* Button hover effects */
.cdfef-dialog-confirm-btn:hover,
.cdfef-dialog-cancel-btn:hover {
    opacity: 0.9;
}

/* Animation for a smooth fade-in effect */
.cdfef-dialog-overlay {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Close button styling */
.cdfef-dialog-close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    background: transparent !important;
    border: none;
    font-size: 24px !important;
    color: #333 !important;
    cursor: pointer;
    font-weight: bold !important;
    line-height: 1;
    box-shadow: none;
}

/* Remove hover effect */
.cdfef-dialog-close-btn:hover,
.cdfef-dialog-close-btn:focus {
    background: transparent;
    color: #e71818 !important;
    box-shadow: none;
}
