/* Estilos globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: rgba(0, 0, 0, 0.05);
    color: #004d40;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: #3B5998;
    padding: 1rem;
    border-bottom: 3px solid #004d40;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand, .navbar-nav .nav-link {
    color: #FFFFFF;
    font-weight: bold;
    text-transform: uppercase;
}

.navbar-nav .nav-link:hover {
    color: #e0e0e0;
    transform: scale(1.1);
}

/* Formulário */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

h1 {
    color: #004d40;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

label {
    color: #004d40;
    font-weight: bold;
}

/* Alinhamento dos campos */
.location-fields {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: space-between;
}

.location-group {
    flex: 1;
}

input.small-input {
    width: 100px;
}

/* Ajustes para Inputs */
input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #004d40;
    border-radius: 5px;
}

/* Ajustes para campos menores */
input.half-width {
    width: 48%;
}

input.small-input {
    width: 80px;
    margin-right: 10px;
}

/* Botão de envio */
input[type="submit"] {
    background-color: #3B5998;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #2e4c82;
}

/* Checkboxes */
.border {
    border: 2px solid rgba(3, 29, 53, 0.8);
    border-radius: 8px;
    padding: 15px;
}

.form-check-input:checked {
    background-color: #007bff;
}

.form-check-label {
    font-weight: bold;
    color: rgba(3, 29, 53, 0.8);
}

/* Tabelas */
/* styles.css */
.table-container {
    margin-top: 20px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px;
    text-align: center;
    border: 2px solid #ddd;
}

.table tbody tr:hover {
    background-color: #e3f2fd;
}

/* Botões */
.btn {
    padding: 0.8rem;
    border-radius: 50px;
}

.btn-primary {
    background-color: #3B5998;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2e4c82;
}

.btn-success:hover {
    background-color: #218838;
}

/* Footer */
footer {
    background-color: #3B5998;
    color: #FFFFFF;
    padding: 2rem 0;
    text-align: center;
}

.logo-img {
    max-width: 100%;
    max-height: 200px;
}

/* Estilização aprimorada para sliders */
.slider-container {
    width: 100%;
    max-width: 600px;
    padding: 10px 0;
    text-align: left;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 400px;
    height: 10px;
    border-radius: 10px;
    background: linear-gradient(90deg, #007bff 0%, #00c853 100%);
    outline: none;
}

/* Estilo do polegar para diferentes navegadores */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-ms-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Ajuste para dispositivos móveis */
@media (max-width: 600px) {
    input[type="range"] {
        width: 100%;
    }
}

/*Product Session*/
#productSection {
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

#categoryCheckboxes {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap; /* opcional: remove se quiser 100% horizontal */
    justify-content: start;
}

#categoryCheckboxes .form-check {
    white-space: nowrap;
}

