﻿/* Global page background: fixed and covers the viewport */
html {
    height: 100%;
    margin: 0;
    min-height: 100vh;
    /* Background lives on <html> so body margins don't reveal the page background */
    background-image: url('/images/monitor.jpeg');
    background-size: 100% 100%; /* stretch to fill width AND height */
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed; /* optional: keeps image fixed while content scrolls */
    background-color: #000; /* fallback color while image loads */
}

body {
    /* Default text in a fixed-width (monospace) font */
    font-family: "Courier New", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: small;
    color: lightgreen;
    margin: 9% 7% 7% 9%;
    background: transparent; /* keep background visible from html element */
    
    /* Keep body flexible and let content determine height */
    min-height: 0;
    box-sizing: border-box;
}


.info-box {
    background-color: #e8f3ff; /* Light blue background */
    border-left: 4px solid #2b7cff; /* Strong blue accent line */
    padding: 12px 16px;
    border-radius: 4px;
    color: #0b3c75; /* Dark blue text */
    font-family: Arial, sans-serif;
}

/* ----------------------
   Link styling options
   ---------------------- */

/* CSS-only (best-effort). Modern browsers will typically apply color for :visited,
   but may ignore font-style/font-weight changes on :visited for privacy reasons. */
a {
    color: lightgreen;
    font-weight: bold; /* unfollowed links are bold + lightgreen */
    text-decoration: underline;
}

a.blg-visited {
    color: lightgreen;
    font-weight: bold;
    font-style: italic;
}


/* ----------------------
   Debug Info Window
   ---------------------- */

.blg-debug-authbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #111;
    color: #ddd;
    font-family: Consolas, monospace;
    font-size: 12px;
    padding: 10px;
    border-top: 2px solid #444;
    max-height: 35vh;
    overflow: auto;
}

.blg-debug-authbar .title {
    font-weight: 700;
    margin-bottom: 6px;
}

.blg-debug-authbar .row {
    display: flex;
    gap: 10px;
    margin: 2px 0;
}

.blg-debug-authbar .k {
    width: 110px;
    color: #aaa;
}

.blg-debug-authbar .v {
    flex: 1;
    word-break: break-all;
}

.blg-debug-authbar pre.token {
    white-space: pre-wrap;
    word-break: break-all;
    background: #1b1b1b;
    padding: 6px;
    border: 1px solid #333;
}

.blg-debug-authbar .btn {
    margin-top: 6px;
    margin-right: 6px;
    padding: 4px 8px;
}