/* Tipografia e Títulos */
.filters-header h2 { font-size: 1.4rem; color: var(--text-dark); margin-bottom: 4px; }
.filters-header p { font-size: 0.85rem; color: var(--primary); margin-bottom: 24px; }
.results-title h2 { font-size: 1.2rem; color: #0B4F4A; margin-bottom: -5px; font-family: 'Raleway', sans-serif; font-weight: 800; line-height: 24px;}
.results-title h1 { font-size: 2.2rem; color: var(--text-dark); font-family: 'Raleway', sans-serif; font-style: normal; font-weight: 800; line-height: 24px;}
.results-topbar { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px;}

/* Inputs */
.filter-group { margin-bottom: 20px; }
.filter-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--text-dark); }
.help-icon { display: inline-flex; justify-content: center; align-items: center; width: 16px; height: 16px; background: #cbd5e1; color: white; border-radius: 50%; font-size: 10px; font-weight: bold; cursor: help; margin-left: 4px; }
.input-style { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 0.9rem; outline: none; transition: border 0.2s; background-color: #fff; }
.input-style:focus { border-color: var(--primary); }
.input-style-sm { padding: 4px 8px; border: 1px solid #cbd5e1; border-radius: 4px; margin: 0 8px;}

/* Botões */
.btn-buscar { background-color: var(--primary); color: white; border: none; padding: 10px 20px; border-radius: 6px; font-weight: bold; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s; }
.btn-buscar:hover { background-color: var(--primary-dark); }
.search-action { text-align: right; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.btn-semantic-sm { font-size: 0.75rem; padding: 4px 8px; margin-top: 6px; background: #e2e8f0; color: #334155; border: none; border-radius: 4px; cursor: pointer; }

/* Mais filtros Toggle */
.mais-filtros-wrapper { background: #f1f5f9; padding: 10px; border-radius: 6px; margin-bottom: 20px; }
.btn-mais-filtros { background: transparent; border: none; width: 100%; text-align: left; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; color: var(--text-dark); }
.filtros-extras-container { display: none; margin-top: 15px; }
.filtros-extras-container.open { display: block; }

/* Estilo do Card Novo (Mockup) */
.cards-list { display: flex; flex-direction: column; gap: 20px; }
.rebec-card { display: flex; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 24px; gap: 24px; position: relative; box-shadow: 0 2px 4px rgba(0,0,0,0.02); transition: 0.2s; }
.rebec-card:hover { border-color: #cbd5e1; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.card-left { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 15px; }
.card-right { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }

/* Divisor do meio do card (Mockup) */
.card-divider { width: 40px; display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.card-divider::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #e2e8f0; }
.quote-icon { width: 32px; height: 32px; background: #e2e8f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; color: white; font-family: Georgia, serif; font-size: 30px; line-height: 1; padding-top: 10px; }

/* Tags do card */
.id-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.outline-tag { border: 1px solid var(--primary); color: var(--primary); font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.card-title { font-size: 1.1rem; color: var(--text-dark); line-height: 1.4; margin: 0; }
.status-tag-box { display: inline-block; background-color: var(--status-bg); color: var(--status-text); font-size: 0.7rem; font-weight: bold; padding: 4px 12px; border-radius: 4px; text-transform: uppercase; align-self: flex-start; }
.card-snippet { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.conditions-area { margin-top: 15px; font-size: 0.8rem; }
.conditions-area strong { color: var(--text-dark); display: block; margin-bottom: 4px; }
.solid-tag { background-color: var(--tag-bg); color: var(--tag-text); padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: bold; display: inline-block; }

/* Autocomplete e Paginação mantidos e ajustados */
.autocomplete-wrapper { position: relative; width: 100%; }
.autocomplete-dropdown { position: absolute; top: 100%; left: 0; width: 100%; background: white; border: 1px solid #cbd5e1; z-index: 10; max-height: 200px; overflow-y: auto; display: none; box-shadow: 0 4px 6px rgba(0,0,0,0.1); border-radius: 0 0 6px 6px; }
.autocomplete-dropdown.open { display: block; }
.autocomplete-item { padding: 8px 12px; cursor: pointer; font-size: 0.85rem; }
.autocomplete-item:hover, .autocomplete-item.focused { background: #f1f5f9; color: var(--primary); }

.pagination { display: flex; gap: 5px; justify-content: flex-end; margin-top: 30px; }
.page-btn { border: none; background: transparent; padding: 8px 12px; font-weight: bold; color: var(--text-muted); cursor: pointer; border-radius: 4px; }
.page-btn:hover { background: #f1f5f9; color: var(--primary); }
.page-btn.active { background: var(--primary); color: white; }