.hidden-block {
    visibility: hidden;
}

/* ===========================
   FORMULAIRES
=========================== */

#form_point_vente,
#form_materiau {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#form_point_vente label,
#form_materiau label {
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: -8px;
}

#form_point_vente select,
#form_materiau select,
#type_recherche {
    width: 100%;
    padding: 10px;
    border: 1px solid #475569;
    border-radius: 6px;
    background: #1e293b;
    color: #f8fafc;
    font-size: 14px;
    transition: 0.2s;
}

#form_point_vente select:focus,
#form_materiau select:focus,
#type_recherche:focus {
    outline: none;
    border-color: #3b82f6;
}

#btn_recherche {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

#btn_recherche:hover {
    background: #1d4ed8;
}

#btn_recherche:active {
    transform: scale(0.98);
}

/* ===========================
   TABLEAU RESULTATS
=========================== */

#table_prix {
    width: 100%;
    border-collapse: collapse;
}

#table_prix thead {
    background: #1e293b;
}

#table_prix th {
    color: #60a5fa;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 15px 20px;
    border-bottom: 2px solid #2563eb;
}

#table_prix td {
    padding: 16px 20px;
    color: #e2e8f0;
    border-bottom: 1px solid #334155;
}

#table_prix tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.03);
}

#table_prix tbody tr:hover {
    background: rgba(59,130,246,0.12);
}

#table_prix tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

#resultats {
    margin-top: 15px;
    color: #94a3b8;
    text-align: center;
    font-style: italic;
}

.badge-buy {
    background: #166534;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
}

.badge-sell {
    background: #991b1b;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
}

.localisation {
    font-weight: 600;
}

.localisation small {
    display: block;
    margin-top: 4px;
    opacity: 0.7;
    font-size: 12px;
}

.prix {
    color: #4ade80;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

.col-type-sell {
    color: #f87171;
}

.col-type-buy {
    color: #60a5fa;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 1200px) {

    #table_prix {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

}