body {
    background-color: #f8f9fa;
}

h1 {
    color: #343a40;
}
body {
    font-family: Arial, sans-serif;
    background-color: #1b1e1e;
    color: #f8f6f6;
    margin: 10px;
}


a {
    color: #0078d7;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
.success {
    color: #28a745;
    font-weight: bold;
}
.infoblock {
    white-space: normal !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
    margin-bottom: 8px !important;
    padding: 4px !important;
    border-radius: 4px !important;
}
.infoblock .console, .infoblock .error {
    display: inline !important;
    padding: 2px !important;
    line-height: 1.5 !important;
}

.infoblock:nth-child(odd) {
    background-color: rgba(0,0,0,0.1);
}
pre {
    max-width: 100% !important;
    overflow-x: hidden !important;
}
code {
    white-space: normal !important;
}


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

.warning {
    color: #f1b204;
    font-weight: bold;
}
.console {
    color: #7c5c02;
    font-weight: bold;
}
.info {
    color: #0728cf;
    font-weight: bold;
}
button {
    background-color: gray;
    color: white;
    border: none;
    border-radius: 10px;
    height: 30px;
    cursor: pointer;
    min-width: 100px;
}

button:hover {
    background-color: darkgray;
}
.terminal {
    background-color: black;
    color: #f9fdf9;
    font-family: "Courier New", Courier, monospace;
    padding: 10px;
    margin-top: 20px;
    border-radius: 5px;
    height: 400px;
    width: 600px;
    overflow-y: auto;
    font-size: 10px;
}

.terminal::-webkit-scrollbar {
    width: 5px;
}

.terminal::-webkit-scrollbar-thumb {
    background-color: gray;
    border-radius: 5px;
}

.terminal::-webkit-scrollbar-track {
    background: black;
}

h1 {
    color: #ff6200;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

h2 {
    /*color: white;*/
    font-size: 14px;
    font-family: Arial, sans-serif;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    color: #333;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:nth-child(odd) {
    background-color: #ffffff;
}
td, th {
    color: #333 !important;
}

.menu-bar {
    background-color: #333;
    padding: 10px 0;
    margin-bottom: 20px;
    width: 100%;
}

.menu-bar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-bar li {
    margin: 0 15px;
}

.menu-bar a {
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s;
}

.menu-bar a:hover {
    background-color: #555;
    color: white;
}

.menu-bar a:active {
    background-color: #777;
}

.wrap-table {
    margin: 0 10%;
}
.topic{
    text-align: center;
}
.menu-bar a.current {
    background-color: #007bff;
}
#logTable {
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    display: block;
}
#toggleButton {
    display: block;
    margin: 10px auto;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --success-color: #059669;
    --warning-color: #d97706;
    --error-color: #dc2626;
    --dark-bg: #1e293b;
    --light-bg: #f8fafc;
}

body {
    background: linear-gradient(135deg, var(--light-bg) 0%, #e2e8f0 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
}

.navbar {
    background: var(--dark-bg) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    transition: border-color 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
}

.log-container {
    background: var(--dark-bg);
    border-radius: 12px;
    max-height: 500px;
    overflow-y: auto;
}

.log-line {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #334155;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

.log-line:last-child {
    border-bottom: none;
}

.log-info { color: #60a5fa; }
.log-error { color: #f87171; }
.log-warning { color: #fbbf24; }
.log-success { color: #34d399; }
.log-debug { color: #a78bfa; }

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-online { background: var(--success-color); }
.status-offline { background: var(--error-color); }

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
