/* ===================================================================
   CONTENT: Footer menu fixe responsive DentalHub
=================================================================== */

:root {
    --dh-mobile-nav-height: 64px;
    --dh-mobile-nav-bg: #ffffff;
    --dh-mobile-nav-border: rgba(15, 23, 42, 0.08);
    --dh-mobile-nav-text: #64748b;
    --dh-mobile-nav-text-active: #2563eb;
    --dh-mobile-nav-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: var(--dh-mobile-nav-height);
    }

    .dh-mobile-footer-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .dh-mobile-footer-nav__inner {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        align-items: stretch;
        width: 100%;
        min-height: var(--dh-mobile-nav-height);
        margin: 0;
        padding: 0;
        background: var(--dh-mobile-nav-bg);
        border-top: 1px solid var(--dh-mobile-nav-border);
        box-shadow: var(--dh-mobile-nav-shadow);
    }

    .dh-mobile-footer-nav__link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: var(--dh-mobile-nav-height);
        padding: 6px 4px 5px;
        text-decoration: none;
        color: var(--dh-mobile-nav-text);
        transition: all 0.2s ease-in-out;
    }

    .dh-mobile-footer-nav__link:hover,
    .dh-mobile-footer-nav__link:focus {
        color: var(--dh-mobile-nav-text-active);
        text-decoration: none;
        background: rgba(37, 99, 235, 0.06);
    }

    .dh-mobile-footer-nav__link.is-active {
        color: var(--dh-mobile-nav-text-active);
        background: linear-gradient(180deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.06) 100%);
    }

    .dh-mobile-footer-nav__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        line-height: 1;
        margin-bottom: 4px;
    }

    .dh-mobile-footer-nav__label {
        font-size: 0.72rem;
        font-weight: 600;
        line-height: 1;
        text-align: center;
        white-space: nowrap;
    }
}

@media (min-width: 992px) {
    .dh-mobile-footer-nav {
        display: none !important;
    }
}