/* ====================== BUSCADOR DE AMORTIGUADORES ====================== */
.buscador-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 30px;
    background: #1e2937;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.buscador-container h1 {
    text-align: center;
    color: #f59e0b;
    margin-bottom: 8px;
    font-size: 2.4rem;
}

.subtitle {
    text-align: center;
    color: #cbd5e1;
    margin-bottom: 35px;
    font-size: 1.15rem;
}

.search-bar {
    position: relative;
    max-width: 720px;
    margin: 0 auto 40px;
}

.search-bar input {
    width: 100%;
    padding: 18px 25px 18px 65px;
    font-size: 1.2rem;
    border: 2px solid #f59e0b;
    border-radius: 50px;
    background: #334155;
    color: white;
    outline: none;
    transition: all 0.3s;
}

.search-bar input:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.search-bar i {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.7rem;
    color: #f59e0b;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #334155;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

th, td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #475569;
}

th {
    background: #1e2937;
    color: #f59e0b;
    font-weight: 600;
    font-size: 1.05rem;
}

td {
    color: #e2e8f0;
}

.codigo {
    font-weight: bold;
    color: #60a5fa;
}

tr:hover {
    background: #475569;
    transition: background 0.3s;
}

.no-result {
    text-align: center;
    padding: 50px 20px;
    color: #f87171;
    font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .buscador-container {
        margin: 20px 10px;
        padding: 25px 15px;
    }
    
    table {
        font-size: 0.95rem;
    }
    
    th, td {
        padding: 12px 10px;
    }
}