﻿@font-face {
    font-family: 'GothamRounded';
    src: url('/fonts/GothamRounded/GothamRounded-Light.woff2') format('woff2'), url('/fonts/GothamRounded/GothamRounded-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'GothamRounded';
    src: url('/fonts/GothamRounded/GothamRounded-Book.woff2') format('woff2'), url('/fonts/GothamRounded/GothamRounded-Book.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'GothamRounded';
    src: url('/fonts/GothamRounded/GothamRounded-Medium.woff2') format('woff2'), url('/fonts/GothamRounded/GothamRounded-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'GothamRounded';
    src: url('/fonts/GothamRounded/GothamRounded-Bold.woff2') format('woff2'), url('/fonts/GothamRounded/GothamRounded-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'GothamRounded';
    src: url('/fonts/GothamRounded/GothamRounded-MediumItalic.woff2') format('woff2'), url('/fonts/GothamRounded/GothamRounded-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
}

html {
    font-size: 15px;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'GothamRounded' !important;
    color: #2b2b2b;
}


main[role="main"] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}


.contenido-principal {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 0;
}


.contenido-superior {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: #fff;
    padding: 1rem;
    width: 100%;
    margin: 0 auto;
    height: 11rem;
    background-image: url('/images/start/fondo.png');
    background-size: clamp(16rem, 100vw, 128rem) auto;
    background-position: center;
    background-repeat: no-repeat;
}

.texto-superior {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: 0.5rem;
}

.imagen-superior {
    flex: 0 0 auto;
}

.img-pvd-principal {
    width: clamp(120px, 34vw, 190px);
    height: auto;
    display: block;
}

.cabecera {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.3rem, 1vw, 0.5rem) clamp(0.8rem, 2vw, 1rem);
    background: #fff;
    gap: clamp(0.25rem, 1vw, 0.6rem);
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.logo-mtc {
    height: 3rem;
    width: auto;
    margin-left: 0.5rem;
}

.logo-provias {
    height: 2rem; /* o 3rem para parecerse al MTC */
    width: auto;
    margin-left:0.5rem;
}

.btn-menu {
    border: none;
    background: transparent;
    line-height: 1;
    margin-left: auto;
}

.menu {
    width: 1rem;
    height: 1rem;
}

.logo-pvd {
    height: 3rem;
    margin-bottom: 1rem;
    object-fit: contain;
    margin-top: 1rem;
}

.subtitulo-institucional {
    font-weight: 700;
    color: #5f5e61;
    letter-spacing: 0.02em;
    margin: 0;
}

.logo-app {
    max-height: 12rem;
    object-fit: cover;
    margin-top:-1rem;
}

.titulo-pvd {
    font-size: 2rem;
    color: #DC353C;
    font-weight: 600;
    letter-spacing: -0.05rem;
    margin-bottom: 0.25rem;
}

.subtitulo-pvd {
    margin: 0;
    font-size: 0.8rem;
    color: #4a4f57;
}

.seccion-inferior {
    background-color: #fff; /*#F0F5F9 #fafafa*/ 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
/*    padding: 1rem 1rem 3rem 1rem;*/
    margin-bottom: 0;
    min-height: 0;
}

.opciones-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    min-height: 0;
}

/*.opciones-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
    border-bottom: 1px solid #e4e6e7;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    background: #fff;
}*/

.opciones-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px 12px 0 0;
    margin: 0 auto 0;
    background: #fff;
    width: 100%;
    margin-top: -0.5rem;
    padding: 0.8rem 0rem 0rem 0rem;
}

/*.opciones-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    background: #f8f8f8;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin: 0 auto 1rem;
    max-width: 720px;
}*/
/*
.opcion-tab {
    position: relative;
    font-weight: 600;
    color: #5f5e61;
    cursor: pointer;
    user-select: none;
    padding-bottom: 0.5rem;
    width: clamp(90px, 29vw, 180px);
    text-align: center;
}*/


.opcion-tab {
    position: relative;
    font-weight: 600;
    color: #5f5e61;
    cursor: pointer;
    user-select: none;
    padding-bottom: 0.5rem;
    width: clamp(90px, 29vw, 180px);
    text-align: center;
    border-bottom: 3px solid transparent;
    gap: 0.5rem;
    display: flex;
    justify-content: center;
}

/*.opcion-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    font-weight: 600;
    color: #424242;
    cursor: pointer;
    position: relative;
    border-bottom: 3px solid transparent;
}*/

.tab-icono {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.opcion-tab .tab-icono {
    filter: none;
}

.opcion-tab.activo .tab-icono {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg);
}



/*.opcion-tab:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -0.85rem;
    color: #ddd;
    font-weight: 400;
}*/

.opcion-tab:not(:last-child)::after {
    content: none;
}

.opcion-tab:hover {
    color: #c62828;
        filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg);
}

    .opcion-tab.activo {
        color: #dc353c;
        border-bottom: 3px solid #dc353c;
        margin-bottom: -3px;
    }



.mensaje-inicial {
    color: #5f5e61;
    text-align: center;
    margin-top: 2rem;
}

#contenido-dinamico {
    flex: 1;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    min-height: 0;
    padding:0.8rem;
}

.pvd-link {
    color: #c62828 !important;
    font-weight: 600;
}

.pvd-tarjeta {
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 0.5rem;
    padding: 0.85rem 1rem;
    margin-bottom: 0.65rem;
    text-align: left;
    cursor: default;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.pvd-tarjeta--click {
    cursor: pointer;
}

.pvd-tarjeta--click:hover {
    border-color: #c62828;
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.12);
}

.pvd-tarjeta h3 {
    font-size: 0.9rem;
    margin: 0 0 0.25rem;
    color: #DC353C;
}

.pvd-tarjeta .meta {
    font-size: 0.85rem;
    color: #5f5e61;
}

.pvd-tarjeta .ubicacion {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #3d3d3d;
    font-weight: 500;
}

    .pvd-tarjeta .ubicacion .ubicacion-ico {
        width: 0.85rem;
        height: 0.85rem;
        object-fit: contain;
        flex-shrink: 0;
    }

.pvd-icono {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
}

    .pvd-icono img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.pvd-info {
    flex: 1;
}

.separador {
    border: none;
    border-top: 1px solid rgb(0 0 0 / 24%);
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.pvd-autocomplete {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 20;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e4e6e7;
    border-radius: 0.35rem;
    margin-top: 2px;
}

.pvd-autocomplete .item {
    padding: 0.45rem 0.65rem;
    cursor: pointer;
    font-size: 0.9rem;
    border-bottom: 1px solid #f2f2f2;
}

.pvd-autocomplete .item:hover {
    background: #fff3f3;
}

.pvd-spinner {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pvd-spinner__box {
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 0.5rem;
}

/*.pvd-splash {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #e3093d;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.pvd-splash__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
*/

.pvd-splash {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.5s ease;
}
/*
.pvd-splash__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pvd-splash--oculto {
    opacity: 0;
    pointer-events: none;
}*/

.pvd-splash__img,
.pvd-splash__logo {
    display: block;
    width: min(112px, 28vw);
    height: min(112px, 28vw);
    max-width: min(112px, 28vw);
    max-height: min(112px, 28vw);
    border-radius: 50%;
    object-fit: cover;
    animation: pvd-splash-entra 0.6s ease-out forwards;
}

@keyframes pvd-splash-entra {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.pvd-splash--oculto {
    opacity: 0;
    pointer-events: none;
}

.footer {
    background: #fafafa;
    text-align: left;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    font-size: 0.75rem;
}

    .footer p {
        margin-top: 0.2rem;
        margin-bottom: 0.2rem; 
    }


.btnMasRutas,
.btnMasInter {
    display: block;
    margin: auto;
    background: none;
    border: none;
    padding: 0px;
    color: rgb(220, 53, 60);
    cursor: pointer;
    font-weight: bold;
}



@media (max-width: 1024px) {
    .pvd-int-mapa .view-point-floating-button,
    #mapaUbicacion.pvd-rv-mapa .view-point-floating-button {
        bottom: 5.2rem !important;
    }

    .pvd-rv-interv-numero-wrap {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0 !important;
    }

    .pvd-region-fase-chip__head {
        min-height: 1.4rem;
    }
}

/*@media (min-width: 769px) {
    #pvdSplashInicio, .pvd-splash {
        display: none !important;
    }
}
*/
/* Responsive ajustes */
@media (max-width: 768px) {

    html {
        font-size: 14px;
    }

    /*    .seccion-inferior {
        padding: 1.5rem 1rem;
        padding-top: 0.8rem;
    }*/

    .logo-app {
        max-height: 11.5rem;
        margin-top: 0;
    }

    .resultados-colegios th,
    .resultados-colegios td {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    .imagen-obra {
        width: 100%;
        border-radius: 1rem;
        padding: 0rem;
        margin-bottom: 0.8rem;
        margin-top: 0.5rem;
        height: 10rem;
    }

    .logo-pvd {
        height: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .subtitulo-pvd {
        margin: 0;
        font-size: 0.75rem;
        color: #4a4f57;
        margin-bottom: 0.5rem;
    }

    .pvd-icono {
        width: 3.5rem;
        height: 3.5rem;
        flex-shrink: 0;
        margin-right: 0.5rem;
        margin-left: 0.5rem;
    }

    .pvd-busqueda-avanzada-toggle {
        min-height: 2rem !important;
    }
}

@media (max-width: 600px) {


    .contenido-superior {
/*        background-image: url('/images/start/fondo.png') !important;
        background-size: clamp(16rem, 100vw, 40rem) auto !important;
        background-position: center;
        background-repeat: no-repeat !important;*/
        height: 13.5rem;
    }

    .opciones-tabs {
        gap: 1rem;
        align-items: stretch !important;
    }

    .opcion-tab {
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 0.82rem !important;
        /*        padding: 0.4rem 0.5rem !important;*/
    }

        .opcion-tab .tab-icono {
            width: 20px !important;
            height: 20px !important;
            display: block !important;
        }

        .opcion-tab > span:last-child {
            display: block !important;
            width: 100% !important;
            white-space: normal !important;
        }


        .opcion-tab.activo {
            border-bottom: 3px solid #dc353c !important;
        }

        .opcion-tab:not(:last-child)::after {
            right: -0.7rem !important;
            font-size: 0.9rem !important;
            content: none !important;
        }

    .mensaje-inicial {
        font-size: 0.9rem !important;
        margin-bottom: 1rem;
    }

    .campo input {
        max-width: 100% !important;
        font-size: 0.9rem !important;
        height: 2.2rem !important;
    }

    .logo-app {
        max-height: 12.5rem;
        margin-top: 0;
    }

    .titulo-pvd{
        font-size:2rem;
    }
    /* Codigo Ruta */
    .contenedor-filtro {
        gap:0.5rem !important;
    }
    .contenedor-filtro .boton-buscar button {
        font-size: 0.90rem !important;
    }

    .campo--busqueda-ruta {
        position: relative;
        width: 100%;
    }

        .campo--busqueda-ruta input {
            width: 100%;
            height: 2.2rem !important;
            border: 1px solid #e4e7ec;
            border-radius: 0.6rem;
            background: #fff;
            color: #2f3337;
            font-size: 0.95rem;
            padding: 0 2rem 0 2.2rem;
            outline: none;
            text-align: left;
        }

            .campo--busqueda-ruta input::placeholder {
                color: #a8afb7;
            }

    .campo-icono-busqueda {
        position: absolute;
        left: 0.7rem;
        top: 50%;
        transform: translateY(-50%);
        width: 0.9rem;
        height: 0.9rem;
        opacity: 0.65;
        pointer-events: none;
    }

    .campo-btn-limpiar {
        position: absolute;
        right: 0.7rem;
        top: 50%;
        transform: translateY(-50%);
        width: 0.9rem;
        height: 0.9rem;
        border: none;
        background: transparent;
        padding: 0;
        cursor: pointer;
        opacity: 0.55;
    }

        .campo-btn-limpiar:hover {
            opacity: 0.9;
        }

        .campo-icono-busqueda img,
        .campo-btn-limpiar img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: contain;
        }
    .boton-buscar button {
        width: 100%;
        height: 2.2rem;
        border: none;
        border-radius: 0.5rem;
        background: #e1252f;
        color: #fff;
        font-size: 1rem;
        cursor: pointer;
    }

        .boton-buscar button:hover {
            background: #cf1d27;
        }

    .pvd-resultados-cab {
        width: 100%;
        text-align: center;
        font-size: 0.95rem;
        color: #3b3f44;
        margin: 0.15rem 0 0.35rem;
    }

        .pvd-resultados-cab strong {
            font-weight: 700;
        }

    .pvd-tarjeta {
        background: #fff;

        border-radius: 0.6rem;
        padding: 0.6rem 0.7rem;
        margin-bottom: 0.55rem;
        display: flex;
        gap: 0.6rem;
        align-items: center;
    }


    .pvd-info h3 {
        margin: 0 0 0.1rem;
        font-size: 0.9rem;
        color: #e1252f;
        font-weight: 500;
    }

    .pvd-info .meta {
        font-size: 0.8rem;
        color: #555b62;
        line-height: 1.3;
    }

    .pvd-info .ubicacion {
        margin-top: 0.15rem;
        font-size: 0.62rem;
        color: #2f3337;
    }

    .btn-ver-detalle {
        height: 1.75rem;
        padding: 0 0.7rem;
        font-size: 0.78rem;
    }



/*    .pvd-tarjeta h3 {
        font-size: 0.9rem;
        margin: 0 0 0.25rem;
        color: #DC353C;
    }*/
/*
    .pvd-tarjeta .meta {
        font-size: 0.85rem;
        color: #5f5e61;
    }*/

    .pvd-tarjeta .ubicacion {
        font-size: 0.78rem;
        color: #3d3d3d;
    }

        .pvd-tarjeta .ubicacion .ubicacion-ico {
            width: 0.7rem;
            height: 0.7rem;
        }

    #mapaUbicacion.pvd-rv-mapa {
        min-height: 15rem !important;
    }


    .pvd-rv-interv-label,
    .pvd-rv-interv-valor,
    .pvd-region-proy-stats__lbl
    {
        display: flex;
        width: 100%;
    }

    .pvd-rv-interv-grid {
        font-size: 0.8rem !important;
    }

    .pvd-rv-lista-modal__dialog {
        max-width: 350px !important;
    }

    .pvd-int-mapa {
        min-height: 15rem !important;
    }

    .pvd-int-hoja__label {
        font-size: 0.8rem !important;
        min-width: 11.5rem !important;
    }

    .pvd-int-hoja__valor {
        font-size: 0.8rem !important;
    }

    .combo-filtro .form-select {
        font-size: 0.9rem; 
    }

        .combo-filtro .form-select option {
            font-size: 0.9rem;
        }

    #panelAvanzadaIntervencion {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

        #panelAvanzadaIntervencion .pvd-campo-ubigeo-wrap {
            grid-column: 1 / -1 !important;
        }

    .pvd-region-card__name {
        font-size: 1.35rem !important;
    }

    .pvd-region-card__num {
        font-size: 1.7rem !important;
    }

    .pvd-int-resumen-card__pie {
        font-size: 0.80rem !important;
    }

    .tab-icono {
        width: 18px;
        height: 18px;
    }

    .cabecera {
        padding: clamp(1.3rem, 1vw, 0.5rem) clamp(0.8rem, 2vw, 1rem);
    }

    .btnMasRutas,
    .btnMasInter {
        font-size:0.85rem;
    }


    .pvd-int-mapa .view-point-floating-button,
    #mapaUbicacion.pvd-rv-mapa .view-point-floating-button {
        bottom: 5.2rem !important;
    }

    .mensaje-error {
        font-size:0.85rem;
    }
}

@media (max-width: 400px) {
    .mensaje-error {
        font-size: 0.8rem;
    }

    .footer {
        font-size: 0.65rem !important;
    }

    .opciones-tabs {
        gap: 0.8rem !important;
    }

    .opcion-tab {
        font-size: 0.75rem !important;
    }

        .opcion-tab:not(:last-child)::after {
            right: -0.5rem !important;
            font-size: 0.9rem !important;
        }

    .mensaje-inicial {
        font-size: 0.8rem !important;
        margin-bottom: 1rem;
    }

    .contenedor-filtro-colegio {
        max-width: 100%;
    }


    .campo input {
        font-size: 0.77rem !important;
    }

    .contenedor-filtro .boton-buscar button {
        font-size: 0.85rem !important;
    }

    .logo-mtc {
        height: 2.5rem;
    }

    .logo-provias {
        height: 1.8rem;
    }

    .logo-pvd {
        height: 2rem;
    }

    .titulo-pvd {
        font-size: 1.8rem;
    }

    .subtitulo-pvd {
        font-size: 0.68rem;
    }


    #btnCargarMas {
        font-size: 0.8125rem !important;
        margin: 0rem auto !important;
    }


    .separador {
        margin-top: 0.2rem !important;
        width: calc(100% + 1.6rem) !important;
        margin-left: -0.8rem !important;
        margin-bottom: 0.8rem !important;
    }

    .pvd-rv-bar__titulo {
        font-size: 0.85rem !important;
    }

    .pvd-tarjeta h3 {
        font-size: 0.85rem;
    }

    .pvd-tarjeta .meta {
        font-size: 0.8rem !important;
        color: #5f5e61;
    }

    .pvd-tarjeta .ubicacion {
        font-size: 0.75rem !important;
        color: #3d3d3d;
    }

        .pvd-tarjeta .ubicacion .ubicacion-ico {
            width: 0.65rem;
            height: 0.65rem;
        }

    .pvd-rv-ficha__label {
        font-size: 0.9rem !important;
    }

    .pvd-rv-ficha__codigo {
        font-size: 1.2rem !important;
    }

    .pvd-rv-ficha__tray {
        font-size: 0.80rem !important;
        margin-bottom: 0.9rem !important;
    }

    .pvd-rv-ficha__denom {
        font-size: 0.80rem !important;
    }

    .pvd-rv-ficha__tipo {
        font-size: 0.85rem !important;
    }

    .pvd-rv-ficha__body {
        gap: 0.35rem !important;
    }

    .pvd-rv-expansible__tipo {
        font-size: 0.9rem !important;
    }

    .pvd-rv-expansible__monto {
        font-size: 1.5rem !important;
    }

    .pvd-rv-expansible__fuente {
        font-size: 0.8rem !important;
    }

    .mensaje-error {
        font-size: 0.8rem !important;
    }

    .pvd-resultados-cab {
        font-size: 0.8rem !important;
    }

    .pvd-rv-interv-estado {
        font-size: 0.8rem !important;
    }

    .pvd-rv-interv-grid {
        font-size: 0.72rem !important;
    }

    .pvd-rv-expansible__fecha-act {
        font-size: 0.72rem !important;
    }

    .pvd-rv-lista-modal__dialog {
        max-width: 330px !important;
    }

    .pvd-rv-lista-modal__titulo {
        font-size: 0.9rem !important;
    }

    .pvd-int-hoja__label {
        font-size: 0.75rem !important;
    }

    .pvd-int-hoja__valor {
        font-size: 0.75rem !important;
    }

    .pvd-int-fases__tit {
        font-size: 0.72rem !important;
        font-weight: 600 !important;
    }

    .pvd-int-hoja__avance-pct {
        font-size: 0.72rem !important;
    }

    .combo-filtro .form-select {
        font-size: 0.77rem;
    }

        .combo-filtro .form-select option {
            font-size: 0.77rem;
        }

    .pvd-region-card__name {
        font-size: 1.1rem !important;
    }

    .pvd-region-card__num {
        font-size: 1.5rem !important;
    }

    .pvd-region-int-bar {
        font-size: 0.85rem !important;
    }

    .pvd-int-resumen-card__monto {
        font-size: 1.5rem !important;
    }

    .btnMasRutas,
    .btnMasInter {
        font-size: 0.8rem;
    }

    .pvd-rv-interv-estado--vigente .pvd-rv-interv-estado__titulo::after,
    .pvd-rv-interv-estado--historico .pvd-rv-interv-estado__titulo::after {
        font-size: 0.72rem !important;
    }


    .btn-ver-detalle {
        font-size: 0.7rem !important;
    }

    .pvd-rv-interv-estado__chev {
        width: 0.45rem !important;
        height: 0.45rem !important;
    }

    .pvd-info .meta {
        font-size: 0.75rem !important;
        line-height: 1.3;
    }

    .pvd-int-estado {
        font-size: 0.72rem;
    }

    .pvd-busqueda-avanzada-toggle {
        font-size: 0.75rem !important;
    }

    .pvd-autocomplete .item {
        padding: 0.30rem 0.55rem !important;
        font-size: 0.77rem !important;
    }

    .aviso-intervencion {
        font-size: 0.8rem !important;
    }
}

@media (min-width: 576px) {
    #modalAlert .modal-dialog.modal-sm {
        --bs-modal-width: 400px;
    }
}

#modalAlert .modal-dialog {
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
    padding: 0 1rem;
}

#modalAlert .modal-content {
    margin: 0 auto;
    width: 100%;
}

#modalAlert .pvd-alert-modal {
    border: none;
    border-radius: 0.7rem;
}

#modalAlert .pvd-alert-icon {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin-bottom: 0.8rem;
}

#modalAlert .pvd-alert-message {
    font-size: 1rem;
    color: #dc353c;
    margin-bottom: 1rem;
    line-height: 1.35;
}

#modalAlert .pvd-alert-btn {
    width: 52%;
    border-radius: 0.6rem;
    padding: 0.35rem;
    font-weight: 700;
    background: #dc353c;
    color: #fff;
}

#modalAlert .pvd-alert-btn:hover {
    background: #c62828;
    color: #fff;
}

#modalAlert .modal-body p {
    font-size: 1rem;
}

#modalAlert .btn {
    font-size: 1rem;
}


@media (max-width: 700px) {
    #modalAlert .modal-dialog.modal-sm {
        --bs-modal-width: 300px;
    }

    #modalAlert .modal-body p {
        font-size: 0.85rem !important;
    }

    #modalAlert .btn {
        font-size: 0.85rem !important;
    }

    #modalAlert .modal-body {
        padding: 1.5rem !important;
    }

    #modalAlert .modal-content {
        max-width: 95% !important;
    }
}

@media (max-width: 400px) {
    #modalAlert .modal-body p {
        font-size: 0.8rem !important;
    }

    #modalAlert .btn {
        font-size: 0.8rem !important;
    }

    #modalAlert .modal-body {
        padding: 1.5rem !important;
    }

    #modalAlert .modal-content {
        max-width: 95% !important;
    }

    #modalAlert .modal-dialog {
        padding: 0 0.5rem !important;
    }
}


