body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: #121212;
    color: white; /* Ensure text is white */
}

.container {
    margin: 0 auto;
    padding: 20px;
    max-width: 800px;
}

h1, h2 {
    color: #8ab4f8;
    text-align: center;
}

form {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

label {
    display: block;
    margin-top: 10px;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background: #333;
    border: none;
    border-radius: 5px;
    color: white;
}

button {
    background-color: #8ab4f8;
    color: white;
    padding: 10px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #6f9edc;
}

.output-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px; /* Add gap between output containers */
}

.output-container {
    background: #1e1e1e;
    padding: 10px; /* Reduced padding */
    border-radius: 5px;
    width: 48%;
    height: 350px; /* Reduced height */
    display: flex;
    flex-direction: column;
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}

#live-feed {
    overflow-y: auto;
}

pre {
    background: #333;
    padding: 10px; /* Reduced padding */
    border-radius: 5px;
    color: #8ab4f8;
    white-space: pre-wrap;
    word-wrap: break-word;
    flex-grow: 1; /* Make the pre element fill the available space */
}

canvas {
    flex-grow: 1; /* Make the canvas fill the available space */
    max-height: 100%; /* Ensure the canvas does not exceed the container height */
    width: 100%; /* Ensure the canvas takes the full width of the container */
    margin-top: auto;
    margin-bottom: auto;
}

.hidden {
    display: none;
}

#live-feed-info {
    margin-bottom: 10px; /* Add some space between the info and the feed */
}

#live-feed-info p {
    margin: 5px 0;
}

.steps-container {
    margin-top: 30px;
    padding: 20px;
    background: #222;
    border-radius: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #333;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #333;
}

tbody tr:nth-child(odd) {
    background-color: #1e1e1e;
}
