/* Overlay - Nền đen mờ */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

/* Popup Container - Hộp thông báo trắng */
.custom-alert-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: none;
}

/* Header */
.custom-alert-header {
    padding: 15px 20px 10px 20px;
    text-align: center;
    position: relative;
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 40px;
    padding-right: 40px;
}

/* Title */
.custom-alert-title {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    margin: -8px 0 0 0; /* đẩy lên trên 5px */
    letter-spacing: 0.5px; /* nếu muốn giống hơn, thêm chút giãn chữ */
}

/* Close Button */
.custom-alert-close {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: #000;
    cursor: pointer;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-alert-close:hover {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

/* Body */
.custom-alert-body {
    padding: 15px 20px 15px 20px;
    text-align: left;
}

/* Message */
.custom-alert-message {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #800020;
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.5px; /* nếu muốn giống hơn, thêm chút giãn chữ */
}
