/* ========================================================
   HISTORICO DE MUDANCA DE STATUS - AUDITORIA OPERACIONAL (CLEAN ENTERPRISE DAYLIGHT)
   ======================================================== */
.btn-hist-direct {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    width: 30px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-hist-direct:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.status-timeline {
    position: relative;
    padding-left: 28px;
    margin: 16px 0;
}

.status-timeline::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 10px;
    width: 2px;
    background: #cbd5e1;
}

.status-timeline-item {
    position: relative;
    margin-bottom: 18px;
}

.status-timeline-item:last-child {
    margin-bottom: 0;
}

.status-timeline-dot {
    position: absolute;
    left: -28px;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #0284c7;
}

.status-timeline-item.active-dot .status-timeline-dot {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.status-timeline-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    color: #0f172a;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.status-timeline-card:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

#modalServiceDetails .modal-card {
    width: 720px;
    max-width: 96vw;
}

.hist-modal-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0;
}

.hist-tab-btn {
    background: transparent;
    border: none;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
    margin-bottom: -1px;
}

.hist-tab-btn.active {
    color: #0284c7;
    border-bottom-color: #0284c7;
}

.hist-tab-btn:hover:not(.active) {
    color: #0f172a;
}

.hist-tab-panel {
    display: none;
}

.hist-tab-panel.active {
    display: block;
}

/* ========================================================
   ESTILOS: ANALYTICS E INDICATIVO DE GERADORES MÓVEIS
   ======================================================== */
.geradores-usage-card {
    padding: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg, 12px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 3.5px solid #d97706;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.badge-multigen {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    animation: none;
}

.badge-single-gen {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
}