/* notes.css */
@import url('./global.css');

body {
    background: #1a1a1a;
    color: #dcddde;
    margin: 0;
    padding: 0;
}

/* Navbar Theme */
.navbar {
    background-color: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-link {
    color: #f7f3eb;
}

.nav-link:hover {
    color: #ffffff;
}

/* Notes-specific styles */
.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px;
    box-sizing: border-box;
}

.header {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 8px;
}

.graph-container {
    position: relative;
    flex-grow: 1;
    background-color: #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
}

svg {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.footer {
    font-size: 12px;
    color: #a0a0a0;
    margin-top: 8px;
}

/* Custom Scrollbar Styles */
body::-webkit-scrollbar {
    width: 6px;
    /* Thin scrollbar */
}

body::-webkit-scrollbar-track {
    background: transparent;
    /* No background to avoid layout shift */
}

body::-webkit-scrollbar-thumb {
    background: rgba(247, 243, 235, 0.3);
    /* Light, semi-transparent thumb matching theme */
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(247, 243, 235, 0.5);
    /* Slightly brighter on hover */
}

/* Firefox Scrollbar */
body {
    scrollbar-width: thin;
    /* Thin scrollbar */
    scrollbar-color: rgba(247, 243, 235, 0.3) transparent;
    /* Thumb color, transparent track */
}

/* Ensure content doesn’t shift */
html,
body {
    overflow-y: overlay;
    /* Scrollbar overlays content, no space taken */
}