/* =========================
   Global Reset & Layout
   ========================= */

html, body {
    height: 100%;
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #0f172a;
    color: #e5e7eb;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main content grows to push footer down */
main {
    flex: 1;
    padding: 20px;
}


/* =========================
   Navigation Bars
   ========================= */

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background-color: #b00000;
}

/* Visual separation */
.top-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bot-nav {
    margin-top: auto; /* <-- magic line */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.25);
    justify-content: center;
}

/* =========================
   Nav Sections
   ========================= */

.nav-left,
.nav-center,
.nav-right {
    display: flex;
    align-items: center;
}

.nav-center {
    gap: 12px;
}

/* =========================
   Nav Elements
   ========================= */

.nav-logo {
    font-weight: bold;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

.nav-button {
    background-color: #ff3333;
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-button:hover {
    background-color: #ff5555;
}

.nav-account {
    font-weight: bold;
}


/* =========================
   Temporary / Utility Styles
   ========================= */

.search-section {
    padding: 30px;
}

.Analysis-Button {
    background-color: #b342f5;
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* =========================
   Markdown Code Blocks
   ========================= */

pre {
    background: #020617;
    padding: 12px;
    border-radius: 6px;
    overflow-x: auto;
}

code {
    font-family: monospace;
    background: #020617;
    padding: 2px 4px;
    border-radius: 4px;
}

.codehilite {
    background: #020617;
    padding: 12px;
    border-radius: 6px;
    overflow-x: auto;
}

.codehilite pre {
    background: none;
    padding: 0;
    margin: 0;
}