/* Township of Langley CRM Dashboard Styles */

:root {
    --tol-primary: #1e4d72;
    --tol-secondary: #2c5f7c;
    --tol-accent: #4a90a4;
    --tol-light: #f8f9fa;
}

.bg-primary {
    background-color: var(--tol-primary) !important;
}

.btn-primary {
    background-color: var(--tol-primary);
    border-color: var(--tol-primary);
}

.btn-primary:hover {
    background-color: var(--tol-secondary);
    border-color: var(--tol-secondary);
}

.sidebar {
    position: fixed;
    top: 48px;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link.active {
    color: var(--tol-primary);
    background-color: rgba(30, 77, 114, 0.1);
}

.sidebar .nav-link:hover {
    color: var(--tol-secondary);
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
}

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

.table th {
    border-top: none;
    font-weight: 600;
}

.card-header {
    background-color: var(--tol-light);
    border-bottom: 1px solid rgba(30, 77, 114, 0.2);
}

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

.border-primary {
    border-color: var(--tol-primary) !important;
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}