.container {
  /*background: white;*/
  padding: 2rem;
  border-radius: var(--borde);
  /*box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);*/
  text-align: center;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  width: 95%;
  max-width: 500px;
  height: auto;
}

/* SECCIONES DEL FORMULARIO */
.form-section {
  margin-bottom: 12px;
  text-align: left;
}

.subtitle {
  font-size: 1rem;
  font-weight: bold;
  display: block;
  margin-bottom: 12px;
  color: #6d6d6d;
}

input {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: var(--borde);
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* FOTO */
.upload-box {
  background: #e9ecef;
  width: 100%;
  height: 150px;
  text-align: center;
  border-radius: var(--borde);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 2px dashed #aaa;
  transition: background 0.3s;
}

.upload-box img {
  width: 50px;
  height: 50px;
  transition: opacity 0.3s;
}

/*SELECT*/
.TipoContaminacion {
  width: 100%;
  padding: 12px !important;
  color: black;
  margin-bottom: 10px;
  border-radius: var(--borde);
  border: 1px solid #ccc;
  font-size: 1rem;
  outline: none;
  background-color: white;
  height: 50px;
}

.descripcionTipo {
  display: none;
  font-weight: 100;
  color: #666;
  margin-top: 10px;
}
.file-input {
  display: none;
}

.upload-label {
  font-size: 1rem;
  color: #666;
  cursor: pointer;
  position: absolute;
  bottom: 10px;
}

.upload-box.image-uploaded {
  border: none;
  background-size: cover;
  background-position: center;
}

.upload-box.image-uploaded img,
.upload-box.image-uploaded .upload-label {
  opacity: 0;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--color-boton);
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: var(--borde);
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: var(--color-boton-hover);
}

textarea {
  width: 100%;
  padding: 12px;
  margin: 0;
  border-radius: var(--borde);
  border: 1px solid #ccc;
  font-size: 1rem;
  height: 100px;
  box-sizing: border-box;
  resize: none;
  display: block;
  white-space: pre-line;
}

@media screen and (min-width: 1024px) {
  .container {
    max-width: 600px;
  }
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  animation: modalSlideIn 0.3s ease-out;
}

.modal-content p {
  margin-top: 10px;
  font-weight: 300;
  font-size: 20px;
}

.folio-number {
  font-size: 1.4rem;
  font-weight: bold;
  color: #0c8947;
  padding: 1rem;
  border-radius: 5px;
}
.botonesModalReportes {
  display: flex;
  justify-content: space-between;
}
.modal-button {
  background: #651c32;
  color: white;
  border: none;
  padding: 10px;
  margin-top: 10px;
  cursor: pointer;
  width: 47%;
  font-size: 20px;
  border-radius: 5px;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
