:root {
    --confirm-primary: #22747f;
    --confirm-primary-dark: #1a5c66;
    --confirm-danger: #ef4444;
    --confirm-bg: rgba(0, 0, 0, 0.4);
    --confirm-dialog-bg: #ffffff;
    --confirm-text: #1f2937;
    --confirm-text-light: #6b7280;
}

.confirm-overlay {
    position: fixed;
    inset: 0;
    background: var(--confirm-bg);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2147483647 !important;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.confirm-overlay.active {
    opacity: 1;
}

.confirm-dialog {
    background: var(--confirm-dialog-bg);
    padding: 1.5rem;
    border-radius: 5px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.confirm-overlay.active .confirm-dialog {
    transform: none;
}

.confirm-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f4f6;
    color: #4b5563;
    transition: all 0.3s ease;
}

.confirm-icon-success {
    background: #ecfdf5;
    color: #10b981;
}

.confirm-icon-info {
    background: #eff6ff;
    color: #3b82f6;
}

.confirm-icon-question {
    background: #fef3c7;
    color: #f59e0b;
}

.confirm-icon-alert {
    background: #fef2f2;
    color: #ef4444;
}

.confirm-icon svg,
.confirm-icon i {
    width: auto;
    height: auto;
    font-size: 1.5rem;
}

.confirm-icon svg {
    width: 24px;
    height: 24px;
}

.confirm-message {
    font-size: 1rem;
    font-weight: 600;
    color: var(--confirm-text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.confirm-description {
    font-size: 0.875rem;
    color: var(--confirm-text-light);
    margin-bottom: 1.5rem;
}

.confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.confirm-btn {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.875rem;
}

.confirm-btn-confirm {
    background: var(--confirm-primary);
    color: white;
    border: none;
}

.confirm-btn-confirm:hover {
    background: var(--confirm-primary-dark);
}

.confirm-btn-cancel {
    background: #ffffff;
    color: var(--confirm-text);
    border: 1px solid #d1d5db;
}

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

/* Animations removed */

/* ============================================================
   BROWSER DARK MODE NEUTRALIZER – Custom Dialog
   ============================================================ */
