.alert-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.alert-modal.show {
    opacity: 1;
    visibility: visible;
}

.alert-content {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 25px;
    min-width: 320px;
    max-width: 450px;
    transform: scale(0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.alert-modal.show .alert-content {
    transform: scale(1);
}

.alert-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 15px;
}

.alert-icon.success {
    color: #10b981;
}

.alert-icon.error {
    color: #ef4444;
}

.alert-icon.warning {
    color: #f59e0b;
}

.alert-icon.info {
    color: var(--primary);
}

.alert-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.alert-message {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.alert-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.alert-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    font-weight: 600;
}

.alert-btn.confirm {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px var(--primary-shadow);
}

.alert-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-shadow);
}

.alert-btn.confirm:active {
    transform: scale(0.97);
}

.alert-btn.cancel {
    background: var(--border-color);
    color: var(--text-primary);
}

.alert-btn.cancel:hover {
    background: var(--gray-300);
    transform: translateY(-1px);
}

.alert-btn:active {
    transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {

    .alert-modal,
    .alert-content,
    .alert-btn {
        transition: none !important;
    }

    .alert-modal.show .alert-content {
        transform: none;
    }
}