/* Pink header tabs — shared by React SPA and PHP templates.
   PHP pages ship Font Awesome 4; React uses FA6. Force the same
   solid webfont on header icons so both shells match. */
@font-face {
    font-family: "FF Header Icons";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("../admin/plugins/fontawesome-free/webfonts/fa-solid-900.woff2") format("woff2"),
         url("../admin/plugins/fontawesome-free/webfonts/fa-solid-900.woff") format("woff");
}

.main-tabs {
    background-color: #ff73d8 !important;
    position: relative;
    z-index: 5;
    width: 100%;
    height: 49px;
    border-top: 1px #ff73d8;
    line-height: 49px;
}

.main-tabs .container-fluid,
.main-tabs .row,
.main-tabs .row > [class*="col-"] {
    height: 100%;
}

.main-tabs .row {
    align-items: center;
}

.main-tabs .tabs,
.main-tabs.teacher-header .tabs,
.main-tabs.student-header .tabs {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    height: 100%;
    text-align: center;
    margin: 0 auto;
}

.main-tabs .tabs .library-tour-fav-playlist-anchor {
    display: flex !important;
    align-items: stretch;
    align-self: stretch;
    gap: 8px;
    height: 100%;
}

.main-tabs .tabs .tab-item,
.main-tabs .tabs .library-tour-fav-playlist-anchor > .tab-item {
    flex: 0 0 80px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    overflow: visible !important;
    width: 80px !important;
    max-width: 80px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 3px 2px 4px !important;
    float: none !important;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
    font-family: Helvetica Neue, Roboto, sans-serif;
    opacity: .7;
    font-size: 11px !important;
    line-height: 1.15 !important;
}

.main-tabs .tab-item .icon,
.main-tabs .tab-item .icon:before {
    font-family: "FF Header Icons", "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-tabs .tab-item .icon {
    display: block !important;
    margin: 0 0 2px !important;
    height: 24px !important;
    width: 24px !important;
    font-size: 24px !important;
    line-height: 1 !important;
    color: #fff !important;
    text-decoration: none;
    text-align: center;
}

/* FA4 fa-sign-out (\f08b) has no glyph in the FA5 solid font we force on PHP pages. */
.main-tabs .tab-item .fa-sign-out:before {
    content: "\f2f5" !important;
}

.main-tabs .tab-item.active {
    border: 0;
    padding: 3px 2px 4px !important;
    height: 100% !important;
    background-color: #ff73d8;
    font-weight: 700;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .3);
    color: #fff !important;
    opacity: 1;
    letter-spacing: 1px;
}
