/* Custom Alert Modal - Global Styles */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

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

.custom-alert {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.custom-alert.success {
    border-left: 4px solid var(--green);
}

.custom-alert.error {
    border-left: 4px solid var(--red);
}

.custom-alert.warning {
    border-left: 4px solid #f59e0b;
}

.custom-alert.info {
    border-left: 4px solid var(--blue);
}

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

.custom-alert-content {
    text-align: center;
}

.custom-alert-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
}

.custom-alert-message {
    margin: 0;
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.6;
    white-space: pre-line;
}

.custom-alert-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-alert-close:hover {
    background: var(--panel-2);
    color: var(--text);
}
