body {
      
  min-width: 0 !important;
  box-sizing: border-box !important;
      font-family: Arial, sans-serif;
    }

    form {
      width: 99%;
      margin: 10px auto;
      /* margin-top: 5px;
      margin-left: 10px;
      margin-right: 10px; */
      border: 1px solid #ccc;
      padding: 10px auto;
      overflow-x: hidden;
    }
    .logo {
      display: block;
      margin: 1rem auto;
      max-width: 580px;
      border-radius: 5%;
    }
    h2 {
      margin-top: 75px;
      
      text-align: center;
      margin-bottom: 0px;
    }

    label {
      display: block;
      margin-bottom: 5px;
      font-weight: bold;
    }
    label {
  font-size: 0.7em; /* Adjust this value as needed */
} 

    input[type="text"],
    textarea {
      width: 100%;
      padding: 8px;
      margin-bottom: 12px;
      border: 1px solid #ccc;
      resize: vertical;
      /* Allow vertical resizing */
      box-sizing: border-box;
      font-size: 10px;
    }

    /* textarea {
    height: 100px;
    resize: vertical;
  } */
    select {
      width: 100%;
      padding: 8px;
      margin-bottom: 10px;
      border: 1px solid #ccc;
      box-sizing: border-box;
      display: block;
      font-size: 10px; /* Added to make options smaller */
    }

    .section-title {
      background-color: #b0b0b0;
      /* Gray background */
      padding: 10px;
      margin-top: 20px;
      margin-bottom: 10px;
      margin-top: 20px;
      margin-bottom: 5px;
      font-size: 12px; /* Adjust this value as needed */      
      font-weight: bold;
    }


    hr {
      border: none;
      border-top: 1px solid #ccc;
      margin: 20px 0;
    }

    .title {
      background-color: black;
      color: white;
      padding: 10px;
      text-align: center;
      /* Gray background */
      font-size: 1.1em;
      font-weight: bold;
      margin-bottom: 10px;
    }

    textarea {
      resize: none;
      /* Prevent manual resizing */
      overflow-y: hidden;
      /* Hide vertical scrollbar */
      white-space: pre-wrap !important;
    }

    @media print {
      @page {
        size: A4;
        margin: 20mm;
      }

      body {
        margin: 0;
        padding: 0;
      }

      .no-print {
        display: none;
      }

      .date-footer::after {
        content: "Fecha de impresión: " counter(date);
      }

      .page-number::after {
        content: "Página " counter(page) " de " counter(pages);
      }
    }

    .pdf-export .ocultar-botones {
      display: none;
    }

    .pdf-export  {
      width: 190mm !important;
    max-width: 190mm !important;
    }

    .fecha-hora-impresion {
      position: absolute;
      top: 20px;
      right: 40px;
      font-size: 11px;
      font-weight: bold;
      color: #333;
    }
    .calendar-container, .calendar-day, .calendar-header {
        display: block !important; /* O el display original de los elementos */
        /* Agrega otras propiedades como padding, margin, border para consistencia */
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
      }
    .imagen-adjunta {
      max-width: 80%; /* Limita el ancho máximo del contenedor de la imagen */
      margin-bottom: 10px; /* Espacio entre imágenes */
    }
    .imagen-adjunta img {
      max-width: 100%; /* Asegura que la imagen no se desborde de su contenedor */
    }
     /* Oculta el input de archivo por defecto */
    #imagen_adjunta {
      display: none;
    }

    /* Da estilo de botón a nuestra nueva etiqueta label */
    .custom-file-upload-button {
      background-color: #f0f0f0;
      border: 1px solid #ccc;
      border-radius: 4px;
      padding: 8px 15px;
      cursor: pointer;
      display: inline-block;
      font-family: sans-serif;
      font-size: 14px;
    }

    .custom-file-upload-button:hover {
      background-color: #e0e0e0;
    }

    /* Estilo para el texto que mostrará cuántos archivos se seleccionaron */
    #file-upload-status {
      margin-left: 10px;
      font-family: sans-serif;
      font-size: 14px;
      color: #555;
    }
     /* Oculta la sección de "Adjuntar Imagen" durante la exportación a PDF */
    .ocultar-botones .seccion-adjuntar-archivo {
        display: none;
    }

    /* Oculta el botón "Eliminar" de cada imagen durante la exportación a PDF */
    .ocultar-botones .imagen-adjunta button {
        display: none;
    }
    .text-readable {
      text-align: center;
      line-height: 1.6;
      font-weight: bold;
      font-style: italic;
    }
    .text-left {
      text-align: left;
      line-height: 1.6;
      font-weight: bold;
      font-style: italic;
    }
    .text-right {
      text-align: right;
      line-height: 1.6;
      font-weight: bold;
      font-style: italic;
    }
    
    
    .social-icons a {
      color: #343a40; /* Un color gris oscuro */
      transition: color 0.3s ease-in-out;
    }
    
    .social-icons a:hover {
      color: #007bff; /* Color primario de Bootstrap */
    }
    .service-image {
      max-width: 450px; /* Ajusta este valor para cambiar el tamaño máximo */
      width: 100%;
      margin: 0 auto;
      display: block;
      height: auto;
    }
    /* Centrar modal verticalmente */
.modal-dialog {
  position: fixed;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0;
  max-width: 600px; /* ajustá el ancho a gusto */
  width: 90%;
  z-index: 2000; /* por encima de todo */
}

/* Dar altura fija y scroll interno al cuerpo del modal */
.modal-content {
   border-radius: 12px;
  border: 1px solid #ccc;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  background: #fff;
  max-height: 80vh; /* 80% de la altura de la ventana */
  display: flex;
  flex-direction: column;
}
/* Encabezado más claro */
.modal-header {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.modal-body {
  overflow-y: auto;
   padding: 15px;
}
/* Botón cerrar mejor visible */
.modal-header .btn-close {
  filter: brightness(0) saturate(100%);
}

/* Footer si lo quisieras */
.modal-footer {
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
 #imagenMapa {
      margin-top: 20px;
      border-radius: 8px;
      border: 1px solid #ccc;
      display: none;
    }
    #linkMapa {
      display: none;
      margin-top: 10px;
      display: inline-block;
      color: blue;
      text-decoration: underline;
      font-family: sans-serif;
    }