/* ═══════════════════════════════════════════════
   Timer Confirmations — Modal de fase pausa
   Apple HIG style, aislado (no afecta otros módulos)
═══════════════════════════════════════════════ */

.tc-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
    padding: 16px;
}

.tc-overlay--visible {
    background: rgba(0, 0, 0, .4);
}

.tc-modal {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2), 0 2px 8px rgba(0, 0, 0, .08);
    width: 100%;
    max-width: 380px;
    overflow: hidden;
    opacity: 0;
    transform: scale(.95) translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}

.tc-modal--visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Header */
.tc-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 22px 0;
}

.tc-modal-icon {
    font-size: 24px;
    color: var(--tc-accent, #af52de);
    flex-shrink: 0;
}

.tc-modal-title {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.3;
}

/* Body */
.tc-modal-body {
    padding: 12px 22px 16px;
}

.tc-modal-text {
    margin: 0 0 8px;
    font-size: 14px;
    color: #3a3a3c;
    line-height: 1.5;
}

.tc-modal-fase {
    margin: 0;
    font-size: 12px;
    color: #86868b;
}

.tc-modal-fase strong {
    color: #48484a;
}

/* Actions */
.tc-modal-actions {
    display: flex;
    gap: 10px;
    padding: 0 22px 20px;
}

.tc-btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity .15s ease, transform .1s ease;
    line-height: 1;
}

.tc-btn:active {
    transform: scale(.97);
}

.tc-btn--cancel {
    background: #d1d1d6;
    color: #1c1c1e;
}

.tc-btn--cancel:hover {
    background: #c7c7cc;
}

.tc-btn--confirm {
    background: #af52de;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.tc-btn--confirm:hover {
    opacity: .9;
}

.tc-btn--confirm:focus-visible {
    outline: 2px solid var(--tc-accent, #af52de);
    outline-offset: 2px;
}
