body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    flex-direction: column; /* Arrange children in a column */
    justify-content: flex-start; /* Align content to the top */
    /* Removed align-items: center; and min-height: 100vh; */
    margin: 0;
    padding-top: 20px; /* Add some padding at the very top */
}

.container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin: 20px auto; /* Center horizontally with auto margins, add vertical spacing */
}

h1 {
    margin-bottom: 1.5rem;
}

.folder-container, .slot-container {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type="text"] {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 0.5rem;
    width: 60%;
}

button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background-color: #0056b3;
}

#slot-counter {
    min-width: 30px;
    padding: 0 0.5rem;
}

.slot-button {
    margin: 0 5px;
}

#status {
    margin: 1.5rem 0;
}

.results-container {
    margin-top: 1.5rem;
    text-align: left;
}

#results-list {
    list-style-type: none;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#results-list li {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#results-list li:last-child {
    border-bottom: none;
}

#results-list li button {
    background-color: #28a745;
}

#results-list li button:hover {
    background-color: #218838;
}

.manual-search-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    gap: 1rem; /* Space between elements */
}

.manual-search-box h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.manual-search-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 400px; /* Limit width for better readability */
}

.manual-search-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align labels to the left */
}

.manual-search-field label {
    margin-bottom: 0.25rem;
    font-weight: bold;
}

.manual-search-field input[type="text"] {
    width: 100%;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    margin-right: 0; /* Remove margin from previous input style */
}

#manual-search-button {
    margin-top: 1rem;
    width: auto; /* Adjust width as needed */
    padding: 0.75rem 1.5rem;
}
