/* Front-end Linhas de Americana */
.lv-post-content {
    line-height: 1.65;
}

.lv-odc-status {
    background: #fffbeb;
    border-left: 4px solid #d97706;
    padding: 8px 14px;
    border-radius: 4px;
    color: #78350f;
}

.lv-weekend-alert {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #d97706;
    color: #92400e;
    padding: 10px 14px;
    border-radius: 5px;
    margin: 12px 0 16px;
    font-size: 14px;
}

.lv-horarios-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    margin: 10px 0 18px;
    padding: 0;
    font-size: 0;
    line-height: 0;
}

.lv-horarios-grid br {
    display: none !important;
}

.lv-horario-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 82px;
    min-height: 32px;
    box-sizing: border-box;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: #1f2937;
    transition: all 0.2s ease;
}

.lv-horario-item strong {
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.lv-horario-item small,
.lv-horario-item .lv-seq-tag {
    font-size: 11.5px;
    line-height: 1.2;
    color: #4b5563;
    font-weight: 500;
}

.lv-horario-item.lv-next-departure {
    background: #d97706;
    border-color: #b45309;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.28);
}

.lv-horario-item.lv-next-departure strong,
.lv-horario-item.lv-next-departure small {
    color: #ffffff;
}

.lv-next-badge {
    display: inline-block;
    background: #fef3c7;
    color: #78350f;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 999px;
    margin-left: 4px;
}
.lv-next-disclaimer {
    margin: -10px 0 18px;
    padding: 8px 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 3px solid #d97706;
    border-radius: 4px;
    font-size: 12.5px;
    line-height: 1.45;
    color: #b45309;
}


/* Busca de ruas e paradas no itinerário */
.lv-stop-search-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px 14px;
    margin: 16px 0;
}

.lv-stop-search-box label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.lv-stop-search-input {
    width: 100%;
    max-width: 460px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
}

.lv-stop-search-count {
    display: inline-block;
    margin-left: 10px;
    font-size: 13px;
    color: #d97706;
    font-weight: 600;
}

.lv-itinerario-lista li.lv-stop-match {
    background: #fef3c7;
    color: #78350f;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Mapa Lazy Load */
.lv-osm-container {
    margin: 16px 0 22px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

.lv-osm-controls {
    padding: 10px 14px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.lv-osm-select {
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    max-width: 100%;
}

.lv-map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #4b5563;
    font-size: 14px;
}

.lv-osm-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 9px 14px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    font-size: 12.5px;
    color: #374151;
}

.lv-osm-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

.lv-dot-start { background: #16a34a; }
.lv-dot-stop  { background: #d97706; }
.lv-dot-end   { background: #dc2626; }

/* Shortcode [la_lista_linhas] */
.lv-directory-box {
    margin: 18px 0;
}

.lv-directory-search-bar {
    margin-bottom: 12px;
}

.lv-directory-search-bar label {
    display: block;
    margin-bottom: 6px;
}

.lv-directory-input {
    width: 100%;
    max-width: 480px;
    padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
}

.lv-directory-table-wrap {
    overflow-x: auto;
}

.lv-directory-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.lv-directory-table th,
.lv-directory-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.lv-directory-table th {
    background: #f9fafb;
    font-weight: 700;
}

.lv-dir-badge {
    display: inline-block;
    background: #d97706;
    color: #ffffff;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 13px;
}

.lv-dir-link {
    text-decoration: none;
    color: #111827;
}

.lv-dir-link:hover {
    color: #d97706;
    text-decoration: underline;
}

.lv-dir-btn {
    display: inline-block;
    background: #fffbeb;
    color: #d97706 !important;
    border: 1px solid #fcd34d;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.lv-dir-btn:hover {
    background: #d97706;
    color: #ffffff !important;
}

.lv-dir-soon {
    color: #6b7280;
    font-size: 12.5px;
}

.lv-day-status-alert {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #d97706;
    color: #b45309;
    padding: 10px 14px;
    border-radius: 5px;
    margin: 12px 0 16px;
    font-size: 14px;
    font-weight: 600;
}

.lv-quick-summary-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 18px 20px;
    margin: 14px 0 22px;
}

.lv-quick-summary-title {
    margin: 0 0 12px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.35;
}

.lv-quick-summary-list {
    margin: 0 0 14px 20px !important;
    padding: 0 !important;
    list-style: disc !important;
    color: #1e293b;
    font-size: 15px;
    line-height: 1.65;
}

.lv-quick-summary-list li {
    margin-bottom: 5px;
}

.lv-quick-next-banner {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 7px;
    padding: 11px 14px;
    margin: 12px 0 14px;
    color: #15803d;
    font-size: 15px;
    line-height: 1.45;
}

.lv-quick-next-banner strong {
    color: #15803d;
    font-weight: 700;
}

.lv-quick-next-banner span {
    color: #166534;
    font-weight: 500;
}

.lv-quick-summary-actions {
    margin-top: 8px;
}

.lv-copy-timetables-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #94a3b8;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.lv-copy-timetables-btn:hover {
    background: #f1f5f9;
    border-color: #64748b;
}

.lv-copy-timetables-btn.is-copied {
    background: #f0fdf4;
    border-color: #16a34a;
    color: #15803d;
}

.lv-seo-streets-summary {
    margin: 8px 0 14px;
    font-size: 14px;
    color: #334155;
    line-height: 1.55;
}

.lv-change-cta-box {
    background: #f8fafc;
    border-left: 4px solid #0f172a;
    padding: 12px 16px;
    margin: 14px 0 18px;
    border-radius: 0 6px 6px 0;
}
.lv-change-table-wrap {
    overflow-x: auto;
    margin: 12px 0 18px;
}
.lv-change-diff-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.lv-change-diff-table th,
.lv-change-diff-table td {
    border: 1px solid #cbd5e1;
    padding: 9px 11px;
    text-align: left;
    vertical-align: top;
}
.lv-change-diff-table th {
    background: #f1f5f9;
    font-weight: 700;
}

.lv-quick-next-header {
    margin-bottom: 6px;
}
.lv-quick-next-list {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}
.lv-quick-next-list li {
    margin: 3px 0;
}
.lv-quick-next-time {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.lv-recent-change-banner {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-left: 5px solid #d97706;
    color: #78350f;
    padding: 10px 14px;
    border-radius: 6px;
    margin: 12px 0 14px;
    font-size: 13.5px;
    line-height: 1.45;
}
.lv-recent-change-banner a {
    color: #92400e;
    font-weight: 700;
    text-decoration: underline;
}
.lv-schedule-filter-wrap {
    margin: 8px 0 12px;
}
.lv-schedule-filter-input {
    width: 100%;
    max-width: 340px;
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
}
.lv-article-line-box {
    border: 1px solid #e2e8f0;
    border-left: 4px solid #d97706;
    background: #fffbeb;
    border-radius: 6px;
    padding: 12px 14px;
    margin: 16px 0;
}
.lv-article-line-badge {
    display: inline-block;
    background: #d97706;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 6px;
}
.lv-article-line-link {
    margin: 6px 0 0;
    font-size: 13.5px;
}
