.bodyLogin {
  margin: 0;
  /* background-image: url('../Imagenes/fondologin.jpg'); */
  background: white;
  font-family: 'Roboto', sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.bodyOtro {
  height: 100%;
  margin: 0;
  padding: 0;
  /* background-color: #ebc7a1;
  background-image: repeating-linear-gradient(45deg,
      rgba(0, 0, 0, 0.025) 0px,
      rgba(0, 0, 0, 0.025) 3px,
      transparent 3px,
      transparent 18px);
  background-size: 40px 40px; */
  background: white;
  font-family: 'Roboto', sans-serif;
}


.contenedor-login {
  position: fixed;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  width: 90%;
  max-width: 400px;
  padding: 80px 30px 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  font-family: 'Roboto', sans-serif;
}

.user-icon {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f0f0f0;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contenedor-login>h2 {
  color: #91623a;
  font-weight: 600;
}

.user-icon i {
  font-size: 45px;
  color: #555;
}

.input-group {
  position: relative;
  margin-bottom: 30px;
  text-align: left;
  border-radius: 12px;
  border: 1px solid #ccc;
  padding-left: 40px;
  background-color: #fff;
  margin-top: 1em;
}

.input-group input {
  width: 100%;
  padding: 14px 14px 14px 4px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  outline: none;
  background: transparent;
  box-sizing: border-box;
}

.input-group select {
  width: 100%;
  padding: 14px 14px 14px 4px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  outline: none;
  background: transparent;
  box-sizing: border-box;
}

.input-group label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  pointer-events: none;
  transition: all 0.2s ease;
  background-color: #fff;
  padding: 0 4px 0 24px;
  border: none !important;
  background-color: transparent;
}

.input-group i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 18px;
  z-index: 1;
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label {
  top: -10px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
  padding-left: 8px;
  left: -0.2em;
  border: none !important;
  background-color: transparent;
}

.boton-ingreso {
  width: 100%;
  padding: 12px;
  background-color: #ff5a0e;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 10px;
}

.boton-ingreso:active {
  transform: scale(0.95);
}

.logo-login {
  width: 80px;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-text-fill-color: #000 !important;
  transition: background-color 5000s ease-in-out 0s;
}


.campo-obligatorio {
  font-size: 13px;
  border: 1px #e74c3c solid;
  /* rojo profesional, no muy fuerte */
  margin-top: 4px;
  display: block;
}


header.barra-urgencias {
  background-color: #ff5a00;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.45),
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 100px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.linea-texto {
  font-size: 1.3rem;
  font-weight: 800;
}

.text-shadow {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.icono {
  font-size: 1.2rem;
}

/* Línea animada debajo del texto */
.subrayado-extra {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  height: 5px;
  background-color: white;
  border-radius: 10px;
  width: 0;
}

.hide {
  display: none !important;
}

.animar-subrayado-infinita {
  animation: llenarLineaInfinita 2s ease-in-out infinite;
}

@keyframes llenarLineaInfinita {
  0% {
    width: 0%;
    opacity: 0.3;
  }

  50% {
    width: 140%;
    opacity: 1;
  }

  100% {
    width: 0%;
    opacity: 0.3;
  }
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .linea-texto {
    font-size: 1.1rem;
  }

  .subrayado-extra {
    height: 3px;
    bottom: -6px;
  }

  .CajaNombreMinMarginTop {
    margin-top: 1em !important;
  }

}

.ContentMedirCajas {
  width: 90%;
  max-width: 400px;
  /* más pequeña */
  border: #91623b 2px solid;
  margin: 20px auto;
  /* centra y da espacio vertical */
  border-radius: 10px;
  background-color: white;
  overflow: hidden;
  /* para que los bordes redondeados funcionen también con la imagen */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  /* sombra opcional para elegancia */
}

.ContSubtituloMedirCajas {
  width: 100%;
  background: #91623b;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.ContSubtituloMedirCajas span {
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  font-size: 1.1rem;
}

.img-medidas {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  /* ✅ centra la imagen */
}

.contentInfoCotizacion {
  width: 90%;
  max-width: 1200px;
  border: #ff6600 2px solid;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  min-height: 400px;
  padding: 1em;
}

#ContenInfoCotiCajaFinal {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

.contenCotizacionGenerada {
  width: 1000px;
  margin: 30px auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  font-family: 'Roboto', sans-serif;
}

.EncabezadoCotizacGene {
  width: 100%;
  min-height: 200px;
}

.textInfoEmpresa {
  font-size: 14px;
  font-weight: 500;
  color: gray
}

.section-title {
  font-size: 6;
  color: #ff6600;
  border-bottom: 2px solid #ff6600;
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 500;
}

.tableCotiz {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.tableCotiz th,
.tableCotiz td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.tableCotiz th {
  background-color: #f4f4f4;
}

.tabla-valores td {
  text-align: right;
}

.tabla-valores td:first-child {
  text-align: left;
}

.resaltado {
  font-weight: bold;
  background-color: #f0f0f0;
}

.ContentPieCotizac {
  width: 95%;
  max-width: 800px;
  min-height: 50px;
  background-color: #ff6600;
  margin-top: 2em;
  border-radius: 10px;
  margin-left: 50%;
  transform: translateX(-50%);
  color: white;
  display: flex;
  justify-content: center;
  /* centra horizontalmente */
  align-items: center;
}

.input-group-prepend .input-group-text {
  background-color: transparent;
  border: none;
  padding: 0 8px;
  display: flex;
  align-items: center;
}

/* Ajustamos la bandera */
.input-group-text img {
  width: 20px;
  height: 15px;
  margin-left: 5px;
  object-fit: contain;
}

/* Opcional: tamaño del ícono */
.input-group-text i {
  color: gray;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  /* fondo más suave */
  backdrop-filter: blur(10px);
  /* 🔥 Difuminado del fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
}


.modal-content {
  background: #ffffff !important;
  /* blanco sólido */
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  border: 1px solid #e0e0e0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  font-family: sans-serif;
}


.modal-content h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}


.modal-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.4rem;
  color: #222;
  /* texto oscuro para mayor contraste */
}


.btn-cerrar {
  background: #007bff;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.2s ease;
}


.btn-cerrar:hover {
  background: #005fcc;
}


@media(max-width: 480px) {
  .modal-content {
    padding: 1.2rem;
  }

  .modal-content h2 {
    font-size: 1.2rem;
  }

  .modal-content p {
    font-size: 0.9rem;
  }

  .btn-cerrar {
    width: 100%;
  }
}