body {
    font-family: 'Tigo-Regular';
}

h1 {
    font-weight: 600;
}

a {
    font-family: 'Tigo-Bold';
}

label {
    font-family: 'Tigo-Light';
}

.text-primary {
    color: #019df4 !important;
}

.nav-link {
    color: #019df4 !important;
}

.latitud-label {
    font-family: 'Tigo-Bold';
}

.text-content {
    text-align: justify;
}

.map-container {
    height: 400px;
    width: 100%;
    margin-top: 20px;
    border: 1px solid #ddd;
}

.container-radios {
    display: flex;
    justify-content: space-evenly;
}

.ocultar {
    display: none;
}

#map>div>div>div>div>div:nth-child(2) img[draggable="false"] {
    opacity: 0.4;
}

.opacity-0-1 {
    opacity: 0.1 !important;
}

.opacity-0-3 {
    opacity: 0.3 !important;
}

.dimensions {
    width: 18%;
    font-size: 0.8rem;
}

@media screen and (max-width: 1000px) {
    .dimensions {
        width: 50%;
        font-size: 0.8rem;
    }

}

@media (min-width: 1200px) {
    .latitud-label {
        padding: 25px 0px 0px 135px;
    }
}


.map-container {
    position: relative;
    width: 100%;
    height: 400px;
}


#map {
    width: 100%;
    height: 100%;
}

.map-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.6);
}

.map-legend div:last-child {
    margin-bottom: 0;
}


/*TABLA*/
.fila {
    display: flex;
    border-bottom: 1px solid black;
}

.fila:last-child {
    border-bottom: none;
}

.columna {
    flex: 1;
    text-align: center;
    border-right: 1px solid black;
    display: table-cell !important;
    width: 8rem !important;
    height: 1.2rem !important;
}

.columna:last-child {
    border-right: none;
}

.encabezado {
    background-color: #f0f0f0;
    font-weight: bold;
}

.excelente {
    background-color: #7FB65D;
}

.bueno {
    background-color: #F8FB26;
}

.regular {
    background-color: #F9C621;
}

.deficiente {
    background-color: #FA2422;
}

.sin-cobertura {
    background-color: #FBFDFC;
}

.blanco {
    background-color: #FFF;
}

/* Nuevos estilos para la cabecera */
.header-section {
    color: #555555;
}

.title-blue {
    color: #001EB4;
    font-weight: 700;
}

.desc-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #555555;
}

.link-blue {
    color: #019df4;
}

.custom-ul {
    font-size: 1rem;
    color: #555555;
    padding-left: 1.5rem;
}

.custom-ul ul {
    padding-left: 1.5rem;
}

.custom-ul li {
    margin-bottom: 0.25rem;
}

.info-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #FFF;
}

.btn-blue-pill {
    background-color: #001EB4;
    color: #FFF;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    min-width: 130px;
    text-decoration: none;
    border: 2px solid #001EB4;
    transition: all 0.3s ease;
}

.btn-blue-pill:hover {
    background-color: #FFF;
    color: #001EB4;
}

.subtitle-dark {
    color: #001EB4;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Custom Tabs */
.custom-tabs-container {
    background-color: #FFF;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: fit-content;
}

/* Inactive tab */
.custom-tabs-container .nav-link.custom-tab:not(.active) {
    background-color: #F5F5F5 !important;
    color: #00005A !important;
    font-weight: 700;
    border-radius: 50px !important;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    margin: 0 0.15rem;
    white-space: nowrap;
    text-align: center;
}

/* Active tab */
.custom-tabs-container .nav-link.custom-tab.active {
    background-color: #00005A !important;
    color: #FFF !important;
    font-weight: 700;
    border-radius: 50px !important;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    margin: 0 0.15rem;
    white-space: nowrap;
    text-align: center;
}

/* Consultar Buttons */
.btn-consultar {
    background-color: #001EB4;
    color: #FFF;
    border-radius: 50px;
    padding: 0.6rem 3rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-consultar:hover {
    background-color: #00158a;
    color: #FFF;
}

.bg-light-gray {
    background-color: #F5F5F5;
}

/* Tabs wrapper - desktop: centered, mobile: flex with arrows */
.tabs-mobile-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    position: relative;
}

/* Scroll container - desktop: shrinks to content width */
.tabs-scroll-container {
    overflow: visible;
}

/* =====================
   MOBILE (max 767px)
   ===================== */
@media (max-width: 767px) {
    .tabs-mobile-wrapper {
        width: 100%;
        max-width: 390px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0 8px;
    }

    .tabs-scroll-container {
        flex: 1;
        min-width: 0;
        overflow: visible;
    }

    .custom-tabs-container {
        border-radius: 50px;
        width: 100%;
        padding: 5px !important;
        background-color: #FFF;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        display: flex;
        justify-content: center;
    }

    /* En mobile solo se muestra un tab (el activo) */
    .custom-tabs-container .nav-item {
        display: none !important;
        width: 100%;
    }

    .custom-tabs-container .nav-item.mobile-tab-visible,
    .custom-tabs-container .nav-item:has(.active) {
        display: block !important;
        width: 100%;
        flex: 1 1 100%;
    }

    /* Estilo del tab activo en mobile */
    .custom-tabs-container .nav-link.custom-tab.active {
        white-space: normal;
        width: 100%;
        min-width: 0;
        max-width: none;
        padding: 0.65rem 1rem;
        text-align: center;
        line-height: 1.3;
        font-size: 0.88rem;
        margin: 0;
        border-radius: 50px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        background-color: #00005A !important;
        color: #FFF !important;
        box-shadow: none;
    }
}

/* Arrow buttons (mobile only) */
.btn-tab-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #FFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #001EB4;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.btn-tab-arrow:hover:not(:disabled) {
    background-color: #f0f0f0;
}

.btn-tab-arrow:disabled {
    color: #C4C4C4;
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
    border-color: #eeeeee;
}

.tab-arrows {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}