.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-alert-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-alert-dialog {
    background-color: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.custom-alert-title {
    font-size: 24px;
    font-weight: 500;
    color: rgb(17, 28, 45);
    margin-bottom: 16px;
}

.custom-alert-message {
    font-size: 14px;
    color: rgb(17, 28, 45);
    line-height: 21.344px;
    margin-bottom: 24px;
}

.custom-alert-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.custom-alert-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    font-family: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", Helvetica, Arial, sans-serif;
}

.custom-alert-btn-cancel {
    background-color: #fce8e8;
    color: #d93025;
}

.custom-alert-btn-cancel:hover {
    background-color: #fad2d0;
}

.custom-alert-btn-confirm {
    background-color: #d3e3fd;
    color: #1a73e8;
}

.custom-alert-btn-confirm:hover {
    background-color: #c1d5f7;
}

.custom-alert-btn:active {
    transform: scale(0.98);
}

.custom-alert-overlay.warning .custom-alert-icon {
    background-color: #ff9800;
}

.custom-alert-overlay.warning .custom-alert-confirm {
    background-color: #ff9800;
}