/* ----- barra de select ----- */
.select-1,
.select-2,
.select-3,
.select-4 {
    width: 160px;
    position: relative;
}

.select-1 #selected-value-1,
.select-2 #selected-value-2,
.select-3 #selected-value-3,
.select-4 #selected-value-4 {
    margin-left: 10px;
}

#age-select label,
#weight-select label,
#height-select label,
#cavalo-select label {
    font-size: 0.75rem;
    letter-spacing: 0.0225rem;
}

.select-1 #select-button,
.select-2 #select-button,
.select-3 #select-button,
.select-4 #select-button {
    display: flex;
    padding: .3rem .7rem;
    align-items: center;
    justify-content: space-between;

    border-radius: 30px;
    background-color: #FFF;
}

#selected-value-1,
#selected-value-2,
#selected-value-3,
#selected-value-4 {
    font-family: 'Montserrat Semibold', sans-serif;
    font-size: 16px;
    color: var(--blue);
    letter-spacing: 0.02625rem;
}

#chevrons svg {
    width: 1.2rem;
    height: 1.2rem;
}

.select-1 #chevrons,
.select-2 #chevrons,
.select-3 #chevrons,
.select-4 #chevrons {
    width: 30px;
    height: 30px;
    display: grid;
    place-content: center;
}

#chevrons [data-lucide="chevron-up"] {
    display: none;
}

#options-view-button-1:checked+#select-button #chevrons [data-lucide="chevron-down"],
#options-view-button-2:checked+#select-button #chevrons [data-lucide="chevron-down"],
#options-view-button-3:checked+#select-button #chevrons [data-lucide="chevron-down"],
#options-view-button-4:checked+#select-button #chevrons [data-lucide="chevron-down"] {
    display: none;
}

#options-view-button-1:checked+#select-button #chevrons [data-lucide="chevron-up"],
#options-view-button-2:checked+#select-button #chevrons [data-lucide="chevron-up"],
#options-view-button-3:checked+#select-button #chevrons [data-lucide="chevron-up"],
#options-view-button-4:checked+#select-button #chevrons [data-lucide="chevron-up"] {
    display: block;
}

#age-select,
#weight-select,
#height-select,
#cavalo-select {
    position: relative;
}

#options-view-button-1,
#options-view-button-2,
#options-view-button-3,
#options-view-button-4 {
    all: unset;

    position: absolute;
    inset: 0;

    cursor: pointer;
    z-index: 3;
}

#options-1,
#options-2,
#options-3,
#options-4 {
    margin-top: .25rem;

    border: 1px solid var(--light-blue-2);
    border-radius: 1rem;
    background-color: var(--white);

    display: none;

    width: 160px;
    position: absolute;
    z-index: 10000;
	pointer-events: auto;

    font-size: 13px;
}


/* ----- bloco de opcoes ----- */
.option-1,
.option-2,
.option-3,
.option-4 {
    display: flex;
    align-items: center;
    gap: .5rem;

    padding: .75rem 1rem;
    border-bottom: 1px solid var(--light-blue-2);

    position: relative;
}

.option-1 .label,
.option-2 .label,
.option-3 .label,
.option-4 .label {
    font-family: 'Montserrat Semibold', sans-serif;
    color: var(--blue);
}

.option-1:has(input:checked),
.option-1:hover,
.option-2:has(input:checked),
.option-2:hover,
.option-3:has(input:checked),
.option-3:hover,
.option-4:has(input:checked),
.option-4:hover {
    background-color: #c9c9c9;
}

.option-1:first-child,
.option-2:first-child,
.option-3:first-child,
.option-4:first-child {
    border-radius: 1rem 1rem 0 0;
}

.option-1:last-child,
.option-2:last-child,
.option-3:last-child,
.option-4:last-child {
    border-radius: 0 0 1rem 1rem;
    border-bottom: 0;
}

.option-1 input[type="radio"],
.option-2 input[type="radio"],
.option-3 input[type="radio"],
.option-4 input[type="radio"] {
    all: unset;

    position: absolute;
    inset: 0;

    cursor: pointer;
}

#age-select:has(#options-view-button-1:checked)+#options-1,
#weight-select:has(#options-view-button-2:checked)+#options-2,
#height-select:has(#options-view-button-3:checked)+#options-3,
#cavalo-select:has(#options-view-button-4:checked)+#options-4 {
    display: block;
}

/* ----- media queries ------- */
/* @media (max-width: 500px) {
	.select-1 {
		width: 75px;
	}
	.select-1 #select-button {
		padding: 0;
	}
	#selected-value-1 {
		font-size: 13px;
	}
	.select-1 #chevrons img {
		width: 14px;
	}
} */