/* Custom Alert Component */
.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;
    backdrop-filter: blur(4px);
}

.alert-modal {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: alertSlideIn 0.3s ease-out;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

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

.alert-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

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

/* Alert types */
.alert-info .alert-icon svg {
    color: #3b82f6;
}

.alert-success .alert-icon svg {
    color: #10b981;
}

.alert-warning .alert-icon svg {
    color: #f59e0b;
}

.alert-error .alert-icon svg {
    color: #ef4444;
}

.alert-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

.alert-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.alert-content p {
    margin: 0;
    color: #6b7280;
    line-height: 1.5;
}

.alert-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.alert-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    min-width: 80px;
}

.alert-confirm {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.alert-confirm:hover {
    background: #2563eb;
    border-color: #2563eb;
}

.alert-cancel {
    background: transparent;
    color: #6b7280;
    border-color: #d1d5db;
}

.alert-cancel:hover {
    background: #f9fafb;
    color: #374151;
}

/* Responsive */
@media (max-width: 480px) {
    .alert-modal {
        padding: 1.5rem;
        margin: 1rem;
    }

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

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