/* static/css/style.css For wide screen browsers.
   and the common design elements with mobile phone devices */
:root {
    --primary-color: #64abc4;
    --accent-color: #ff9500;
}

/* --- Header & Logo Enhancements --- */
header.navbar {
    height: 80px; /* 0. Set a fixed, standard height for the header */
}

/* Custom override for a pure black header */
header.navbar.bg-dark {
    background: #000000 !important;
}

header.navbar .container-fluid {
    position: relative;
    width: 100%;
    height: 100%;
}

.navbar-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 80%;
    width: auto;
}

body {
    font-size: .875rem;
}

.text-accent {
    color: var(--accent-color) !important;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
    font-weight: bold;
}

.btn-accent:hover {
    background-color: #e68600;
    border-color: #cc7700;
    color: #ffffff;
}

/* --- Desktop Sidebar Styles --- */
.sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 80px; /* Adjusted to match the new header height */
    height: calc(100vh - 80px); /* Adjusted for new header height */
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    font-size: 1.2rem; /* 1. Set font size to 1rem */
}

.sidebar .nav-link .bi {
    width: 16px;
    height: 16px;
    display: inline-block;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: var(--primary-color);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}