﻿body.theme-light {
    background-color: white;
    color: black;
}

body.theme-dark {
    background-color: #121212;
    color: white;
}

body.theme-solarized {
    background-color: #fdf6e3;
    color: #657b83;
}

/* --- NAVBAR STYLING --- */

/* Base styles for nav links */
.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

    /* Hover effect */
    .navbar-nav .nav-link:hover {
        color: #ffc107;
    }

/* --- ACTIVE STATE UNDERLINE (REGULAR LINKS ONLY) --- */
.navbar-nav .nav-item.active .nav-link {
    color: #ffc107 !important;
}

/* Add underline only if not dropdown */
.navbar-nav .nav-item.active:not(.dropdown) .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #ffc107;
    border-radius: 1px;
}

/* --- KEEP DROPDOWN TOGGLE ICON VISIBLE --- */
.navbar-nav .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.25rem;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
}

/* Ensure active dropdown still shows its caret */
.navbar-nav .nav-item.dropdown.active .dropdown-toggle::after {
    border-top-color: #ffc107;
}
