body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; /* Ensure the body height covers the full viewport */
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    margin: 0;
}

.header nav {
    margin-top: 10px;
}

.header nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.header nav a:hover {
    text-decoration: underline;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

h2 {
    margin-top: 0;
    color: #333;
}

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

input[type="text"],
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

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

button:hover {
    background-color: #4cae4c;
}

#results-heading {
    display: none;
}

#results ul {
    list-style-type: none;
    padding-left: 0;
}

#results li {
    font-family: "Courier New", Courier, monospace;
    white-space: pre; /* Ensures whitespace (including tabs) is respected */
    margin-bottom: 1em; /* Add margin between list items */
}

#results p {
    font-family: "Courier New", Courier, monospace;
}

strong {
    display: inline-block;
    width: 100px; /* Adjust width to match desired tab stops */
}

.spinner {
    margin: 16px;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, .3);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
}

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