/* Confirmation Modal Styles */
.confirm-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: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    backdrop-filter: blur(2px);
}

.confirm-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.confirm-modal {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.2s ease;
    text-align: center;
}

.confirm-modal-overlay.active .confirm-modal {
    transform: scale(1);
}

.confirm-modal-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.confirm-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-icon-exclamation {
    font-size: 28px;
    font-weight: 700;
    color: #dc2626;
    line-height: 1;
}

.confirm-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    padding: 0;
}

.confirm-modal-message {
    font-size: 14px;
    color: #666666;
    margin: 0 0 24px 0;
    line-height: 1.5;
    padding: 0;
}

.confirm-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

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

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

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

.confirm-btn-confirm {
    background: #dc2626;
    color: #ffffff;
}

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

.confirm-btn-confirm:active {
    transform: scale(0.98);
}

.confirm-btn-cancel:active {
    transform: scale(0.98);
}

/* Dark mode styles */
[data-theme="dark"] .confirm-modal {
    background: #2d2d2d;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .confirm-icon-circle {
    background: #7f1d1d;
}

[data-theme="dark"] .confirm-icon-exclamation {
    color: #ef4444;
}

[data-theme="dark"] .confirm-modal-title {
    color: #ffffff;
}

[data-theme="dark"] .confirm-modal-message {
    color: #b3b3b3;
}

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

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

/* Responsive */
@media (max-width: 480px) {
    .confirm-modal {
        padding: 20px;
        max-width: 90%;
    }

    .confirm-modal-title {
        font-size: 18px;
    }

    .confirm-modal-message {
        font-size: 13px;
    }

    .confirm-modal-buttons {
        flex-direction: column-reverse;
    }

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

