/* --- COTIZAR ENVIO css ----*/

body {
  background-color: white;
}




.box-cotizar-tramaco {
  background-color: white;
  border: 2px solid #00248C;
  border-radius: 10px;
  max-width: 1300px;
  justify-self: center;
  width: 100%;
}

.select select {
  border: 1px solid #000981;
  border-radius: 10px;
  padding: 5px;
  background-color: white;
  color: #000981;
  font-size: 15px;
  font-family: "NexaBook", sans-serif;
  font-color: #000981;
}

/* Integrar select2 con Bulma */
.select2-container .select2-selection--single {
  height: 3em;
  border-radius: 15px;
  border: 1px solid #dbdbdb;
  xpadding: 0.375em 0.75em;
  border-color: #000981;
  color: #000981;
  font-size: 15px;
  align-content: center;
}

.buscador-selecion {
  font-family: "NexaBook", sans-serif;
  font-size: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 2em;
}

.select2-container .select2-selection__arrow b {
  display: none !important;
}

.select.is-fullwidth,
.select.is-fullwidth select {
  /*width: 40% !important;*/
}


.label-cotizar-tramaco {
  font-family: "NexaBook", sans-serif;
  align-items: center;
  text-align: center;
  font-size: 15px !important;
  color: #000981;
  height: 30px;
  margin-bottom: 10px !important;
}

.input-cotizar-tramaco {
  border: 1px solid #000981;
  border-radius: 10px;
  padding: 5px;
  font-size: 15px;
  width: 100%;
  font-family: "NexaBook", sans-serif;
  color: #000981;
  background-color: white;

}

.cabecera-cotizacion .column {
  padding: 2px;
}


.cabecera-cotizacion .rotulo-cabecera {
  background-color: #2a52f330;
  color: #000981;
  height: 30px;
  border-radius: 10px;
  font-family: "NexaBlack", sans-serif;
  padding: 8px;
  font-size: 18px;
  text-align: center;

}

.item-cotizacion {
  font-size: 14px;
  font-family: "NexaBook", sans-serif;
  color: #000981;
}

.detalle-cotizacion .column {
  padding: 2px;
}



.boton-cotizar-tramaco {
  border: 1px solid #000981;
  border-radius: 10px;
  padding: 5px;
  font-size: 15px;
  xwidth: 100%;
  font-family: "NexaBook", sans-serif;
  color: white;
  background-color: #000981;

}

.label-cotizar-detalles {
  font-family: "NexaBlack", sans-serif;
  align-items: center;
  text-align: center;
  font-size: 20px !important;
  color: #000981;
}


.box-cotizar-total {
  width: 250px;
  text-align: center;
  /* centrar todo */
  border: 2px solid #1a237e;
  /* azul oscuro */
  border-radius: 6px;
  /* bordes redondeados */
  padding: 10px;
  background-color: white;
}

.titulo-costo {
  font-size: 12px;
  font-weight: 700;
  /* negrita */
  color: #1a237e;
  /* azul oscuro */
  margin: 0;
  text-transform: uppercase;
  /* mayúsculas */
}

.valor-costo {
  font-size: 28px;
  /* más grande */
  font-weight: 800;
  /* más grueso */
  color: #1a237e;
  margin: 5px 0 0 0;
}

.xxxxxboton-detalle-entrega-tramaco {
  background-color: #2A52F3;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 20px;
  font-family: "NexaBold", sans-serif;
}

.xdetalles-envio-tramaco {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* Estilos generales del contenedor del detalle */
.cotizacion-detalle {
    /* Define el recuadro o cajón */
    border: 3px solid #000981; /* Borde azul para resaltarlo */
    border-radius: 10px; /* Esquinas redondeadas */
    padding: 20px; /* Espacio interno */
    margin: 30px auto; /* Centrar horizontalmente y darle margen */
    text-align: center; /* Centrar el texto dentro del recuadro */
    max-width: 1300px;
    background-color: #f8f9fa; /* Fondo ligeramente gris claro */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Sombra para darle profundidad */
}

/* Estilos para el título */
.cotizacion-titulo {
    font-size: 2rem; /* Tamaño de fuente más grande para el título */
    margin-bottom: 15px; /* Espacio debajo del título */
    font-weight: bold; /* Título en negrita */
}

/* Estilos para el mensaje principal */
.cotizacion-mensaje {
    font-size: 1.5rem; /* Tamaño de fuente grande para el mensaje */
      line-height: 1.4; /* Espaciado entre líneas */
}

/* Estilos para RESALTAR la frase "valor referencial" */
.valor-referencial-resaltado {
    font-weight: 900; /* Extra-negrita para máximo énfasis */
    color: #ee732a; /* Color rojo para llamar la atención (Advertencia/Importancia) */
    font-size: 1.6rem; /* Un poco más grande que el texto circundante */
     /* Fondo sutil para la frase */
  
    border-radius: 5px;
}

.button-cotiza {
    margin-top: auto;
    background-color: #C0CCFC;
    color: #000981;
    border: none;
    margin: 10px 0 0 0;
    border-radius: 10px;
    font-weight: bold;
    padding: 0.75em 1.75em;
    height: auto;
    min-height: 2.8em;
    font-size: 1.2rem;
    transition: background-color 0.3s 
ease, color 0.3s 
ease;
}


@media print,
screen and (min-width: 769px) {
  .columns:not(.is-desktop) {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .field.is-horizontal {
    display: flex;
    flex-direction: column;
  }

}



/* === Estilos responsive para cotización === */
@media (max-width: 768px) {
  
  .boton-obtener-cotizacion {
    flex-direction: column;
    /* Apilar campo de correo y botón en móvil */
    align-items: stretch;
    /* Estirarlos para que ocupen todo el ancho */
    margin-left: 0rem !important;
    margin-right: 0rem !important;
  }

  .cabecera-cotizacion {
    display: none; /* ocultamos la cabecera tipo tabla */
  }

  .item-cotizacion {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f9f9ff;
    flex-direction: column !important;
  }

  .item-cotizacion .column {
    width: 100% !important;
    /*text-align: left !important;
    justify-content: flex-start !important;*/
    align-items: flex-start !important;
  }

  .item-cotizacion .column div[data-campo]::before {
    content: attr(data-campo) ": ";
    display: block;
    font-weight: bold;
    color: #000981;
    margin-bottom: 0.2rem;
  }

  .item-cotizacion button {
    align-self: flex-end;
    margin-top: 1rem;
  }

  .rastreob {
        border-radius: 30px;
        padding: 1rem 1.5rem 0.2rem 1.5rem;
    }

    .rastreob-titulo {
        color: #000981;
        margin-top: 10px;
    }
}

