.onlyMobile {
    display: none;
}

@media (max-width: 768px) {
    .onlyMobile {
        display: block;
    }

    .notMobile {
        display: none;
    }

    .loginButtonNavbar {
        padding: 8px 0 !important;
        width: 100%;
    }

    .app-nav-right{
        margin-top: 0.5rem;
    }
}

.dropdown-toggle::after {
    margin-left: 0.5rem !important;
    font-size: 22px !important;
}

.textCenter {
    justify-content: center;
    text-align: center;
}

.dropdownMenu{
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    display: none;
    float: left;
    min-width: 10rem;
    display:none;
    flex-direction: column;
    gap: 6px;
    padding: 6px 8px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    width: 100%;
    max-width: 300px;
}

.dropdownMenu a,
.dropdownMenu span{
    color: #575a7b;
}

.dropdownMenu a:hover{
    color: #111827;
}

.dropdownMenu i{
    color: #575a7b;
}

.dropdownMenu.show{
    display: flex;
}

.docsContainer{
    padding: 8px 30px !important;
}

.buttonDropdown{
    font-size:14px;
    max-width: 300px; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
    padding: 0.45rem 0.85rem !important;
    display:flex;
    gap: 0.5rem;
    align-items:center;
}

.truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    flex: 1;
    min-width: 0;
}

.navbar:before{
    border:none !important;
}

@media (min-width: 1200px) {
    .buttonContainer {
        display: flex;
        align-items: center;
    }
}

@media(max-width: 1199px) {
    .navbar-nav>.nav-item {
        border-top: 1px solid rgba(27, 22, 66, .065);
        width: 100%;
    }

    .navbar-nav>.dropdown>.dropdown-toggle:after {
        color: #8d9aae;
        content: "\e92e";
        font-family: Feather;
        margin-left: auto;
        transform-origin: center center;
    }

    .buttonContainer{
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .navbar-nav .buttonContainer .btn{
        width: 100%;
    }

    .buttonDropdown{
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .truncate-text{
        text-align: center;
    }

    .dropdownMenu{
        left: 50%;
        transform: translateX(-50%);
    }

    .navbarLinks.nav-link {
        padding: 12px 0 !important;
    }

    .accountDropdown{
        padding-top: 12px !important;
    }
}

/* Match theme.bundle behavior for larger breakpoint */
@media (max-width: 1199.98px) {
    .navbar-nav>.nav-item>.nav-link{
        display: flex;
        padding-bottom: .75rem;
        padding-top: .75rem;
    }
}

.cross::before {
    color: grey;
    content: '\2716' !important;
    margin-left: 2px;
}