body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #121212;
    margin: 0;
    color: #e0e0e0;
}

.container {
    text-align: center;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
}

h1 {
    color: #ffffff;
    margin-bottom: 20px;
}

button {
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    background-color: #6200ea;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: #3700b3;
    transform: translateY(-2px);
}

#generateBtn {
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    background-color: #6200ea;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#generateBtn:hover {
    background-color: #3700b3;
    transform: translateY(-2px);
}

#searchInput {
    padding: 12px 24px;
    font-size: 18px;
    margin-top: 20px;
    width: calc(100% - 48px);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#result {
    margin-top: 20px;
    font-size: 18px;
}

.result-item {
    background: #2e2e2e;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.result-item:not(:last-child) {
    margin-bottom: 10px;
}

#allElements, #searchResults {
    white-space: pre-wrap; /* Preserve white space and line breaks */
    max-height: 400px; /* Limit the maximum height */
    overflow-y: auto; /* Add vertical scrollbar if needed */
    margin-top: 20px;
    background: #2e2e2e;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left; /* Align text to the left */
}

#lineCount {
    color: #b0b0b0; /* Lighter text color for the line count */
}