body {
    font-family: Arial, sans-serif;
}

header {
    display: flex;
    justify-content: center;
    padding: 20px;
}

input[type="text"] {
    width: 50%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    margin-left: 10px;
    padding: 10px;
    width: 80px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}
button[disabled] {
    background-color: #ccc;
    color: #666;
    cursor: default;
}

#content {
    padding: 20px;
}

.line-container {
    cursor: pointer;
    padding: 0.5em 0 0 0.5em;
}

.line-container[open] > .line-summary {
    background: #ddd;
    height: 1.2em;
    color: white;
    padding: 0 0 0 0.5em;
    line-height: 1.2em;
    font-size: 1em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 67%;
}

.line-summary {
    padding: 0.5em;
}
.line-summary::-webkit-details-marker,
.line-summary::marker {
    color: #eee;
}

.line-details {
    border-top: 1px solid #eee;
    border-left: 1px solid #ccc;
}
.line-details > .waiting-indicator {
    margin: 0.5em;
}

/* center the content */
main {
    max-width: 800px;
    margin: 0 auto;
}

.waiting-indicator {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-left-color: #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

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