/* Confirmation Dialog Styles */
.confirmation-dialog-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: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirmation-dialog-overlay.show {
    opacity: 1;
}

.confirmation-dialog {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.confirmation-dialog-overlay.show .confirmation-dialog {
    transform: scale(1);
}

.confirmation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.confirmation-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.btn-close-dialog {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.btn-close-dialog:hover {
    background: #f5f5f5;
    color: #666;
}

.confirmation-body {
    padding: 20px;
    color: #666;
    line-height: 1.6;
}

.confirmation-body ul {
    margin: 10px 0;
    padding-left: 20px;
}

.confirmation-body li {
    margin: 5px 0;
}

.confirmation-body strong {
    color: #333;
}

.confirmation-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    background: #f9f9f9;
}

.confirmation-actions .btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.confirmation-actions .btn-secondary {
    background: white;
    color: #666;
    border-color: #ddd;
}

.confirmation-actions .btn-secondary:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.confirmation-actions .btn-primary {
    background: #007bff;
    color: white;
}

.confirmation-actions .btn-primary:hover {
    background: #0056b3;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .confirmation-dialog {
        background: #2d2d2d;
        color: #e0e0e0;
    }
    
    .confirmation-header {
        border-bottom-color: #444;
    }
    
    .confirmation-header h3 {
        color: #e0e0e0;
    }
    
    .confirmation-body {
        color: #b0b0b0;
    }
    
    .confirmation-body strong {
        color: #e0e0e0;
    }
    
    .confirmation-actions {
        background: #252525;
        border-top-color: #444;
    }
    
    .confirmation-actions .btn-secondary {
        background: #3a3a3a;
        color: #e0e0e0;
        border-color: #555;
    }
    
    .confirmation-actions .btn-secondary:hover {
        background: #444;
        border-color: #666;
    }
}