body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.top-section {
    background-color: #081b2e;
    padding: 40px 0;
    width: 100%;
}

.bottom-section {
    background-color: #09233c;
    padding: 40px 0;
    width: 100%;
    flex-grow: 1;
}

.section-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    color: #00caf4;
    text-align: center;
    font-size: 32px;
    margin-bottom: 32px;
}

form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
}

input[type="text"] {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    margin-bottom: 16px;
    background-color: #09233c;
    color: #ffffff;
}

input[type="text"]::placeholder {
    color: #a0aec0;
}

input[type="text"]:focus {
    outline: none;
    border-color: #ffc600;
    box-shadow: 0 0 0 3px rgba(255, 198, 0, 0.1);
}

button {
    width: 25%;
    background-color: #ffc600;
    color: #164067;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 20px;
    height: 40px; 
    box-sizing: border-box;
}

#result {
    display: none; 
    margin-top: 0;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 4px;
    white-space: pre-wrap;
    font-family: monospace;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#result.show {
    display: block;
}

.search-container {
    position: relative;
    width: 75%; 
    display: flex;
    align-items: center;
    color: #000000;
}

#searchForm {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px; 
}

#searchInput {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #d1deea;
    border-radius: 3px;
    background-color: #ffffff;
    color: #88a2ba;
    margin-bottom: 0;
    height: 40px; 
    box-sizing: border-box;
}

.suggestions-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    color: #000000;
}

.suggestion-item:hover {
    background-color: #ffffff;
    color: #000000
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
    min-height: 30px;
}

.tag {
    background-color: #ffffff;
    border-radius: 4px;
    padding: 0px 8px;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #000000;
}

.tag-remove {
    cursor: pointer;
    color: #666;
    font-weight: bold;
    border: none;
    background: none;
    padding: 0;
    font-size: 16px;
}

.tag-remove:hover {
    color: #ff4444;
}

.suggestion-item.selected {
    background-color: #e0e0e0;
    cursor: pointer;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px auto;
    width: 100%;
}

.download-button,
.copy-button {
    background-color: #ffc600;
    color: #164067;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: 20px auto;
}

.download-button:hover,
.copy-button:hover {
    background-color: #e6b200;
}
