/*
 * Minimalist menu-bar theme.
 * Scoped entirely to the top navbar (.navbar-minimal) so nothing else
 * — including the assessment wizard, cards, and result charts — is affected.
 */

:root {
    --nav-bg: #ffffff;
    --nav-border: #edf0f3;
    --nav-brand: #1f2733;
    --nav-link: #6b7280;
    --nav-link-hover: #1f2733;
    --nav-accent: #3490dc;
}

.navbar-minimal {
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: none;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

/* Brand */
.navbar-minimal .navbar-brand {
    color: var(--nav-brand);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.navbar-minimal .navbar-brand:hover,
.navbar-minimal .navbar-brand:focus {
    color: var(--nav-brand);
}

/* Nav links — muted, with an accent underline that grows on hover/active */
.navbar-minimal .navbar-nav .nav-link {
    position: relative;
    color: var(--nav-link);
    font-weight: 600;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    transition: color 0.15s ease-in-out;
}

.navbar-minimal .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: -0.2rem;
    height: 2px;
    background-color: var(--nav-accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.18s ease-in-out;
}

.navbar-minimal .navbar-nav .nav-link:hover,
.navbar-minimal .navbar-nav .nav-link:focus,
.navbar-minimal .navbar-nav .nav-link.active {
    color: var(--nav-link-hover);
}

.navbar-minimal .navbar-nav .nav-link:hover::after,
.navbar-minimal .navbar-nav .nav-link:focus::after,
.navbar-minimal .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* The user dropdown toggle keeps the underline behaviour but drops the caret shift */
.navbar-minimal .navbar-nav .dropdown-toggle {
    color: var(--nav-brand);
}

/* Dropdown panel — clean, borderless, soft */
.navbar-minimal .dropdown-menu {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 6px 24px rgba(31, 39, 51, 0.08);
    padding: 0.4rem 0;
    margin-top: 0.6rem;
}

.navbar-minimal .dropdown-item {
    color: var(--nav-link);
    font-weight: 500;
    padding: 0.5rem 1.2rem;
}

.navbar-minimal .dropdown-item:hover,
.navbar-minimal .dropdown-item:focus {
    color: var(--nav-link-hover);
    background-color: #f6f8fa;
}

/* Toggler (mobile) */
.navbar-minimal .navbar-toggler {
    border: none;
    padding: 0.25rem 0.4rem;
}

.navbar-minimal .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}
