:root {
    --bg-color: #ffffff;
    --text-color: #1e1e2e;
    --nav-bg: #ffffff;
    --footer-bg: #f8f9fa;
    --muted-text: #6c757d;
    --accent-color: #0d6efd;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1e1e2e;
        --text-color: #ffffff;
        --nav-bg: #1e1e2e;
        --footer-bg: #1e1e2e;
        --muted-text: #a0a0b0;
    }
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    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: 'Outfit', sans-serif;
}

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

.navbar {
    background-color: var(--nav-bg) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    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;
}

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

/* Custom themed outline button to replace rough btn-outline-light */
.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;
}

.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--muted-text);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

    margin-left: auto;
}

#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;
}