/* General styles */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 10px;
    padding: 0;
}

/* Links */
a {
    color: #bb86fc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Headings */
h1, h2 {
    color: #ffffff;
}

/* Form */
form {
    margin-bottom: 1em;
}

label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: #e0e0e0;
}

textarea, input[type="text"], button {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border: 1px solid #3c3c3c;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 1em;
    xwidth: 100%;
}

textarea {
    height: 50vh;
}

button {
    background-color: #bb86fc;
    color: #121212;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    font-weight: bold;
}

button:hover {
    background-color: #9d67d1;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

th, td {
    padding: 8px;
    border: 1px solid #3c3c3c;
    text-align: left;
}

th {
    background-color: #1f1f1f;
    color: #e0e0e0;
}

td {
    background-color: #2b2b2b;
}

/* Messages */
.message {
    color: #80d48f;
    font-weight: bold;
}

.error {
    color: #f28b82;
    font-weight: bold;
}

/* Navigation */
nav {
    background-color: #1e1e1e;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
}

nav a {
    color: #bb86fc;
    margin: 0 15px;
    font-weight: bold;
    text-transform: uppercase;
}

nav a:hover {
    color: #9d67d1;
}

/* Horizontal rule */
hr {
    border: 0;
    border-top: 1px solid #3c3c3c;
    margin: 20px 0;
}


textarea { width: 90%; height: 50vh; margin-bottom: 1em;}
input[type="text"] { width: 90%; margin-bottom: 1em; }
table { width: 99%; border-collapse: collapse; }
th, td { padding: 8px; border: 1px solid #ccc; text-align: left; }
.message { color: green; }
.error { color: red; }

.knowledge-view {
    background-color: #1e1e1e;
    color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    white-space: pre-wrap; /* Preserve newlines */
}
.highlight{
    background-color: #e8f5e9 !important; /* Light green background */
    color: #559764; /* Brighter green text */
    font-weight: bold; /* Bold text for emphasis */
    border: 2px solid #559764; /* Green border to match text */
    border-radius: 4px; /* Slightly rounded corners */
}
.highlight td{
    background-color: #142d1a; /* Light green background */
}
#session-timer {
    color: #888888;
    display: inline;
}
