/**********************/
/*    Meniul public   */
/**********************/

.navbar {
    height: 100%;
}
nav {
    background-color: var(--navBg) !important;
    border-bottom: var(--navBorder) solid 1px;
    transition: background-color 0.3s ease;
}
nav .nav-link {
    font-size: var(--fs-text);
    color: var(--navText);
    transition: color 0.2s ease;
}
nav .nav-link:hover,
nav .nav-link:focus {
    color: var(--navTextHover);
}
nav .navbar-brand {
    width: 50%;
}
nav .navbar-brand img {
    filter: var(--navBrandFilter);
}
nav img {
    max-width: 100%;
    height: auto;
}
.navbar-toggler-icon {
    filter: var(--navTogglerFilter);
}
.dropdown-toggle::-moz-placeholder {
    color: var(--navText) !important;
}
.dropdown-toggle::placeholder {
    color: var(--navText) !important;
}
.dropdown-menu {
    background-color: var(--surfaceBg);
    border: 1px solid var(--surfaceBorder);
}
.dropdown-item {
    color: var(--navText);
}
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--surfaceHoverBg);
    color: var(--navTextHover);
}
.emph-text {
    color: var(--accentColor) !important;
    font-weight: 600;
}
.nav-item-popover {
    display: flex;
}
.auth-profile {
    width: 4rem;
    height: 4rem;
    -webkit-border-radius: 50%;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 50%;
    -moz-background-clip: padding;
    border-radius: 50%;
    background-clip: padding-box;
    float: left;
    background-size: cover;
    background-position: center center;
}
.auth-profile picture {
    width: 100%;
    height: 100%;
}
.auth-profile img {
    width: 100%;
    height: 100%;
    border-radius: 10rem;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.popover-picture {
    width: 4rem;
    height: 4rem;
}
.popover-picture img {
    width: 100%;
    height: 100%;
    border-radius: 10rem;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.nav-item-popover {
    display: flex;
}
.popover-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0.5rem;
    margin: 0;
    background-color: var(--popoverBg);
    color: var(--popoverText);
}
.popover {
    background-color: var(--popoverBg);
    border-color: var(--popoverBorder);
}
.popover .popover-arrow::after {
    border-bottom-color: var(--popoverBg);
}
.popover-body .popover-content {
    width: 80%;
}
.popover-body .popover-content-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.popover-body .popover-content-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.popover-body .popover-content-header .auth-profile {
    width: 6rem;
    height: 6rem;
}
.popover-body .popover-content-header span {
    font-size: var(--fs-text);
    color: var(--popoverText);
}
.popover-body .popover-content-links {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 90%;
    gap: 1rem;
    padding: 0;
}
.popover-body .popover-content-links .auth {
    display: none !important;
}
.popover-body .popover-content-links .nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    padding: 0;
    color: var(--popoverText);
}
.popover-body .popover-content-links .nav-link:hover {
    color: var(--accentColor);
}
.popover-body .popover-content-links .nav-link .popover-links-image {
    width: 1.8rem;
}
.popover-function::first-letter {
    text-transform: capitalize;
}
.popover-content-body i {
    font-size: 2em;
    color: var(--primaryColor);
}
.popover-name {
    color: var(--popoverText);
}

/* Login separator */
.logIn a {
    color: var(--navText);
}
.logIn a:hover {
    color: var(--navTextHover);
}

/* Responsive media */
@media (min-width: 768px) {
    nav .navbar-nav {
        align-items: center !important;
    }
    .logIn a::before {
        content: "";
        border-left: 2px solid var(--navBorder);
        padding-right: 1rem;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        opacity: 0.5;
    }
}

@media (min-width: 600px) {
    nav .navbar-brand {
        width: 30%;
    }
    .popover {
        max-width: 20rem;
    }
    .popover-body .popover-content-links .nav-link span {
        font-size: var(--fs-text);
    }
}
@media (min-width: 900px) {
    nav .navbar-brand {
        width: 30%;
    }
}
@media (min-width: 1024px) {
    nav .navbar-brand {
        width: 15%;
    }
    .white-nav {
        background-color: var(--navBg) !important;
    }
}
