@font-face {
    font-family: 'Geist';
    src: url('/static/geist.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}


:root {
    --bg-color: #f4f7fb;
    --text-color: #1f2937;
    --nav-bg: #ffffff;
    --footer-bg: #ffffff;
    --muted-text: #6b7280;
    --accent-color: #0d6efd;
    --card-bg: #ffffff;
    --cyan: #0b6bcb;
    --green: #0a58ca;
    --pink: #084298;
}

body {
    margin: 0;
    font-family: 'Geist', sans-serif;
    overflow-x: clip;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5, h6, .display-3, .navbar-brand {
    font-family: 'Geist', sans-serif;
}

code, kbd, pre, samp {
    font-family: 'Geist Mono', monospace;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

.standalone-content {
    box-sizing: border-box;
    min-width: 0;
    padding: 1rem;
    width: 100%;
}

.page-card {
    background-color: var(--card-bg);
    border: 1px solid #dbe3ee !important;
    color: var(--text-color);
    margin: 0 auto;
    max-width: 42rem;
    overflow-wrap: break-word;
    width: 100%;
    box-shadow: 0 0.75rem 2rem rgba(31, 41, 55, 0.08) !important;
}

.disclaimer {
    background-color: #eef5ff;
    border: 1px solid #cfe2ff;
    color: #334155;
}

.page-card a {
    color: var(--cyan);
}

.page-card a:hover {
    color: var(--green);
}

.email-link {
    text-decoration: none;
}

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

.btn-primary {
    --bs-btn-bg: var(--accent-color);
    --bs-btn-border-color: var(--accent-color);
    --bs-btn-hover-bg: var(--pink);
    --bs-btn-hover-border-color: var(--pink);
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
}

.page-card .btn-primary {
    color: #ffffff !important;
}

.page-card .btn-primary:hover,
.page-card .btn-primary:focus {
    color: #ffffff !important;
}

@media (max-width: 576px) {
    .standalone-content .lead {
        overflow-wrap: anywhere;
    }
}

.navbar {
    background-color: var(--nav-bg) !important;
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.08);
    transition: background-color 0.3s;
}

.navbar-brand, .nav-link {
    color: var(--text-color) !important;
    transition: color 0.3s;
}

footer {
    background-color: var(--footer-bg) !important;
    transition: background-color 0.3s;
    margin-top: auto;
}

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

.btn-theme-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-theme-outline:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    .d-flex.gap-3 {
        gap: 0.5rem !important;
    }
}

.text-orange {
    color: #ff6b00;
}

#side-bar {
    position: -webkit-sticky;
    position: sticky;
    top: 95px;
    height: 75vh;
    color: #000;
    overflow-y: auto;
    background-color: #ffffff !important;
}

#side-bar .nav-link {
    color: 000;
}

.dropdown-menu {
    max-width: 50px;
}

#side-bar a {
    color: rgb(46, 45, 45) !important;
}

#side-bar i {
    color: rgb(46, 45, 45);
}


.nav-link.active {
    color: #0D73E0 !important;
    background-color: #ffffff !important;
}

.nav-link.active i {
    color: #0D73E0 !important;
}

.nav-link.active #nav-text {
    color: #0D73E0 !important;
}

.info-icon {
    color: grey;
    cursor: pointer;
}

footer .text-muted a {
    text-decoration: none;
}

footer .text-muted a:hover {
    text-decoration: underline;
}