.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.custom-alert-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.custom-alert-modal {
    background: #1a1a1a;
    border-radius: 24px;
    width: 100%;
    max-width: 360px;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.custom-alert-header {
    text-align: center;
    padding: 32px 24px 20px;
}

.custom-alert-icon {
    font-size: 56px;
    margin-bottom: 12px;
}

.custom-alert-title {
    font-size: 18px;
    font-weight: 700;
    color: #f5f5f5;
}

.custom-alert-body {
    padding: 0 24px 24px;
}

.custom-alert-message {
    font-size: 15px;
    color: #aaa;
    line-height: 1.6;
    text-align: center;
}

.custom-alert-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-alert-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.custom-alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

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