#admin-shell {
    width: 100%;
    height: 100%;
}

.sign-out-link {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: white;
    display: flex;
    align-items: center;
    height: auto;
    font: inherit;
    font-weight: 700;
    overflow: hidden;
    padding: 0.5rem 1rem;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

iframe{
    width:100%;
    margin: 0;
    padding: 0;
    height: calc(100vh - 3.5rem);
    height: calc(100svh - 3.5rem);
    height: calc(100dvh - 3.5rem);
    border: none;
    display:block;
}

nav {
    display: flex;
    height: 3.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    background-color:#0d6efd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

nav a{
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    align-items: center;
}

.navbar-brand {
    flex: 0 1 auto;
    min-width: 0;
    padding: 0 1rem;
    font-size: 1.5rem;
    color: white;
}

.navbar-brand h3 {
    font-size: inherit;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
    height: 100%;
    align-items: center;
    padding: 0 1rem;
}
.navbar-nav div {
    display: flex;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0.35rem;
    padding: 0 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.has-submenu > .nav-link::after {
    border-bottom: 0.12rem solid currentColor;
    border-right: 0.12rem solid currentColor;
    content: "";
    display: inline-block;
    height: 0.42rem;
    margin-left: 0.1rem;
    transform: rotate(45deg) translateY(-0.1rem);
    transition: transform 0.15s ease;
    width: 0.42rem;
}

.nav-link:hover, .nav-link.active {
    color: white;
}

#btn-sign-out:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: white;
}

#hamburger {
    display: none;
}

.navbar-nav > div {
    position: relative;
    height: 100%;
    align-items: center;
}

.navbar-nav>div>.dropdown-options{
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: max-content;
    background-color: #0b5ed7;
    padding: 0.35rem 0;
    justify-content: space-around;
    align-items:start;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.navbar-nav > div:last-of-type > .dropdown-options {
    right: 0;
    left: auto;
}

.navbar-nav>div:hover>.dropdown-options{
    display: flex;
}

@media only screen and (min-width: 961px) {
.has-submenu:hover > .nav-link::after {
        transform: rotate(225deg) translate(-0.1rem, -0.1rem);
    }
}

/* Fisrt Tier Dropdown */
.dropdown-options a,
.dropdown-options button {
    width: 100%;
    height: auto;
    padding: 0.5rem 1rem;
    color: white;
}

.dropdown-options a:hover,
.dropdown-options a.active,
.dropdown-options button:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

#sign-out-confirmation .modal-content p {
    color: #1f2937;
    font-size: 1rem;
    margin: 0;
}

@media only screen and (max-width: 960px) {
#hamburger {
        display: block;
        flex: 0 0 auto;
        font-size: 1.2rem;
        margin-right: 0.75rem;
        padding: 0.25rem 0.6rem;
        color: white;
        background-color: #0d6efd;
        border: 2px solid white;
        z-index: 1;
    }

    nav {
        display: flex;
    }

    .navbar-brand {
        font-size: clamp(1rem, 6vw, 1.35rem);
        padding: 0 0.75rem 0 1rem;
    }

    .navbar-nav{
        align-items: stretch;
        display: none;
        flex-direction: column;
        position: absolute;
        top:100%;
        right:0;
        width: 100%;
        height: auto;
        padding: 0.35rem 0;
        background-color:#0d6efd;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
    }

    .navbar-nav.active{
        display: flex;
    }

    .navbar-nav > div {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .navbar-nav .nav-link,
    .sign-out-link {
        box-sizing: border-box;
        min-height: 2.75rem;
        padding: 0.65rem 1rem;
        width: 100%;
    }

    .has-submenu > .nav-link {
        justify-content: space-between;
    }

    .has-submenu.submenu-open > .nav-link::after {
        transform: rotate(225deg) translate(-0.1rem, -0.1rem);
    }

    .navbar-nav>div>.dropdown-options {
        display: none;
        position: static;
        box-shadow: none;
        background-color: #0b5ed7;
        padding: 0;
        width: 100%;
    }

    .navbar-nav>div.submenu-open>.dropdown-options {
        display: flex;
    }

    .navbar-nav .dropdown-options .nav-link,
    .navbar-nav .dropdown-options .sign-out-link {
        padding: 0.65rem 1rem 0.65rem calc(1rem + 2ch);
    }

    .nav-database {
        display: none;
    }
}
