/* Add styles here */
body {
  font-size: 1.2em; /* Increase base font size */
}

header {
  display: flex; /* Use flexbox for layout */
  justify-content: space-between; /* Put space between items */
 padding: 1em; /* Add padding to the header */
  align-items: center; /* Vertically align items in the header */
}

.section-title {
    color: green;
    margin-top: 20px;
}

.candidate-section {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
}

.datasheet-link {
  display: block;
  background-color: #98caff; /* Example button color */
  color: white;
  padding: 5px 10px;
  text-decoration: none;
  border-radius: 5px;
  width: fit-content;
}

.error-message {
    color: red;
    display: block;
    width: 100px;
    height: 40px;
}
.language-selector {
  /*z-index: 1000; /* Ensure it's above other content */
  margin-left: auto; /* Added: This will push the selector to the right */
}

#about-btn {
 background-color: #444;
 color: white;
 border: none;
 border-radius: 6px;
 padding: 8px 12px;/* display: flex;  <-- Eliminar o cambiar a inline-block si es necesario */
 align-items: left;/* display: flex;  <-- Eliminar o cambiar a inline-block si es necesario */
 display: inline-block; /* Añadido */
 gap: 6px;
 cursor: pointer;
 transition: background-color 0.3s ease, transform 0.2s ease;
 width: auto; /* Añadido */
 flex-shrink: 0;
}
/* Responsive adjustments */@media (max-width: 768px) {
 body {
 padding: 0.5em;
 font-size: 1em; /* Adjust font size for tablets */
  }
  
}

#response {
  padding: 20px;
  color: #fff;
  background-color: #121212;
  font-size: 18px;
  line-height: 1.6;
  max-width: 100%;
  overflow: auto;
  text-align: left;
}

/* Estilo específico para los enlaces dentro de #response */
#response a {
  color: #4ea3ff;
  text-decoration: underline;
  word-break: break-word;
}

#response a:hover {
  color: #88c9ff;
}

.container {
  max-width: 95%;
}

.language-selector {
  top: 0.5em;
  right: 0.5em;
}


@media (max-width: 480px) {
 body {
 font-size: 0.9em; /* Adjust font size for smaller phones */
  }
}

/* Add styles for the donate button */
form[action="https://www.paypal.com/donate"] input[type="image"] {
  width: 92px;
  height: 26px;
  display: block;
}

.modal {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #1e1e1e;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  color: #fff;
}

.close {
  color: #ccc;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.pdf-export-style {
  width: 180mm;
  padding: 10mm;
  font-size: 11pt;
  font-family: Arial, sans-serif;
  color: #000;
  background-color: #fff;
  text-align: left;
  line-height: 1.6;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.back-link {
    text-align: center;
}

#package-image-container {
  text-align: center;
}

#package-image {
  width: 180px;           /* Ancho fijo */
  height: 120px;          /* Alto fijo */
  object-fit: contain;    
  margin-top: 10px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #fff;
  padding: 6px;
}

.context-option {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  gap: 8px;
  font-size: 0.95em;
  cursor: pointer;
  color: #fff; 
  line-height: 1.4;
}

.context-option input[type="checkbox"] {
  margin: 0;
  transform: scale(1.2);
  flex-shrink: 0;
}
