/* Модальное окно подтверждения */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.2s ease-out;
}

.confirm-modal-overlay.show {
    display: flex;
}

.confirm-modal {
    background: white;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease-out;
}

.confirm-modal-header {
    padding: 24px 24px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.confirm-modal-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.confirm-modal-icon.danger {
    color: #ef4444;
}

.confirm-modal-icon.warning {
    color: #f59e0b;
}

.confirm-modal-text {
    flex: 1;
}

.confirm-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.confirm-modal-message {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

.confirm-modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.confirm-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.confirm-btn-cancel {
    background: #f1f5f9;
    color: #64748b;
}

.confirm-btn-cancel:hover {
    background: #e2e8f0;
}

.confirm-btn-confirm {
    background: #ef4444;
    color: white;
}

.confirm-btn-confirm:hover {
    background: #dc2626;
}

.confirm-btn-confirm.primary {
    background: #0088cc;
}

.confirm-btn-confirm.primary:hover {
    background: #0077b3;
}

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

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

