/**

 * EDU — Mobile shell: bottom tab bar structure (≤820px)

 * Visual styling (floating pill) lives in app_native_mobile.css

 */



@media (max-width: 820px) {

  html.edu-view-web footer.edu-web-footer,

  footer.edu-web-footer,

  .edu-web-shell > footer.edu-web-footer,

  .edu-web-shell .edu-web-footer {

    display: none !important;

  }



  html.edu-view-web .edu-bottom-nav,

  .edu-bottom-nav {

    display: grid !important;

    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;

    align-items: stretch !important;

    gap: 0 !important;

    overflow: visible !important;

  }



  .edu-bottom-nav--cols-6 {

    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;

  }



  .edu-bottom-nav a {

    position: relative !important;

    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    justify-content: center !important;

    color: #94a3b8 !important;

    text-decoration: none !important;

    -webkit-tap-highlight-color: transparent;

  }



  .edu-bottom-nav a b {

    line-height: 1.2 !important;

    max-width: 100%;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

  }



  .edu-bottom-nav--cols-6 a b {

    font-size: 9px !important;

  }



  .edu-bottom-nav .edu-nav-icon {

    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    color: inherit !important;

  }



  .edu-bottom-nav .edu-nav-icon-svg,

  .edu-bottom-nav .edu-nav-icon svg {

    width: 26px !important;

    height: 26px !important;

  }



  .edu-bottom-nav a.active:not(.is-featured) {

    background: transparent !important;

    box-shadow: none !important;

    transform: none !important;

  }



  .edu-bottom-nav a.active:not(.is-featured),

  .edu-bottom-nav a.active:not(.is-featured) b {

    color: #0b1426 !important;

  }



  .edu-bottom-nav a.active:not(.is-featured) .edu-nav-icon {

    color: #f97316 !important;

    background: transparent !important;

    box-shadow: none !important;

  }



  .edu-company-mode .edu-bottom-nav a.active:not(.is-featured),

  .edu-parent-mode .edu-bottom-nav a.active:not(.is-featured),

  .edu-trainer-mode .edu-bottom-nav a.active:not(.is-featured),

  .edu-child-mode .edu-bottom-nav a.active:not(.is-featured),

  .edu-student-mode .edu-bottom-nav a.active:not(.is-featured) {

    background: transparent !important;

    box-shadow: none !important;

    transform: none !important;

  }



  .edu-company-mode .edu-bottom-nav a.active:not(.is-featured) b,

  .edu-parent-mode .edu-bottom-nav a.active:not(.is-featured) b,

  .edu-trainer-mode .edu-bottom-nav a.active:not(.is-featured) b,

  .edu-child-mode .edu-bottom-nav a.active:not(.is-featured) b,

  .edu-student-mode .edu-bottom-nav a.active:not(.is-featured) b {

    color: #0b1426 !important;

  }



  .edu-company-mode .edu-bottom-nav a.active:not(.is-featured) .edu-nav-icon,

  .edu-parent-mode .edu-bottom-nav a.active:not(.is-featured) .edu-nav-icon,

  .edu-trainer-mode .edu-bottom-nav a.active:not(.is-featured) .edu-nav-icon,

  .edu-child-mode .edu-bottom-nav a.active:not(.is-featured) .edu-nav-icon,

  .edu-student-mode .edu-bottom-nav a.active:not(.is-featured) .edu-nav-icon {

    color: #f97316 !important;

    background: transparent !important;

    box-shadow: none !important;

  }



  .edu-bottom-nav a.active:not(.is-featured)::before {

    content: "" !important;

    position: absolute !important;

    top: 0 !important;

    left: 50% !important;

    transform: translateX(-50%) !important;

    width: 24px !important;

    height: 3px !important;

    border-radius: 0 0 3px 3px !important;

    background: #f97316 !important;

  }



  .edu-bottom-nav a.is-featured {

    z-index: 1;

  }



  .edu-bottom-nav a.is-featured .edu-nav-icon {

    width: 36px !important;

    height: 36px !important;

    border-radius: 50% !important;

    background: #f97316 !important;

    color: #fff !important;

  }



  .edu-bottom-nav a.is-featured.active .edu-nav-icon {

    background: #ea580c !important;

  }



  .edu-bottom-nav a.is-featured b {

    color: #0b1426 !important;

    font-weight: 700 !important;

  }



  .edu-bottom-nav a .nav-badge {

    position: absolute;

    top: 2px;

    inset-inline-end: calc(50% - 22px);

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: 18px !important;

    height: 18px !important;

    min-width: 18px !important;

    padding: 0 !important;

    border-radius: 50% !important;

    background: #22c55e !important;

    color: #fff !important;

    font-size: 10px !important;

    font-weight: 700 !important;

    line-height: 1 !important;

    text-align: center;

    font-style: normal;

    border: 2px solid #fff;

    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.35);

  }

}



@media (min-width: 821px) {

  html.edu-view-web .edu-bottom-nav {

    display: none !important;

  }

}

