﻿#m_global_wrapper .container-xl,
#m_global_wrapper .container
{
    max-width: 1280px;
}

#m_global_header {
    border-bottom: none;
}

#m_global_header,
div.m_footer {
    background-color: #1d1d1d;
    min-height:3.6rem;
}

.nav-logo,
div.m_home a,
div.m_bdt a {
    height: 30px;
    width: 150px;
    background-image: url('/images/global_header_bdt.png');
}

#m_content_wrapper {
    min-height: calc(100vh - 10rem);
}

.bar {
    background-color: #b4b4b4;
}

a.nav-link {
    padding: 0.75rem 1rem 0.5rem 1rem;
}

a.nav-login,
a.nav-logoff {
    margin-left: auto;
    color: #58595b;
    height: 30px;
    width: 60px;
    background-position: 0px 0px;
    background-repeat: no-repeat;
    text-indent: -9999px;
}

a.nav-login {
    background-image: url('/images/global/login.png');
}

a.nav-logoff {
    background-image: url('/images/global/logoff.png');
}

    a.nav-login:hover,
    a.nav-logoff:hover {
        color: #b4b4b4;
        background-position: 0px bottom;
    }

a.nav-link,
a.nav-link:link,
a.nav-link:visited {
    color: #b4b4b4;
    text-decoration: none;
}

    a.nav-link:hover {
        color: #E00;
        /*text-decoration: underline;*/
    }

#me-content-wrapper {
    background: #fff;
    background-image: url(/images/global/content_bg_gradient_at_top.gif);
    background-repeat: repeat-x;
    padding: 0 0 6rem 0;
    height: 100%;
    min-height: calc(100vh - 200px);
}

header ul.nav-menu.active {
    padding-top: 1px;
}

#btn-back-to-top {
    position: fixed !important;
    bottom: 20px;
    right: 20px !important;
    width: 48px;
    height: 48px;
    background-color: #0077b6;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 998;
}

    #btn-back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    #btn-back-to-top:hover {
        background-color: #005f8e;
    }

    #btn-back-to-top i {
        font-size: 18px;
    }

    #btn-back-to-top:focus {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

    #btn-back-to-top.at-bottom {
    }

@media only screen and (max-width: 768px) {
    ul.nav-menu.active a.nav-link,
    ul.nav-menu.active a.nav-link:link,
    ul.nav-menu.active a.nav-link:visited,
    ul.nav-menu.active a.nav-link:hover {
        color: #58595b;
    }

    #btn-back-to-top {
        bottom: 10px;
        right: 10px !important;
    }

        #btn-back-to-top i {
            font-size: 16px;
        }

        #btn-back-to-top.at-bottom {
        }

    .pagewidth {
        width: 100%;
    }

}

div.m_footer_nav {
    margin-right: 0;
}

.footer,
.footer a:link,
.footer a:visited {
    color: #b4b4b4;
    text-decoration: none;
}

    .footer a:hover {
        color: #b4b4b4;
        text-decoration: underline;
    }


/*  BDT EXTRAS - old styles: PT */
@media only screen and (max-width: 500px) {
    .flex-xs-column-reverse {
        flex-direction: column-reverse !important;
    }
}

.sub-navbar-wrapper {
    display:none;
    border-top: 1px solid #4c4c4c;
    background-color: #1d1d1d;
    min-height: 2.5rem;
}

.sub-navbar {
    font-size: 0.65rem;
    color: #484848;
    line-height: .8rem;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0;
    z-index: 1;
    color: #b4b4b4;
}

    .sub-navbar a,
    .sub-navbar a:link,
    .sub-navbar a:visited {
        color: #E00;
        text-decoration: none;
        white-space: nowrap;
        margin: 0.3rem;
        display: inline-flex;
        color: #000000;
        border: 1px solid #bbbbbb;
        text-decoration: none;
        padding: 0.3rem;
        height: 100%;
        min-width: 20px;
        width: auto;
        line-height: 1.2rem;
        text-align: center;
        background: #e3e3e3;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee');
        background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));
        background: -webkit-linear-gradient(top, #ffffff, #eeeeee);
        background: -moz-linear-gradient(top, #ffffff, #eeeeee);
        background: -ms-linear-gradient(top, #ffffff, #eeeeee);
        background: -o-linear-gradient(top, #ffffff, #eeeeee);
        background: linear-gradient(top, #ffffff, #eeeeee);
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
        border-radius: 4px;
    }

        .sub-navbar a:hover {
            color: #E00;
            /*text-decoration: underline;*/
        }


    .sub-navbar .nav-tab,
    .sub-navbar .nav-menu {
    }

    .sub-navbar .fa {
        margin-right: 0.25em;
    }

    .sub-navbar em {
        margin: 0.3rem;
        display: inline-block;
        color: #fff;
        padding: 0.25rem;
        height: 100%;
    }

    .sub-navbar .user {
        margin-left: auto;
    }

        .sub-navbar .user a,
        .sub-navbar .nav-tab a {
            white-space: nowrap;
            margin: 0.3rem;
            display: inline-block;
            color: #000000;
            border: 1px solid #bbbbbb;
            text-decoration: none;
            padding: 0.3rem;
            height: 100%;
            min-width: 20px;
            width: auto;
            line-height: 1.2rem;
            text-align: center;
            background: #e3e3e3;
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee');
            background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));
            background: -webkit-linear-gradient(top, #ffffff, #eeeeee);
            background: -moz-linear-gradient(top, #ffffff, #eeeeee);
            background: -ms-linear-gradient(top, #ffffff, #eeeeee);
            background: -o-linear-gradient(top, #ffffff, #eeeeee);
            background: linear-gradient(top, #ffffff, #eeeeee);
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            -ms-border-radius: 4px;
            -o-border-radius: 4px;
            border-radius: 4px;
        }

        .sub-navbar .user a {
            margin: 0.3rem 0 0.3rem 0.8rem;
        }


            .sub-navbar .user a.current,
            .sub-navbar .user a.current:hover,
            .sub-navbar .user a.current:focus {
                color: #e0e0e0;
                background: #3d3d3d;
            }

    .sub-navbar .nav-tab a.current,
    .sub-navbar .nav-tab a.current:hover,
    .sub-navbar .nav-tab a.current:focus {
        color: #E00;
        background: #fff;
        outline: none;
    }

    .sub-navbar .user a:hover, .sub-navbar .user a:focus, .nav-tab .user a:hover, .sub-navbar .nav-tab a:focus {
        color: #E00;
        background: #fff;
        outline: none;
    }

    .sub-navbar a.disabled {
        opacity: 0.6;
    }

    .sub-navbar div {
        display: inline-block;
    }

@supports (flex-wrap: wrap) {
    .sub-navbar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
}

#me-nav div.user {
    float: none;
}

#me-content {
    float: left;
    width: 100%;
    padding: 0 1rem;
    min-height: 1px;
}
/*.sub-navbar  div.user {
            float: none;
        }*/


/*
    Header and Footer Properties Start
*/

/* BDT Modern Header & Footer Styles for "new" theme ONLY */

body.modern-theme {
    scroll-behavior: smooth;
}

    body.modern-theme.nav-open {
        overflow: hidden;
    }

/* Responsive classes */
.bdt-hide-mobile {
    display: none;
}

.bdt-show-mobile {
    display: block;
}

.bdt-show-desktop-nav {
    display: none;
}

.btn-close-extra-white {
    color: #ffff;
    opacity: 1;
    font-weight: 900 !important;
}

@media (min-width: 768px) {
    .modern-header .navbar-nav.bdt-show-desktop-nav {
        display: flex;
        flex-direction: row;
    }

    .bdt-hide-mobile {
        display: block;
    }

    .bdt-show-mobile {
        display: none;
    }

    .bdt-hide-desktop:not(.mobile-nav-menu) {
        display: none;
    }

    .mobile-nav-menu.bdt-hide-desktop.active {
        display: block;
    }

    .bdt-show-desktop-nav {
        display: flex;
    }
}

/* Modern Header */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #000000 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    z-index: 1030;
    transition: var(--transition-base);
}

    .modern-header .modern-navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: var(--header-height);
        width: 100%;
    }

    .modern-header .modern-brand {
        flex-shrink: 0;
    }

    .modern-header .brand-logo {
        display: flex;
        align-items: center;
        text-decoration: none;
        height: 50px;
        color: #fff;
        font-weight: 600;
    }

        .modern-header .brand-logo:hover {
            filter: none;
            transform: none;
        }

    .modern-header .logo-main {
        width: auto;
        margin-right: 0.5rem;
    }

    .modern-header .brand-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .modern-header .brand-text {
        font-size: 1.1rem;
        font-weight: 600;
        white-space: nowrap;
    }

    /* Navigation Menu */
    .modern-header .navbar-nav {
        align-items: center;
        gap: 0.5rem;
        margin: 0;
        padding: 0;
        list-style: none;
        flex: 1;
    }

        .modern-header .navbar-nav .nav-link {
            display: flex;
            align-items: center;
            padding: 0.5rem 0.75rem;
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            font-weight: 500;
            border-radius: 6px;
            transition: var(--transition-base);
            white-space: nowrap;
            font-size: 0.9rem;
        }

            .modern-header .navbar-nav .nav-link:hover,
            .modern-header .navbar-nav .nav-link:focus {
                color: var(--accent-color);
                background: rgba(208, 189, 54, 0.1);
                text-decoration: none;
            }

    /* Dropdown functionality */
    .modern-header .nav-dropdown {
        position: relative;
    }

        .modern-header .nav-dropdown .dropdown-toggle {
            cursor: pointer;
        }

            .modern-header .nav-dropdown .dropdown-toggle::after {
                margin-left: 0.5rem;
                vertical-align: 0.125em;
                color: rgba(255, 255, 255, 0.8);
                transition: var(--transition-base);
            }

            .modern-header .nav-dropdown .dropdown-toggle:hover::after {
                color: var(--accent-color);
            }

        .modern-header .nav-dropdown .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 200px;
            background: #fff;
            border: 1px solid var(--border-light);
            border-radius: 8px;
            box-shadow: var(--shadow-lg);
            padding: 0.5rem 0;
            margin-top: 0.25rem;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: var(--transition-base);
            z-index: 1000;
            display: block;
            font-size: 0.9rem;
            color: var(--text-muted);
            text-align: left;
            list-style: none;
        }

            .modern-header .nav-dropdown .dropdown-menu.show,
            .modern-header .nav-dropdown.active .dropdown-menu {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }

    .modern-header .dropdown-menu-wide {
        min-width: 600px;
        left: -200px;
    }

    .modern-header .dropdown-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0.5rem;
    }

    .modern-header .dropdown-header {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--primary-color);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        display: block;
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }

    .modern-header .dropdown-item {
        display: block;
        padding: 0.5rem 1rem;
        color: var(--text-muted);
        text-decoration: none;
        border-radius: 4px;
        transition: var(--transition-base);
        font-size: 0.9rem;
        width: 100%;
        font-weight: 400;
        white-space: nowrap;
    }

        .modern-header .dropdown-item:hover,
        .modern-header .dropdown-item:focus {
            background: rgba(208, 189, 54, 0.1);
            color: var(--accent-color);
            text-decoration: none;
        }

    .modern-header .dropdown-divider {
        height: 1px;
        background: var(--border-light);
        margin: 0.25rem 0;
        overflow: hidden;
        border-top: 1px solid var(--border-light);
    }

    /* Header Actions */
    .modern-header .navbar-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .modern-header .btn-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: none;
        background: transparent;
        color: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        transition: var(--transition-base);
        cursor: pointer;
    }

        .modern-header .btn-icon:hover {
            background: rgba(208, 189, 54, 0.1);
            color: var(--accent-color);
        }

    .modern-header .user-menu {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .modern-header .user-greeting {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .modern-header .btn-login,
    .modern-header .btn-logout {
        display: flex;
        align-items: center;
        padding: 0.5rem 1rem;
        color: #fff;
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 6px;
        font-size: 0.9rem;
        font-weight: 500;
        transition: var(--transition-base);
        white-space: nowrap;
    }

        .modern-header .btn-login:hover,
        .modern-header .btn-logout:hover {
            background: var(--accent-color);
            color: #fff;
            border-color: var(--accent-color);
            text-decoration: none;
        }

    /* Mobile menu toggle - Hidden on desktop */
    .modern-header .mobile-nav-toggle {
        display: none;
        flex-direction: column;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: none;
        background: transparent;
        cursor: pointer;
        gap: 4px;
    }

    .modern-header .hamburger-line {
        width: 20px;
        height: 2px;
        background: #ffffff;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        transition: var(--transition-base);
        transform-origin: center;
    }

    .modern-header .mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(3px, 3px);
    }

    .modern-header .mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .modern-header .mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(3px, -3px);
    }

/* Mobile Navigation Menu */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 1040;
    transition: right 0.3s ease;
    overflow-y: auto;
}

    /* When mobile menu is active, show it regardless of screen size */
    .mobile-nav-menu.active {
        right: 0 !important;
        display: block !important;
    }

.mobile-nav-header {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--primary-color);
    color: #fff;
}


.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .mobile-user-info .user-avatar i {
        font-size: 2rem;
        color: #fff;
    }

    .mobile-user-info .user-details .user-name {
        display: block;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .mobile-user-info .user-details .company-name {
        display: block;
        font-size: 0.9rem;
        opacity: 0.8;
    }

    .mobile-user-info .guest-info {
        display: flex;
        align-items: center;
        font-weight: 500;
    }

.mobile-nav-body {
    padding: 1rem 0;
}

.mobile-nav-section {
    margin-bottom: 0.5rem;
    padding: 0 1rem;
}

    .mobile-nav-section h6:not(.mobile-nav-toggle) {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--primary-color);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.75rem;
    }

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

    .mobile-nav-link:hover {
        color: var(--accent-color);
        text-decoration: none;
    }

.mobile-nav-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1035;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Modern Footer */
.modern-footer {
    background: linear-gradient(176deg, #000000d6 0%, #000000 100%);
    color: #fff;
    margin-top: 3rem;
}

    .modern-footer .footer-main {
        padding: 2.5rem 0 0;
    }

    .modern-footer .footer-brand {
        display: flex;
        align-items: center;
        padding-top: 1rem;
        gap: 1.5rem;
    }

    .modern-footer .footer-tagline {
        font-size: 0.95rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 1.5rem;
    }

    .modern-footer .contact-info {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .modern-footer .contact-item {
        display: flex;
        align-items: center;
        font-size: 0.9rem;
    }

        .modern-footer .contact-item a {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            transition: var(--transition-base);
        }

            .modern-footer .contact-item a:hover {
                color: var(--accent-color);
            }

    .modern-footer .footer-heading {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: #fff;
    }

    .modern-footer .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .modern-footer .footer-links li {
            margin-bottom: 0.5rem;
        }

    .modern-footer .footer-bottom {
        position: relative;
        margin-top: 3rem;
        padding-top: .5rem;
    }

.footer-img {
    width: 285px;
    height: auto;
}

.modern-footer .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

    .modern-footer .footer-links a:hover {
        color: var(--accent-color);
    }

.modern-footer .footer-partners {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

.modern-footer .partners-content h6 {
    font-size: 14px;
    font-weight: 400;
    margin-top: 0;
    text-align: center;
    margin-bottom: 0.5rem;
}

.modern-footer .partner-logo img {
    max-width: 200px;
    height: auto;
    width: auto;
}

.modern-footer .copyright {
    margin: 0;
    padding-top: .5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.modern-footer .footer-links-inline {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}

    .modern-footer .footer-links-inline a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 0.85rem;
        transition: var(--transition-base);
    }

        .modern-footer .footer-links-inline a:hover {
            color: var(--accent-color);
        }

/* Responsive Design */
@media (max-width: 992px) {
    .modern-header .dropdown-menu-wide {
        min-width: 280px;
        left: -140px;
    }

    .modern-header .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {
    .modern-header .brand-logo img {
        height: auto;
    }

    .modern-header .brand-text {
        display: none;
    }

    .bdt-show-desktop {
        display: none !important;
    }

    .modern-header .modern-brand {
        margin-right: 1rem;
    }

    .modern-header .mobile-nav-toggle {
        display: flex;
    }

    .mobile-nav-menu {
        display: block;
    }

    /* Mobile Navigation Accordion */
    .mobile-nav-accordion {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem .75rem;
        margin: 0;
        border: none;
        background: var(--primary-color);
        color: var(--white);
        cursor: pointer;
        font-size: 0.8rem;
        font-weight: 600;
        width: 100%;
        text-align: left;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        transition: var(--transition-base);
    }

        .mobile-nav-toggle:hover {
            color: var(--accent-color);
        }

        .mobile-nav-toggle .toggle-icon {
            transition: transform 0.3s ease;
            font-size: 0.7rem;
            color: var(--white);
        }

        .mobile-nav-toggle.active .toggle-icon {
            transform: rotate(180deg);
            color: var(--accent-color);
        }

    .mobile-nav-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background-color: rgba(0, 0, 0, 0.02);
        opacity: 0;
    }

        .mobile-nav-content:not(.collapsed) {
            max-height: 500px;
            opacity: 1;
        }

        .mobile-nav-content .mobile-nav-link {
            display: flex;
            align-items: center;
            font-size: .9rem;
            padding: 0.75rem 1rem;
            color: var(--text-muted);
            text-decoration: none;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            transition: var(--transition-base);
        }

            .mobile-nav-content .mobile-nav-link:hover {
                color: var(--accent-color);
                text-decoration: none;
            }



    .mobile-nav-subsection {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-nav-subheading {
        color: var(--primary-color);
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 0 0 0.5rem 0;
        padding: 0 1rem;
    }

    .mobile-nav-subsection .mobile-nav-link {
        padding-left: 1.5rem;
    }

        .mobile-nav-subsection .mobile-nav-link:hover {
            padding-left: 2rem;
        }

    .modern-footer .footer-partners {
        flex-direction: column;
        text-align: center;
    }

    .modern-footer .partners-content {
        justify-content: center;
    }

    .modern-footer .footer-main {
        padding: 1.5rem 0 0;
    }

        .modern-footer .footer-main .row > .col-lg-2,
        .modern-footer .footer-main .row > .col-lg-3 {
            flex: 0 0 50%;
            max-width: 50%;
        }

        .modern-footer .footer-main .row > .col-lg-3 {
            flex: 0 0 100%;
            max-width: 100%;
            order: -1;
            margin-bottom: 1rem;
        }

    .modern-footer .footer-bottom {
        margin-top: 1rem;
        padding-top: 0px;
    }

        .modern-footer .footer-bottom::before {
            display: none;
        }

    .footer-img {
        margin-top: .5rem;
    }

    .modern-footer .footer-links {
        font-size: 0.85rem;
    }

    .modern-footer .footer-heading {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .modern-footer .footer-links-inline {
        justify-content: center;
        margin-top: 1rem;
    }

    .modern-footer .copyright {
        margin-top: 12px;
        text-align: center;
    }
}

/* Accessibility */
.modern-header .nav-link:focus,
.modern-header .btn-icon:focus,
.modern-header .btn-login:focus,
.modern-header .btn-logout:focus,
.modern-header .mobile-nav-toggle:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .modern-header,
    .mobile-nav-menu,
    .nav-overlay {
        display: none;
    }
}

