@import url('https://fonts.cdnfonts.com/css/bai-jamjuree');

/*reseteo de los estilos por defecto de html*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bai Jamjuree SemiBold', sans-serif;
}

/*estilos general de la pagina*/
body {
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    padding: auto;
}

/*propiedades del atributo container*/
.container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 0;
}

.h2 {
    font-size: 25px;
}

.tituloDistribucion {
    font-size: 25px;
    margin-left: 5%;
}

input, select {
    width: 300px;
    height: 40px;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 0.5%;
}

/*/////////////////////////////////NAV/////////////////////////////////*/
nav {
    background-color: #492775;
    padding: 0.05rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;

}

.nav-logo {
    margin-right: auto;
    border-radius: 15px;
}

.nav-logo img {
    height: 50px;
    width: auto;
    border-radius: 15px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #000000;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #000000;
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/*SECCION DE IDIOMA (BANDERAS)*/

.dropdown {
    position: relative;
    display: inline-block;
    width: 150px;
}

.dropdown-btn {
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 15px;
}

.dropdown-btn img {
    width: 25px;
    height: auto;
    margin-right: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    width: 100%;
    z-index: 1000;
    border-radius: 15px;
}

.dropdown-content div {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-content div:hover {
    background-color: #f0f0f0;
}

.dropdown-content img {
    width: 25px;
    height: auto;
    margin-right: 10px;
}

.inputlogin, .inputIdioma {
    padding-left: 10px;
}


/*////////////////////////////MENÚ RESPONSIVE//////////////////////////*/
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 50px;   
    height: 45px;  
    z-index: 200;
}

.menu-toggle span {
    background: white;
    height: 10px;   
    width: 70%;   
    margin: 6px 0; 
    border-radius: 2px; 
    transition: 0.4s;
}

/*/////////////////DATOS DEL CLIENTE/////////////////*/

.showcase-container {
    background-color: white;
    box-shadow: #492775;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 5%;
}

.showcase-content {
    display: flex;
}

.columnaDatos1, .columnaDatos2 {
    flex: 1;
}

.material-icons {
    display: inline-block;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    margin-right: 1%;
    margin-bottom: 0.5%;
}


/*//////////////////////////////////////////////////REF.INSTALACION/DIRECCION//////////////////////////////////////////////////*/

.refdirec-container {
    background-color: white;
    margin-bottom: 20px;
    padding-left: 5%;
}

.columnas {
    display: flex;
}

.form-refer {
    margin-top: 0.5%;
}

/*/////////////////////////////////SECTION/////////////////////////////////*/

section {
    margin-top: 50px;
    margin-right: 200px;
    margin-left: 200px;
    border: 2px solid, #492775;
    padding: 10px;
    border-radius: 20px;
}

/*//////////////////////////////////////////////////DATOS GENERALES: DIMENSIONES DEL HUECO Y CABINA Y ALTURA//////////////////////////////////////////////////*/

.dimenptiShaft-container {
    background-color: white;
    margin-bottom: 20px;
}

#datosGEN {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#datosGEN h1, #datosGEN p {
    margin-top: 1%;
    margin-left: 5%;
    margin-bottom: 1%;
}

.Text-datgen h1 {
    display: inline-block;
    background: #492775;
    padding: 3px 20px;
    border-radius: 20px;
    font-size: 1.7rem;
    color: white;
}

.Text-datgen p {
    font-size: 25px;
}

.lableDistribucion {
    font-size: 20px;
}

.lableDistribucion label {
    font-size: 25px;
}

.botoneraCabina, .dimHueco, .acabadoSuelo, .dimCabina {
    flex: 1;
}

#dimHueco, #dimCabina {
    width: 20px;
    height: 20px;
    margin-left: 1.5%;
}

#dimAltura {
    margin-left: 5%;
    margin-top: 2%;
    margin-bottom: 2%;
}

.dimHueco label, .dimCabina label, .labeldimAltura {
    font-size: 25px;
}

.espaciado {
    margin-top: 0.1%;
}

/*//////////////////////////////////////////////////CARACTERISTICAS DEL ASCENSOR//////////////////////////////////////////////////*/

.caracteristicasASC-container {
    background-color: white;
}

.Text-caractAsc h1 {
    display: inline-block;
    background: #492775;
    padding: 3px 20px;
    border-radius: 20px;
    font-size: 1.7rem;
    margin-bottom: 8px;
    color: white;
}

.columna1, .columna2 {
    margin-top: 1%;
    flex:1
}

/*/////////////////////////////////////////////////SELECCION DE EMBARQUE/////////////////////////////////////////////////*/

.selectEmbar-container {
    background-color: white;
    margin-top: 20px;
    margin-bottom: 20px;
}

.Text-selectEmb h1 {
    display: inline-block;
    background: #492775;
    padding: 3px 20px;
    border-radius: 20px;
    font-size: 1.7rem;
    margin-bottom: 8px;
    color: white;
}

.embarquesFila2 {
    display: flex;
    margin-left: 5%;
}

#fila1Embarques {
    margin-top: 1%;
}

.lableDistribucion, .seleccionParadas {
    flex: 1;
}

#selectParadas {
    width: 20%;
}

#textoElegirMaximoEmbarques {
    padding-left: 34%;
}

.numParadas {
    display: inline-block;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    margin-right: 1%;
    margin-bottom: 0.5%;
}

#parada1, #parada2, #parada3, #parada4, #parada5, #parada6, #parada7, #parada8 {
    display: grid;
    grid-template-columns: 5% 16.8% repeat(4, 8%);
    align-items: center;
    justify-content: center;
    column-gap: 0.02%;
    margin-top: 1%;
    padding-right: 1.5%;
}


.embarquesIconos {
    display: grid;
    grid-template-columns: 6% 6% repeat(4, 9%);
    align-items: center;
    justify-content: center;
    column-gap: 5.4%;
    margin-top: 1%;
    margin-left: -8%;
}

.material-icons-Paradas {
    font-size: 20px;
    text-align: center;
    width: 5.5%; 
}

.material-icons[name^="alturaParada"] {
    font-size: 15px;
    text-align: center;
    width: 9%; 
    margin-left: 4.5%;
    margin-right: 7%;
}

.numSelectEmb {
    display: inline-block;
    margin-left: 105px;
}

.uno-img, .dos-img, .tres-img, .cuatro-img {
    width: 60px;
    height: 60px;
    margin-left: 70%;
}

.checkRadio {
    margin-left: 7%;
    margin-right: 7%;
    width: 25px;
    height: 25px;
}

.CheckAuto {
    margin-right: 10%;
}

.CheckAuto, .CheckManual {
    width: 50px;
    height: 20px;
    margin-left: 15px;
}

#seleccionEMBARQUES h1 {
    margin-top: 1%;
    margin-left: 5%;
}

#seleccionEMBARQUES h3 {
    margin-left: 5%;
    margin-bottom: 1%;
}


/*/////////////////////////////////////////////////////////////////POPUP/////////////////////////////////////////////////////////////////////////////*/
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    z-index: 1000;
    width: 500px;
    height: auto;
    max-width: none;
    max-height: 90vh;
    overflow: auto;
    box-sizing: border-box;
}

#popup h2 {
    margin-top: 0;
    text-align: center;
}

#popup p {
    margin: 0 0 16px 0;
    text-align: center;
}

.botones {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    /* Espacio entre botones */
    margin-top: 20px;
    margin-bottom: 20px;
    /* Añadido: evita que el último botón quede demasiado pegado al borde */
}

#cancelar, #aceptar {
    width: 30%;
    color: white;
    border: none;
    padding: 10px 0;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
}

#cancelar {
    background-color: #E4224C;
}

#aceptar {
    background-color: rgb(4, 245, 76);
}

#aceptar:disabled {
    background-color: #a5f5bd;
    cursor: not-allowed;
    opacity: 0.6;
}

.recorridoPopUp {
    text-align: center;
}

#paradasPopUpContainer {
    margin-left: 60px;
    margin-top: 20px;
}

#paradasPopUpContainer label {
    margin-right: 30px;
}

.parada {
    margin-bottom: 17px;
}


#paradasPopUpContainer input[type="text"] {
    width: 200px;
    margin-left: 10px;
}

/*scrollbar de la popup (Chatgpt)*/
#popup::-webkit-scrollbar {
    width: 8px;
}

#popup::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#popup::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

#popup::-webkit-scrollbar-thumb:hover {
    background: #888;
}

/*///////////////////////////////////////////////////////CARACTERISTICAS DE CABINA///////////////////////////////////////////////////////////////////////*/

.Text-caractCab h1 {
    display: inline-block;
    background: #492775;
    padding: 3px 20px;
    border-radius: 20px;
    font-size: 1.7rem;
    color: white;
    margin-bottom: 1%;
}

.Text-caractCab .h2 {
    font-size: 25px;
    margin-left: 5%;
}

#techo {
    flex: 1;
    margin-bottom: 15px;
    margin-left: 5%;
}

.inputTecho {
    width: 60%;
    padding-left: 10px;
}

/*label de  la  zona  de espejos*/
.labelSinEsp {
    padding-left: 6%;
}

.labelMidEsp {
    padding-left: 4%;
}

.labelEspVertical {
    padding-left: 3%;
    font-size: 100%;
}

.columnas {
    margin-top: 0.5%;
    margin-left: 5%;
}

#caracteristicasASC h1, #caracteristicasCAB h1 {
    margin-top: 1%;
    margin-left: 5%;
}

#caracteristicasCAB h3 {
    margin-bottom: 1%;
}

/*estilos de los botones radio de los espejos*/

.radioSinEsp, .radioMidEsp, .radioEspVertical {
    padding-left: 10%;
}

.Text-caractCabP {
    margin-left: 5%;
    padding-top: 10px;
    font-size: 15px;
}

#columnasEspejos {
    display: flex;
    margin-left: 5%;
}

.medioEspejo-img, .sinespejo-img, .espejoVertical-img {
    width: 50%;
}

.sinEspejo, .medioEspejo, .espejoVertical {
    margin-left: 5%;
    margin-top: 0.25%;
    flex: 1;
}

.labelEspVertical, .labelMidEsp, .labelSinEsp {
    margin-left: 5%;
}

.radioEspVertical, .radioMidEsp, .radioSinEsp {
    margin-left: 8%;
}

#columnasEspejos input[type="radio"] {
    width: 40px;
    height: 25px;
}

.pasamanos {
    flex: 1;
}
.posicion_botonera{
    flex: 1;
}

/*////////////////////////////////////////////DECORACION CABINA////////////////////////////////////////////////*/
.decoShaft-container {
    background-color: white;
    padding-left: 5%;
}

.Text-decoCab h1 {
    display: inline-block;
    background: #492775;
    padding: 3px 20px;
    border-radius: 20px;
    font-size: 1.7rem;
    margin-bottom: 8px;
    color: white;
    margin-top: 1%;
}

:root {
    --chip-radius: 12px;
    --chip-shadow: inset 0 0 0 2px rgba(0, 0, 0, .06);
    --accent: #2d7cff;
    --tile-min: 140px;
    --gap: 16px;
}

details {
    border: 2px solid #492775;
    border-radius: 12px;
    background: #fff;
    margin: 10px 0;
    overflow: hidden;
    margin-right: 5%;
}

summary {
    cursor: pointer;
    padding: 14px 18px;/*padding de la flecha del panel de colores*/
    font-weight: bold;
    font-size: 16px;
    list-style: none;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

summary::after {
    content: "▼";
    font-size: 0.8em;
    transition: transform 0.3s;
}

details[open] summary::after {
    transform: rotate(-180deg);
}


.color-picker {
    background: #fff;
    border: 2px solid #e6e8eb;
    border-radius: 16px;
    padding: 18px;
    margin-right: 5%;
    margin-left: 5%;
    margin-top: 1%;
    margin-bottom: 1%;
    font-family: var(--font);
}

.color-picker legend {
    padding: 0 1px;
    font-weight: 600;
    font-size: 16px;
}

.color-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.color {
    display: grid;
    grid-template-rows: auto;
    gap: 5px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.color input {
    position: absolute;
    inset: 0;
    opacity: 0;
    margin: 0;
}

.chip {
    border-radius: var(--chip-radius);
    box-shadow: var(--chip-shadow);
    background: var(--swatch, #eee);
    aspect-ratio: 8 / 5;
    position: relative;
}

.color input:focus-visible+.chip {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.color input:checked+.chip::after {
    content: "";
    position: absolute;
    left: -8px;
    top: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M20.3 6.7L10 17l-4.3-4.3 1.4-1.4L10 14.2l8.9-8.9z"/></svg>');
}

.preview {
    display: inline-block;
    vertical-align: middle;
    width: 1.1em;
    height: 1.1em;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2);
    margin: -0.15em 6px 0 8px;
}

.colorSeleccionado {
    margin-top: 10px;
    font-size: 14px;
}

.radioSuplementos {
    width: 20px;
    height: 20px;
    margin-top: 20px;
}

.suplementosOpcionalesItems {
    font-size: 25px;
    margin-bottom: 10px;
    margin-left: 10px;
}

/*///////////////////////////////////////////BOTON ENVIAR///////////////////////////////////////////////////*/
.btn-enviar {
    display: block;
    width: 300px;
    height: 50px;
    margin: 20px auto;
    padding: 10px;
    background-color: #492775;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.6s ease;
}

.btn-enviar:hover {
    background-color: #333;
    text-decoration: white;
    transition: transform 0.5s ease;
}
  /* Pequeña sombra para efecto visual */
.btn-enviar:active {
    transform: scale(0.95);
}

/*///////////////////////////////////////////FOOTER//////////////////////////////////////////////////////*/

.text-footer {
    text-align: center;
}

.text-footer {
    background-color: #333;
    color: white;
}

/*///////////////////////////////////////////////////////LOGIN/////////////////////////////////////////////////////////*/
.login .container{
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 0;
}

.login section{
     margin-top: 50px;
    margin-right: 35%;
    margin-left: 35%;
    border: 2px solid, #492775;
    padding: 10px;
    border-radius: 20px;
}

.login-container{/*separo aparte del login section para darles los estilos del interior*/
    text-align: center;
    background-color: white;    
}

#Nombre{
    padding-left: 2%;
}

#password{
    padding-left: 2%;
}

.ButtonLogin {
    display: block;
    width: 300px;
    height: 50px;
    margin: 20px auto;
    padding: 10px;
    background-color: #492775;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.6s ease;
}

.ButtonLogin:hover {
    background-color: #333;
    text-decoration: white;
    transition: transform 0.5s ease;
}
  
.ButtonLogin:active {
    transform: scale(0.95);
}

.invitado{
    padding-top: 2%;
    text-align: center;
}

.ButtonInvitado{
   display: block;
    width: 300px;
    height: 50px;
    margin: 20px auto;
    padding: 10px;
    background-color: white;
    color: #492775;
    border: 2px solid #492775;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.6s ease; 
}

.ButtonInvitado:hover{
    background-color: #492775;
    color: white;
    transition: transform 0.5s ease;
}

.ButtonInvitado:active{
    transform: scale(0.95);
}

.footer-login{
 margin-top: 7%;
display: block;
text-align: center;
 margin-left: 30%;
 margin-right: 30%;
 
}

.about{
    padding-left: 2%;
}

/*///////////////////////////////////////////////////////FORMULARIO///////////////////////////////////////////////////*/

.container2 {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.formulario-container {
    background-color: white;
    margin-bottom: 25px;
    margin-top: 50px;
    width: 35%;
}

#formulario {
    text-align: center;
}

.formularioClase {
    padding-top: 10px;
}

.material-icons-formulario {
    font-size: 18px;
}

.form-refer {
    padding-bottom: 10px;
}

.inputForm{
    font-size: 15px;
    padding-left: 10px;
}

.btn-enviar-form {
    display: block;
    width: 250px;
    height: 50px;
    margin: 20px auto;
    padding: 10px;
    background-color: #492775;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.6s ease;
}

.btn-enviar-form:hover {
    background-color: #333;
    text-decoration: white;
    transition: transform 0.5s ease;
}

.btn-enviar-form:active {
    transform: scale(0.95);
}

.about-form, .footer-form {
    text-align: center;
}

/*CAMBIAR COLOR DE INPUTS Y SELECTS DESHABILITADOS*/
input:disabled, select:disabled, button:disabled, textarea:disabled {
    background-color: #b9b9b9; /* Color de fondo gris claro */
    color: #474747; /* Color de texto gris oscuro */
    border: 2px solid #cccccc; /* Borde gris */
}

/*/////////////////////////////////////////RESPONSIVE//////////////////////////////////////////////////*/

/* Tablets y dispositivos medianos (<= 1024px) */
@media (max-width: 1024px) {

    h1 {
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        align-items: end;
        width: 100%;
        margin-top: 10px;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    section {
        margin: 20px;
    }

    .showcase-container {
        padding-left: 2%;
    }

    .refdirec-container {
        margin-bottom: 20px;
        padding-left: 2%;
    }

    #refINST {
        margin-right: 2%;
    }

    .Text-datgen p {
        font-size: 25px;
        padding-left: 1%;
    }

    .columnas {
        flex-direction: column;
        margin-left: 2%;
        margin-right: 2%;
    }

    #dimAltura {
        margin-left: 2%;
        margin-right: 2%;
    }

    .dimHueco label, .dimCabina label, .labeldimAltura {
        font-size: 25px;
        margin-left: auto;
    }

    .dimCabina {
        margin-top: 2%;
    }

    .columnas input, .columnas select {
        width: 100%;
        max-width: 100%;
    }

    input, select {
        width: 100%;
    }

    .embarquesFila2 {
        display: flex;
    }

    .lableDistribucion, .seleccionParadas {
        flex: 1;
    }

    .seleccionParadas i {
        margin-left: 25%;
    }

    #datosGEN h1, #seleccionEMBARQUES h1, #caracteristicasASC h1, #caracteristicasCAB h1, #seleccionEMBARQUES h3, #caracteristicasCAB label {
        margin-left: 2%;
    }

    #datosGEN p {
        margin-left: 1%;
    }

    .tituloDistribucion {
        font-size: 25px;
        margin-left: 2%;
        margin-top: 10px;
    }

    .embarquesIconos {
        padding-left: 17%;
        column-gap: 11.2%;
    }

    .uno-img, .dos-img, .tres-img, .cuatro-img {
        margin-left: 135%;
        width: 50px;
        height: 50px;
        
    }

    #parada1, #parada2, #parada3, #parada4, #parada5, #parada6, #parada7, #parada8 {
        margin-left: 2%;
    }

    .tituloDistribucion, #textoElegirMaximoEmbarques {
        display: none;
    }

    .material-icons-Paradas {
        display: none;
    }

    .material-icons {
        font-size: 16px;
    }

    .paradas, .btnSelect, #parada0, #parada90, #parada180, #parada270 {
        flex: 1 1 100%;
        margin-left: 0;
    }

    .seleccionParadas {
        margin-right: 5%;
        margin-bottom: 2%;
    }

    .numSelectEmb, .checkRadio {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    #techo {
        margin-left: 2%;
        margin-right: auto;
    }

    #columnasEspejos {
        display: flex;
    }

    .sinEspejo, .medioEspejo, .espejoVertical {
        flex: 1;
    }

    .Text-caractCabP {
        margin-left: 2%;
        padding-top: 10px;
        font-size: 15px;
    }

    .login section {
        margin-left: 20%;
        margin-right: 20%;
    }

    .footer-login {
       display: block;
       margin-left: 20%;
       margin-right: 20%;
       text-align: center;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #492775;
        position: absolute;
        top: 70px;
        left: 0;
        text-align: center;
        z-index: 150;
        padding: 0;
        border-radius: 10px;
        /*animacion del nav (despliegue de los apartados del nav)*/
        opacity: 0;
        transform: translateY(-20px); /* comienza un poco arriba */
        pointer-events: none;
        transition: all 0.4s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0); /* baja hasta su posición */
        padding: 1rem 0;
        pointer-events: auto;
    }

    .nav-links li {
        margin: 1rem 0;
    }
  
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(15px, 15px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    .footer-login{
       display: block;
       margin-left: 10%;
       margin-right: 10%;
       text-align: center;
    }

    .container2 {
        width: 90%;
    }

    .decoShaft-container {
        padding-left: 2%;
    }

    .formulario-container {
        background-color: white;
        margin-bottom: 50px;
        margin-top: 50px;
        width: 75%;
    }

    .inputForm {
        width: 75%;
    }

}

/* Móviles pequeños (<= 768px) */
@media (max-width: 768px) {
    
    .nav-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-logo img {
        height: 40px;
    }

    .showcase-content {
        flex-direction: column;
        margin-left: 3%;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #492775;
        position: absolute;
        top: 70px;
        left: 0;
        text-align: center;
        z-index: 150;
        padding: 0;
        border-radius: 10px;
        /*animacion del nav (despliegue de los apartados del nav)*/
        opacity: 0;
        transform: translateY(-20px); /* comienza un poco arriba */
        pointer-events: none;
        transition: all 0.4s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0); /* baja hasta su posición */
        padding: 1rem 0;
        pointer-events: auto;
    }

    .nav-links li {
        margin: 1rem 0;
    }
  
    /* Animación de la tres barras → X */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(15px, 15px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .refdirec-container, .dimenptiShaft-container, .caracteristicasASC-container, .selectEmbar-container, .decoShaft-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .columnas, #dimAltura {
        flex-direction: column;
        margin-left: 0;
    }

    .columnas>div {
        margin-bottom: 20px;
    }

    input, select {
        width: 100%;
        font-size: 14px;
    }

    .btn-enviar {
        width: 90%;
    }

    .suplementosOpcionalesItems {
        font-size: 18px;
    }

    .radioSuplementos {
        width: 16px;
        height: 16px;
    }

    .material-icons-Paradas {
        display: none;
    }

    .material-icons {
        font-size: 15px;
    }

    .material-icons[name^="alturaParada"] {
        font-size: 10px;
    }

    .embarquesFila2 i {
        margin-left: auto;
    }

    .checkRadio {
        width: 20px;
        height: 20px;
    }

    .embarquesFila2 {
        display: inline-table;
    }

    .lableDistribucion {
        display: flex;
    }

    .CheckAuto, .CheckManual {
        width: 30px;
        height: 20px;
        margin-top: 10px;
    }
    

    .paradas i {
        font-size: 20px;
    }

    #selectParadas {
        width: 140px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    #datosGEN h1, #seleccionEMBARQUES h1, #caracteristicasASC h1, #caracteristicasCAB h1, #seleccionEMBARQUES h3, #caracteristicasCAB label {
        margin-right: auto;
        margin-left: auto;
    }

    #datosGEN p {
        margin-left: auto;
    }

    .embarquesIconos {
        padding-left: 26%;
        column-gap: 16%;
    }

    .uno-img, .dos-img, .tres-img, .cuatro-img {
        margin-left: 6%;
        margin-right: auto;
        width: 40px;
        height: 40px;
        display: block;
    }

    .espejoVertical, .medioEspejo, .sinEspejo {
        flex: 1;
        margin: 10px auto;
        text-align: center;
        font-size: 12px;
    }

    .radioEspVertical, .radioMidEsp, .radioSinEsp {
        margin-left: auto;
    }

    section {
        margin: 10px;
    }

    #techo {
        margin: auto;
    }

    .inputTecho {
        width: 100%;
    }

    #columnasEspejos {
        margin-left: auto;
        display: flex;
    }

    .Text-caractCabP {
        margin-left: auto;
        padding-top: 10px;
        font-size: 15px;
    }

    #popup {
        width: 90%;
        padding: 15px;
    }

    #paradasPopUpContainer {
        margin-left: 20px;
    }

    #paradasPopUpContainer input[type="text"] {
        width: 100%;
        margin-left: 0;
        margin-top: 5px;
    }

    #paradasPopUpContainer label {
        display: block;
        margin-bottom: 5px;
    }

    .parada {
        margin-bottom: 15px;
    }

    .botones {
        flex-direction: column;
        align-items: center;
    }

    .color-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    details {
        margin-right: auto;
    }

    #cancelar, #aceptar {
        margin: 10px 0;
        width: 80%;
    }
    
    .login section {
        margin-left: 5%;
        margin-right: 5%;
    }

    .footer-login{
       display: block;
       margin-left: 20%;
       margin-right: 20%;
       text-align: center;
    }

    .container2 {
        width: 90%;
    }

    .formulario-container {
        background-color: white;
        margin-bottom: 50px;
        margin-top: 50px;
        margin-left: 5%;
        margin-right: 5%;
    }

}

@media (max-width: 600px) {
    .color-picker {
        margin-right: 5%;
        padding: 12px;
        font-size: 10px;
    }

    .colorSeleccionado {
        font-size: 12px;
    }
}

/* Extra pequeño (<= 480px) */
@media (max-width: 480px) {
    .nav-links a {
        font-size: 0.9rem;
    }

    .suplementosOpcionalesItems {
        font-size: 16px;
    }

    .btn-enviar {
        font-size: 16px;
        height: 45px;
    }
    .footer-login{
       display: block;
       margin-left: 20%;
       margin-right: 20%;
       text-align: center;
    }
    /*responsive de nºparadas*/
    .lableDistribucion label{
        font-size: 20px;
        margin-right: 1%; 
    }
   .seleccionParadas{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4%;
    white-space: nowrap;
   }
    .seleccionParadas i{
        font-size: 15px;
        flex-shrink: 0px;
    }
    
    
}