/* Confirmation Dialog Styles */

.confirm-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: 9999;
    opacity: 0;
    transition: opacity 0.2s ease-out;
    backdrop-filter: blur(4px);
}

.confirm-show {
    opacity: 1;
}

.confirm-dialog {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    transform: scale(0.95);
    transition: transform 0.2s ease-out;
}

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

.confirm-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e5e7eb;
}

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

.confirm-body {
    padding: 20px 24px;
}

.confirm-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
}

.confirm-actions {
    padding: 16px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid #e5e7eb;
}

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

.confirm-btn-cancel {
    background: #f3f4f6;
    color: #374151;
}

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

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

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

/* Dark theme support */
[data-theme="dark"] .confirm-dialog {
    background: #1f2937;
}

[data-theme="dark"] .confirm-header {
    border-bottom-color: #374151;
}

[data-theme="dark"] .confirm-header h3 {
    color: #f9fafb;
}

[data-theme="dark"] .confirm-body p {
    color: #d1d5db;
}

[data-theme="dark"] .confirm-actions {
    border-top-color: #374151;
}

[data-theme="dark"] .confirm-btn-cancel {
    background: #374151;
    color: #d1d5db;
}

[data-theme="dark"] .confirm-btn-cancel:hover {
    background: #4b5563;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .confirm-dialog {
        max-width: none;
        margin: 20px;
    }

    .confirm-actions {
        flex-direction: column-reverse;
    }

    .confirm-btn {
        width: 100%;
    }
}
