/* ════════════════════════════════════════════════
   CARDS DE ROTEIRO MINIMALISTAS (Promotor)
════════════════════════════════════════════════ */

.store-route-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.store-route-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--orange);
}

.store-route-card.done {
    opacity: 0.7;
    background: rgba(34,197,94,0.05);
    border-color: var(--green);
}

.store-route-card.done:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Botão de sync manual no header do promotor */
.sync-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.sync-btn:hover {
    background: var(--teal);
    color: white;
    border-color: var(--teal);
}

.sync-btn.syncing {
    pointer-events: none;
    opacity: 0.7;
}

.sync-btn.syncing i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ════════════════════════════════════════════════
   PAINEL DE VISITA ATIVA — MINIMALISTA
════════════════════════════════════════════════ */

.active-checkin-card {
    background: linear-gradient(135deg, rgba(251,146,60,0.08), rgba(61,217,197,0.08));
    border: 2px solid var(--orange);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.active-checkin-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--teal));
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.checkin-pulse {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 8px var(--orange), 0 0 16px rgba(251,146,60,0.4);
    }
    50% {
        box-shadow: 0 0 12px var(--orange), 0 0 24px rgba(251,146,60,0.6);
    }
}

.checkin-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.checkin-time-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.checkin-timer {
    font-size: 18px;
    font-weight: 800;
    color: var(--orange);
    font-variant-numeric: tabular-nums;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .store-route-card {
        padding: 14px;
    }
    
    .active-checkin-card {
        padding: 16px;
    }
    
    .checkin-info {
        font-size: 15px;
    }
    
    .checkin-timer {
        font-size: 16px;
    }
}
