body {
    background: #f5f6f8;
}

#map {
    width: 100%;
    height: calc(100vh - 160px);
    border-radius: 12px;
    border: 1px solid #ddd;
}

@media (max-width: 768px) {

    body {
        background: #ffffff;
    }

    .navbar .navbar-brand {
        font-size: 18px;
        font-weight: bold;
    }

    .navbar span.small {
        display: none;
    }

    #map {
        height: 65vh;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .card {
        border-radius: 0;
        box-shadow: none !important;
    }

    .modal-dialog {
        margin: 10px;
    }

    .modal-content {
        border-radius: 14px;
    }

    .btn {
        min-height: 46px;
        font-size: 16px;
    }
}


.footer-reportala {
    padding: 12px;
    background: #f5f6f8;
}

.footer-box {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    color: #6c757d;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-box strong {
    color: #343a40;
}

.footer-box a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
}

.footer-box a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {

    #map {
        height: 48vh;
        border-radius: 0;
    }

    .panel-ciudadano {
        max-height: none;
        overflow-y: visible;
        margin-bottom: 10px;
    }

    .footer-reportala {
        position: relative;
        padding: 8px;
    }

    .footer-box {
        font-size: 11px;
        padding: 8px;
        text-align: center;
    }
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

#map {
    width: 100%;
    height: calc(100vh - 155px);
    border-radius: 12px;
    border: 1px solid #ddd;
}

.panel-ciudadano {
    max-height: calc(100vh - 155px);
    overflow-y: auto;
}

.footer-reportala {
    padding: 8px 12px;
    background: #f5f6f8;
}

.footer-box {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    color: #6c757d;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-box strong {
    color: #343a40;
}

.footer-box a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {

    #map {
        height: 45vh !important;
        min-height: 320px;
        max-height: 420px;
        border-radius: 0 !important;
    }

    .container-fluid {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .panel-ciudadano {
        max-height: none !important;
        overflow-y: visible !important;
        margin-top: 10px;
    }

    .footer-reportala {
        position: relative !important;
    }
}