body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

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

form {
    max-width: 45em;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

fieldset {
    border: none;
    margin-bottom: 20px;
}

legend {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"],
input[type="number"],
input[type="string"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

ol {
    padding-left: 20px;
}

li {
    /* box */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

dl {
    margin: 0;
}

dt {
    font-weight: bold;
    color: #333;
}

dd {
    margin: 0 0 10px 0;
    color: #555;
    /* box */
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 10px;
}
div.results {
    max-width: 45em;
    margin: 20px auto;
}

.spinner {
    margin: 10px auto;
    width: 24px;
    height: 24px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-indicator {
    margin: 10px;
    display: none;
    text-align: center;
}
#timeout-indicator {
    margin: 10px;
    display: none;
    text-align: center;
}

/* Show the indicator when the form is submitting */
#loading-indicator.htmx-request {
    display: block;
}
#timeout-indicator.htmx-request {
    display: none;
}