/* Alert Styles */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

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

.alert-box {
    background: white;
    border-radius: 20px;
    padding: 40px 30px 30px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7) translateY(-50px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

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

.alert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.alert-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.icon-success {
    background: linear-gradient(45deg, #4CAF50, #45a049);
}

.icon-error {
    background: linear-gradient(45deg, #f44336, #da190b);
}

.icon-warning {
    background: linear-gradient(45deg, #ff9800, #f57c00);
}

.icon-info {
    background: linear-gradient(45deg, #2196F3, #0b7dda);
}

.icon-question {
    background: linear-gradient(45deg, #9c27b0, #7b1fa2);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.alert-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.alert-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.alert-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.alert-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.alert-btn-primary {
    background: linear-gradient(45deg, #2196F3, #0b7dda);
    color: white;
}

.alert-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.4);
}

.alert-btn-secondary {
    background: #f5f5f5;
    color: #666;
    border: 2px solid #ddd;
}

.alert-btn-secondary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.alert-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.alert-close:hover {
    background: #f5f5f5;
    color: #333;
}

@media (max-width: 768px) {
    .alert-box {
        padding: 30px 20px 20px;
        margin: 10px;
    }

    .alert-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .alert-title {
        font-size: 20px;
    }

    .alert-buttons {
        flex-direction: column;
    }

    .alert-btn {
        width: 100%;
    }
}