/* Base font for the entire page */
body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s, color 0.3s;
    margin: 0;
    padding: 0;
}

/* Light mode styles */
body {
    background-color: #ffffff;
    color: #333;
}

.navbar {
    width: 100%;
    background-color: #f8f8f8;
    border-bottom: 1px solid #dddddd;
    padding: 8px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000; 
}

.navbar-logo {
    height: 44px;
    width: auto;
    margin-left: 7px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 20px;
}

.navbar-links {
    display: flex;
    gap: 15px;
}

.navbar-links a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 12px;
    transition: color 0.3s, border-color 0.3s;
    border: 1px solid transparent;
}

.navbar.logout-visible .navbar-links a {
    color: #fff;
}

.navbar-links a:hover {
    border-color: #545454;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
    margin-right: 10px;
}

@media (max-width: 600px) {
    .navbar-logo {
        height: 33px;
        width: auto;
        -webkit-user-drag: none;
    }
}

/* Dark mode styles */
body.dark-mode {
    background-color: #181818;
    color: #e0e0e0;
}

body.dark-mode .navbar {
    background-color: #242424;
    border-bottom: 1px solid #444444;
}

body.dark-mode .navbar-links a {
    color: #e0e0e0;
}

body.dark-mode .navbar-links a:hover {
    color: #fff;
    border-color: #545454;
}

body.dark-mode .theme-toggle {
    color: #f0f0f4;
}
body.dark-mode, .dark-mode body {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
}
.dark-mode .navbar {
    background-color: #333 !important;
    border-bottom: 1px solid #444 !important;
}
.dark-mode .navbar-links a {
    color: #e0e0e0 !important;
}
.dark-mode .navbar-links a:hover {
    color: #bbb !important;
    border-color: #bbb !important;
}
.dark-mode .theme-toggle {
    color: #f0f0f4 !important;
}
body {
    transition: background-color 0.4s ease, color 0.4s ease;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #333;
}
.no-transition {
    transition: none !important;
}
.theme-toggle .icon {
    font-family: 'Noto Color Emoji', sans-serif;
    font-size: 18px; /* Reduced size */
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.8em; /* Adjusted width */
    height: 0.8em; /* Adjusted height */
}
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    font-size: 14px;
    background-color: #f8f8f8;
    border-top: 1px solid #dddddd;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #555;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-link {
    color: #555;
    text-decoration: none;
    padding: 0 10px; 
}

.footer-link:hover {
    text-decoration: underline;
}
.footer-copyright {
    color: #555;
    text-decoration: none;
    padding: 0 10px; 
}
.dark-mode .footer-copyright {
    color: #bbb;
}

.dark-mode .footer {
    background-color: #2a2a2a;
    border-top: 1px solid #444444;
    color: #bbb;
}

.dark-mode .footer-link {
    color: #bbb;
}
.logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background-color: #d9534f;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    transition: background-color 0.3s;
    margin-right: 10px;
}

.logout-btn i {
    font-size: 14px;
}

.dark-mode .logout-btn {
    background-color: #d9534f;
    color: #fff;
}