#cuerpoLima {
    background-color: rgb(192, 227, 194);
}

#cuerpoProvincia {
    background-color: rgb(192, 227, 194);
}

.seccion {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.titulo {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.boton-contenedor {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#btn_enviarLima {
    background-color: #1a4d2e;
    color: #ffffff;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

#btn_enviarLima:hover,
#btn_enviarLima:active {
    background-color: #ffffff;
    color: #1a4d2e;
}

#btn_enviarProvincia {
    background-color: #1a4d2e;
    color: #ffffff;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

#btn_enviarProvincia:hover,
#btn_enviarProvincia:active {
    background-color: #ffffff;
    color: #1a4d2e;
}

/* Estilo del modal */
.modal-content {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: #1a4d2e;
    color: #ffffff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.modal-body {
    padding: 20px;
    background-color: #f8f9fa;
}

#resumenDatos li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Botón Confirmar del modal → coherente con #btn_enviarLima */
#btn_confirmarEnvio {
    background-color: #1a4d2e;
    color: #ffffff;
    padding: 8px 20px;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#btn_confirmarEnvio:hover,
#btn_confirmarEnvio:active {
    background-color: #ffffff;
    color: #1a4d2e;
}

/* Botón Cancelar → estilo discreto */
.modal-footer .btn-secondary {
    background-color: #cccccc;
    color: #333333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary:hover {
    background-color: #aaaaaa;
}

/* Ocultar elementos con esta clase */
#seccion-folio {
  transition: all 0.4s ease;
  overflow: hidden;
  padding-bottom: 0;
}

#seccion-folio.expandido {
  padding-bottom: 40px; /* Espacio extra cuando aparece el botón */
}

#contenedor-boton-folio {
  text-align: center;
  margin-top: 10px;
  opacity: 0;
  max-height: 0;
  transition: all 0.4s ease;
}

#contenedor-boton-folio.visible {
  opacity: 1;
  max-height: 60px;
}

#btnGenerarFolio {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#btnGenerarFolio:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.readonly-select {
    pointer-events: none;   /* evita clics */
    opacity: 0.85;          /* da efecto visual de “bloqueado” */
}

.btn-ayuda {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #acacac; /* gris claro */
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-ayuda:hover {
    color: #818181; /* gris un poco más oscuro al pasar el mouse */
}
