*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.main {
  max-width: 700px;
  margin: 20px auto;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.section1-header{
  border: 1px;
  max-width: 700px;
  max-height: 150px;
  margin: 0 auto; 
}
.header{
  margin: 0;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.LogosHeader1 img {
  max-width: 60%;
  height: auto;
}
.LogosHeader2 img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
h1 {
  font-size: 14px;
  margin: 3px auto;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif, 'Times New Roman', Times, serif;
  line-height: 1.3;
}

/*Inicio Sección 2*/

.section2-form{
  max-width: 700px;
  height: auto;
  margin: 8px auto;
}
.row{
  width: 100%;
  display: flex;
  display: flex;
  flex-wrap: wrap;
}
.col {
  flex: 1;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.form-group {
  flex: 1px;
  min-width: 200px;
  padding: 4px;
  margin-bottom: 4px;
}
.form-group label {
  font-weight: bold;
  margin: 0;
  font-size: 13px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-right: 20px;
}
.checkbox-group input[type="radio"] {
  margin: 0;
  transform: scale(0.9);
  margin-right: -20px;
}
h3{
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 13px;
  margin-right: -20px;
}
.radio-col1 {
  margin-right: 170px;
  flex: 0 0 auto;
}
.radio-col2 label {
  margin-right: -15px;
}
.radio-col2 label[for="Windows"] {
  margin-left: -15px;
}
.radio-col2 label[for="MacOS"] {
  margin-left: -15px;
}
.componente{
  text-align: center;
  width: 100%;
  margin: 10px auto;
}

/*Inicio Seccion 3*/

.componente label {
  font-weight: bold;
  font-size: 15px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.form-section3{
  max-width: 700px;
  height: auto;
  margin: 8px auto;
}


/*Inicio sección 4*/

.table-section4{
  max-width: 700px;
  height: auto;
  margin: 10px auto;
  page-break-inside: avoid;
  break-inside: avoid;
}
table{
  table-layout: fixed;
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  border: 1px solid lightgray;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 12px;
}
th.item{
  width: 6%;
}
td.descrip{
  text-align: left;
}
th.select-checkbox{
  width: 8%;
}
th{
  border: 1px solid lightgray;
  padding: 4px;
  background-color: lightslategray;
  color: white;
  text-align: center;
}
td{
  border: 1px solid lightgray;
  text-align: center;
  padding: 4px;
}

/*Inicio de Sección 5*/

.sectionObservation{
  max-width: 700px;
  height: auto;
  margin: 15px auto;
  page-break-before: always;
  break-before: page;
}
.pdf-button {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.pdf-button button {
  background: #2b6cb0;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(43,108,176,0.18);
}
.pdf-button button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
.pdf-button button:hover {
  background-color: #0056b3;
}
/* Contenedor grid para imágenes */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 20px 0;
}
/* Estilo para las imágenes previsualizadas */
.image-preview {
  width: 100%;
  height: auto;
  border: 2px dashed #ddd;
  border-radius: 10px;
  padding: 5px;
  aspect-ratio: 4/3;
  object-fit: contain;
}
#observaciones {
  width: 100%;
  min-width: 120px;
  height: 100px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 10px;
  resize: vertical;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 
  'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
/*Diseño de los input*/
.form-group input, .form-group select {
  width: 100%;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 13px;
}

/*Diseño para la generación del pdf*/

.pdf-content-wrapper {
  font-family: inherit;
  color: inherit;
  background: #fff;
  padding: 12px;
  border-radius: 6px;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.pdf-content-wrapper .main {
  width: 700px;
  max-width: 700px;
}

.pdf-input-replaced,
.pdf-select-replaced {
  display: inline-block;
  min-height: 1.2em;
  padding: 2px 4px;
  border-radius: 3px;
  background: transparent;
  color: #111;
  font-weight: 500;
}

.pdf-textarea-content {
  white-space: pre-wrap;
  word-break: break-word;
  padding: 6px 8px;
  border-radius: 4px;
  min-height: 40px;
  background: transparent;
  color: #111;
  font-family: inherit;
  font-size: 0.95rem;
}

.no-print,
.pdf-file-placeholder {
  display: none !important;
}

.pdf-content-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 6px 0;
}

.pdf-content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  word-wrap: break-word;
}

@media print {
  body {
    background: #fff;
  }
  .no-print {
    display: none !important;
  }
  .main {
    box-shadow: none;
    border-radius: 0;
  }
  
  .table-section4 {
    page-break-inside: avoid;
    break-inside: avoid;
  }
  
  .sectionObservation {
    page-break-before: always;
    break-before: page;
  }
}

/*Navegación al menú principal*/
.menu-bar{
  max-width: 700px;
  margin: 15px auto 0;
  padding: 0 15px;
}
.menu-link{
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 13px;
  color: #666;
  text-decoration: none;
}
.menu-link:hover{
  color: #2b6cb0;
  text-decoration: underline;
}
