.compatibility-filter {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.compatibility-filter p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.filter-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.filter-section {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.filter-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    display: block;
}

.custom-select-container {
    position: relative;
    width: 100%;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    font-size: 12px;
    color: #666;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
}

select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    border: 1px solid #eee;
}

select:hover:not(:disabled) {
    border-color: var(--color-primary);
}

select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(36, 175, 201, 0.2);
}

.btn-verify {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 42px;
    white-space: nowrap;
    margin-bottom: 5px;
}

.btn-verify:hover {
    background-color: var(--btn-primary-hover);
}

/* Estilos para os cards de montadoras */
.montadora-card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.montadora-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--color-primary);
}

.montadora-card .card-body {
    padding: 1.5rem;
}

.montadora-card .card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.montadora-card .text-muted {
    font-size: 0.9rem;
}

/* Estilos para a página de compatibilidade */
.compatibility-page h1 {
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.compatibility-page h2 {
    color: #444;
    margin: 2rem 0 1rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.compatibility-page .card {
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.compatibility-page .card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.compatibility-page .form-label {
    font-weight: 500;
    color: #555;
}

.hover-shadow {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-section {
        width: 100%;
    }
    
    .compatibility-filter {
        padding: 10px 0;
    }
}

/* Estilização da barra de rolagem */
.select-options::-webkit-scrollbar {
    width: 8px;
}

.select-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 0 10px 0;
}

.select-options::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 4px;
}

.select-options::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Mantendo o estilo da tabela de compatibilidade na aba */
.compatibility-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.compatibility-table th,
.compatibility-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.compatibility-table th {
    font-weight: 500;
    color: #666;
    background-color: #f8f9fa;
}

.compatibility-table tr:last-child td {
    border-bottom: none;
}

.compatibility-table tr:hover td {
    background-color: #f8f9fa;
}

.select-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 10px 10px;
    z-index: 1002;
    max-height: 300px;
    overflow: hidden;
    margin-top: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.select-dropdown.active {
    display: block;
}

.search-input {
    width: 100%;
    padding: 10px 14px;
    border: none;
    font-size: 14px;
    outline: none;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.search-input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.select-options {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 250px;
    overflow-y: auto;
}

.select-option {
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #333;
}

.select-option:hover {
    background-color: #f0f7ff;
}

.select-option.selected {
    background-color: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
}

.select-option.hidden {
    display: none;
}

.compatibility-result {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    padding: 15px;
    border-radius: 10px;
    z-index: 1001;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.compatibility-result.compatible {
    background-color: #e6f0e6;
    color: #155724;
}

.compatibility-result.incompatible {
    background-color: #f8d7da;
    color: #721c24;
}
