html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

textarea{
    resize: none;
}

footer {
    height: 130px;
    background-color: #343a40;
    color: white;
    text-align: center;
    padding-left: 2%;
    padding-right: 4%;
}

.carousel-bg{
    background-color: #6c757d;
}

.carousel-contenedor {
  max-width: 500px;
  margin: auto;
}

.carousel-img {
  max-height: 300px;
  width: 100%;
  object-fit: contain;
}

/* Estilo del overlay de carga */
#loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.leyendas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centra todo horizontalmente */
    gap: 10px; /* espacio entre leyendas */
}

.leyenda {
    text-align: center;
    width: 100px;
    font-size: small;
}

.tipo-1, .tipo-2, .tipo-3 {
    width: 100%;
    height: 36px;
    border: 1px solid black;
    border-radius: 6px;
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente */
    margin-top: 5px;
}

/* Colores específicos */
.tipo-1 {
    background-color: yellow;
    color: black;
}

.tipo-2 {
    background-color: limegreen;
    color: black;
}

.tipo-3 {
    background-color: purple;
    color: white;
}

.texto {
    margin-top: 2%;
    margin-bottom: 2%;
    text-align: justify;
}

.info {
    margin-top: 1%;
    margin-bottom: 1%;
    text-align: justify;
    font-size: small;
}

.contenedor {
    height: calc(100% - 130px);
    overflow-y: auto;
    overflow-x: auto;
    padding: 1rem;
    align-items: center;
    padding: 2% 10% 2% 10%;
}

.contenedor-img {
    width: 200px;
    height: 200px;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    margin: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contenedor-img.ampliado {
    cursor: zoom-out;
}

.imagen {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    transition: transform 0.2s ease;
    transform-origin: center center;
    pointer-events: none;
    user-select: none;
}

.barra-nav {
    background-color: #bfff5c;
}

.fila {
    /* top | right | bottom | left */
    padding: 5px 2px 5px 2px;
}

.mapa {
    height: 150px;
}

.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2% 0;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    right: 15px;
    height: 4px;
    width: 100%;
    background-color: #ccc;
    z-index: 0;
}

.step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.step .circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid #ccc;
    margin: 0 auto;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.step.active .circle {
    background-color: #0d6efd;
    border: 3px solid #0d6efd;
}

.step.completed .circle {
    background-color: #6c757d;
    border: 3px solid #6c757d;
}

.step .label {
    margin-top: 8px;
    font-size: 14px;
    color: white;
}

.step.active .label {
    color: #0d6efd;
    font-weight: bold;
}

.step.completed::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    height: 4px;
    width: 100%;
    z-index: -1;
}

.rango{
    width: 30%;
}

.btn{
    margin: 2px 2px 2px 2px;
}