h1{

    margin: 30px 120px;
    text-align: center;

}

h2{

    font-size: 3em;
    margin-bottom: 30px;
    text-align: center;

}

.container-pedido-menor p{

    margin-left: 30px;
    font-size: 1.4em;

}

nav{

    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;

}

body{

    padding-bottom: 20vh;

}

.container-pedido{

    width: 80%;
    background-color: rgb(59, 59, 59);
    border: 4px solid grey;
    margin-inline: auto;
    padding: 80px 100px;
    border-radius: 30px;
    margin-block: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.container-pedido-menor{

    width: 60%;
    background-color: rgb(59, 59, 59);
    border: 4px solid grey;
    margin-inline: auto;
    padding: 80px 100px;
    border-radius: 30px;
    margin-block: 50px;
    position: relative;

}

.container-pedido-menor h2{

    margin: 0 auto;
    margin-bottom: 30px;

}

.desativado{

        display: none;

}
.desativado2{

        display: none;

}

.container-pedido h2{

    position: relative;

}

.num{

    position: absolute;
    display: flex;
    background-color: rgb(244, 93, 184);
    width: 50px;
    font-size: 0.7em;
    aspect-ratio: 1/1;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    left:  -70px;
    bottom: 5px;

}
/* --- RESET E ÁREA --- */

fieldset {

    display: flex;
    justify-content: space-around;
    gap: 10vw;
    border: none;
    padding: 0;
    margin-top: 30px;
}

fieldset div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}



/* --- ESCONDER RADIO NATIVO --- */

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
}



/* --- ESTILO DO RADIO CUSTOMIZADO --- */

input[type="radio"] {
    width: 22px;
    height: 22px;
    border: 2px solid rgb(244, 93, 184);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

/* Círculo interno (quando está marcado) */
input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgb(244, 93, 184);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hover suave */
input[type="radio"]:hover {
    border-color: rgb(235, 145, 199);
}



/* --- LABEL --- */

label.normal.bold {
    cursor: pointer;
    color: white;
    font-size: 1.5em;
}

select{

    height: 50px;
    padding-inline: 10px;
    font-size: 1.1em;
    color: white;
    background-color: rgb(59, 59, 59);
    border: 4px solid rgb(244, 93, 184);

}

/* Remove estilos padrões */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 30px;
    background: transparent;
    cursor: pointer;
    margin: 10px 0;
}

/* ===== Trilho ===== */
input[type="range"]::-webkit-slider-runnable-track {
    height: 30px;
    background: linear-gradient(90deg, rgb(235, 145, 199), rgb(241, 50, 165));
    border-radius: 10px;
}

input[type="range"]::-moz-range-track {
    height: 30px;
    background: linear-gradient(90deg, rgb(235, 145, 199), rgb(241, 50, 165));
    border-radius: 10px;
}

/* ===== Thumb (bolinha) ===== */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 40px;
    width: 22px;
    background: #fff;
    border: 3px solid rgb(241, 50, 165);
    border-radius: 5px;
    margin-top: -5px; /* alinhar no trilho */
    cursor: grab;
    transition: 0.2s;
}
input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
    height: 22px;
    width: 22px;
    background: #fff;
    border: 3px solid rgb(241, 50, 165);
    border-radius: 50%;
    cursor: grab;
    transition: 0.2s;
}

/* ===== Cor da parte já percorrida (Firefox) ===== */
input[type="range"]::-moz-range-progress {
    background: rgb(241, 50, 165);
    height: 12px;
    border-radius: 10px;
}

.btn1{

    height: 15vh;
    width: 90%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em

}

input[type='date']{

    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 70%;
    border: 3px solid rgb(3, 3, 3) !important;
    padding: 10px;
    border-radius: 15px;
    color: rgb(0, 0, 0);

}

.flex-inputs{

    display: flex;
    align-items: center;

}

.flex-inputs form{

    width: 100%;
    display: flex;
    flex-direction: column;

}

.btnB{

    background-color: rgb(244, 93, 184);
    border: 3px solid white;
    border-radius: 15px;
    padding: 10px 60px;
    font-size: 1.3em;
    position: absolute;
    right: 30px;
    bottom: 30px;

}

textarea{

    resize: none;
    width: 90%;
    height: 25vh;
    font-size: 1.15em;
    background-color: rgb(126, 126, 126);
    border: 3px solid black;
    border-radius: 10px;
    color: black;
    cursor: pointer;
    box-sizing: border-box;
    padding: 15px;

}

.obs{

    display: flex;
    flex-direction: column;
    align-items: center;

}

#data {
    appearance: none;
    -webkit-appearance: none;
    color: transparent; /* Esconde o texto "dd/mm/aaaa" */
    position: absolute;
    width: 1px;
    height: 1px;
    top: 30px;
    opacity: 0;
    padding: 10px;
    cursor: pointer;
}

#data:valid {
    color: #000;
}

.btnData{

    height: 60px;
    background-color: rgb(244, 93, 184);
    border: 4px solid rgb(128, 44, 95);
    border-radius: 15px;
    color: white;
    font-size: 1.5em;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;

}

.adicionais{

    background-color: #676767;
    width: 100%;
    box-sizing: border-box;
    padding: 50px;
    border: 5px solid rgb(186, 186, 186);
    border-radius: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    
}

.container-pedido h2{

    margin-inline: 0;
    margin-block: 20px;

}

.adc-container{

    background-color: #3B3B3B;
    padding: 0px 20px;
    padding-right: 0;
    border: 5px solid #808080;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;

}

.add{

    background-color: rgb(23, 210, 23);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 75px;
    box-sizing: border-box;
    border: 3px solid white;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    font-size: 1.2em;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all ease-out 0.2s;

}

.add:hover{

    background-color: rgb(16, 168, 16);

}

.selecionado{

    background-color: red;

}

.add:hover.selecionado{

    background-color: rgb(207, 0, 0);
    
}

@media (max-width: 768px){

    .container-pedido{

        width: 100%;
        border-radius: 0;
        border-inline: 0;
        padding: 40px 10px;
        position: relative;

    }

    h2{

        font-size: 2em;
        margin-bottom: 30px;
        text-align: center;
        width: 70%;
        margin-left: 10%;

    }

    .num{

        left: -40px;
        width: 40px;
        scale: 1.25;
        bottom: unset;

    }

    fieldset {

        display: flex;
        justify-content: space-around;        
        border: none;
        padding: 0;
        margin-top: 30px;
    }

    fieldset div {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
    }

    input[type="radio"] {

        scale: 1.5;
        margin-right: 10px;

    }

    select{

        width: 100%;

    }

    .container-pedido-menor{

        width: 100%;
        border-radius: 0;
        border-inline: 0;
        padding-inline: 5vw;
        padding-block: 40px;
        box-sizing: border-box;

    }

    .btnB{

        position: unset;
        width: 100%;

    }

    .btnData{

        height: 80px;

    }

    .adicionais{

        grid-template-columns: 1fr;
        padding: 20px;

    }

    input[type="range"] {

        width: 80%;

    }

}
