/* =========================================================
   OTR411 SHARED FOOTER NAV
   6 buttons total — larger app-style buttons
   ========================================================= */

.otr-footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    background: #ffffff;
    border-top: 1px solid #e9ecef;

    display: flex;
    gap: 10px;
    padding: 12px 8px;

    justify-content: center;
    align-items: center;

    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);

    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.otr-footer-nav a {
    flex: 1;
    min-width: 80px;
    max-width: 110px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;

    padding: 10px 6px;
    box-sizing: border-box;

    transition: 0.2s;
}

.otr-footer-nav a:hover {
    background: #ffffff;
    border-color: #ffc107;
}

.otr-footer-nav .icon {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 4px;
}

.otr-footer-nav .label {
    font-size: 10px;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
}

.otr-footer-nav a.active-nav {
    background: #ffffff !important;
    border-color: #ffc107 !important;
}

.otr-footer-nav a.active-nav .label {
    color: #000000;
}

body {
    padding-bottom: 150px;
}

/* Small phones */
@media (max-width: 420px) {
    .otr-footer-nav {
        justify-content: flex-start;
        gap: 8px;
        padding: 10px 8px;
    }

    .otr-footer-nav a {
        flex: 0 0 86px;
        min-width: 86px;
        max-width: 86px;
        padding: 9px 5px;
    }

    .otr-footer-nav .icon {
        font-size: 21px;
    }

    .otr-footer-nav .label {
        font-size: 9px;
    }
}

/* Tablets and wider screens */
@media (min-width: 700px) {
    .otr-footer-nav a {
        max-width: 120px;
        min-width: 95px;
    }
}