/* Para navegadores Webkit como Google Chrome */
::-webkit-scrollbar {
  width: 8px; /* Cambia el ancho del scroll vertical */
}

::-webkit-scrollbar-thumb {
  background: #888; /* Cambia el color de la barra de desplazamiento */
  border-radius: 4px; /* Añade esquinas redondeadas */
}

/* Para navegadores Firefox */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #888 #f0f0f0; /* Cambia el color del scroll en Firefox */
}


header {
    width: 100%;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid gray;
}

h2 {
    font-weight: bold;
}

form>div>.input-group-text {
    width: 110px;
    font-weight: bold;
    border: none
}

select,
textarea::placeholder {
    text-align: center;
    color: #777;
}

form {
    width: 70%;
    min-width: 340px;
    max-width: 525px;
    display: flex;
    flex-direction: column;
}

form>button {
    width: 150px;
    justify-self: center;
    align-self: center;
}

main {
    background-color: white;
    width: 100%;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 24px;
}

.tittle {
    text-align: center;
    width: 70%;
    min-width: 340px;
    max-width: 525px;
    margin-bottom: 24px;
}

.categoriesContainer {
    width: 70%;
    min-width: 340px;
    max-width: 525px;
}

.itemsList {
    padding: 8px;
}

ul {
    list-style: none;
}

/* INICIO ESTILOS DIVS DESPLEGABLES (CATEGORIAS) */
/* REF https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_accordion_symbol */

.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.active,
.accordion:hover {
    background-color: #ccc;
}

.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 6px;
}

.active:after {
    content: "\2212";
}

/* contenido "escondido" */
.panel {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

@media screen and (max-width: 500px) {
    .single-item-list {
        font-size: small;
        text-overflow: ellipsis;
    }
}
