/* Custom Alert Styles */

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

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

.custom-alert-box {
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.custom-alert-overlay.show .custom-alert-box {
    transform: scale(1);
}

.custom-alert-icon {
    margin-bottom: 20px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-alert-icon svg {
    width: 64px;
    height: 64px;
    animation: iconAppear 0.4s ease-out;
}

@keyframes iconAppear {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.custom-alert-message {
    font-size: 16px;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.5;
}

.custom-alert-close {
    background: linear-gradient(135deg, #b039d6 0%, #8b2fc9 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(176, 57, 214, 0.3);
}

.custom-alert-close:hover {
    background: linear-gradient(135deg, #9d2ec0 0%, #7628b3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(176, 57, 214, 0.4);
}

.custom-alert-close:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .custom-alert-box {
        padding: 28px 24px;
        max-width: 340px;
    }

    .custom-alert-icon {
        margin-bottom: 16px;
    }

    .custom-alert-icon svg {
        width: 56px;
        height: 56px;
    }

    .custom-alert-message {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .custom-alert-close {
        padding: 11px 36px;
        font-size: 14px;
    }
}
