/* ================================
   💎 Универсальное CONFIRM-ОКНО
   ================================ */
.tc-confirm-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tc-confirm-overlay.visible {
    opacity: 1;
}

.tc-confirm-box {
    background: linear-gradient(135deg, #2a2a48, #1f2035);
    border: 2px solid #3f3f6b;
    border-radius: 14px;
    padding: 25px 30px;
    text-align: center;
    box-shadow: 0 0 25px rgba(74,63,143,0.5);
    font-family: 'Inter', sans-serif;
    color: #f5f5f5;
    max-width: 360px;
    width: 90%;
    animation: confirmPop 0.3s ease;
}

.tc-confirm-box .tc-confirm-icon {
    font-size: 36px;
    margin-bottom: 10px;
    animation: iconPulse 1.5s infinite ease-in-out;
}

.tc-confirm-message {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #e4e4e7;
}

.tc-confirm-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Типы модалей */
.tc-confirm-box.danger {
    box-shadow: 0 0 25px rgba(239,68,68,0.5);
}
.tc-confirm-box.success {
    box-shadow: 0 0 25px rgba(34,197,94,0.5);
}
.tc-confirm-box.warning {
    box-shadow: 0 0 25px rgba(234,179,8,0.4);
}
.tc-confirm-box.info {
    box-shadow: 0 0 25px rgba(96,165,250,0.4);
}

/* Анимации */
@keyframes confirmPop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.85; }
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .tc-confirm-box {
        padding: 20px;
        font-size: 14px;
    }

    .tc-confirm-actions {
        flex-direction: column;
        gap: 10px;
    }
}
