/* DeleteConfirmModal - Styles für Lösch-Bestätigungs-Modal */

/* Modal Overlay (wird von ChartConfigModal.css geteilt, aber hier für Vollständigkeit) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: var(--space-4);
    animation: fadeIn 0.2s ease-out;
}

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

.delete-confirm-modal {
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.2s ease-out;
}

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

/* Modal Header (wird von ChartConfigModal.css geteilt) */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5);
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: var(--h2);
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--r-sm);
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg);
    color: var(--text);
}

/* Modal Body */
.modal-body {
    padding: var(--space-6);
    text-align: center;
}

.delete-confirm-icon {
    font-size: 4rem;
    margin-bottom: var(--space-4);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.delete-confirm-message {
    font-size: var(--body);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-3);
    padding: var(--space-5);
    border-top: 1px solid var(--border);
}

/* Buttons */
.btn {
    padding: var(--space-3) var(--space-5);
    border: none;
    border-radius: var(--r-sm);
    font-size: var(--body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 100px;
}

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface);
}

.btn-danger {
    background: var(--danger, #ef4444);
    color: white;
}

.btn-danger:hover {
    background: var(--danger-dark, #dc2626);
}

.btn-danger:focus {
    outline: 2px solid var(--danger, #ef4444);
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .delete-confirm-modal {
        max-width: 100%;
        margin: var(--space-4);
    }

    .modal-body {
        padding: var(--space-4);
    }

    .delete-confirm-icon {
        font-size: 3rem;
    }
}

