/* Custom Confirm Modal */
#confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent backdrop */
    backdrop-filter: blur(2px);
    z-index: 2147483646;
    /* Just below toast (MAX_INT - 1) */
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

#confirm-modal-overlay.show {
    opacity: 1;
}

.confirm-modal {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: var(--radius-lg, 12px);
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

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

.confirm-modal-icon {
    width: 50px;
    height: 50px;
    background: #fff2f0;
    color: #ff4d4f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.confirm-modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary, #333);
    margin-bottom: 0.5rem;
}

.confirm-modal-message {
    color: var(--text-secondary, #666);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

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

.confirm-btn {
    flex: 1;
    padding: 0.75rem;
    border-radius: var(--radius-md, 8px);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.confirm-btn-cancel {
    background: var(--bg-secondary, #f5f5f5);
    color: var(--text-secondary, #666);
}

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

.confirm-btn-ok {
    background: var(--accent, #ff4d4f);
    color: white;
}

.confirm-btn-ok:hover {
    background: #ff7875;
    transform: translateY(-1px);
}