html {
    font-size: 14px;
}

body {
    background-color: #16181a;
    font-family: sans-serif;
    color: white;
}

h1 {
    text-align: center;
    font-size: 3rem !important;
    font-weight: bold;;
}

footer {
    margin-top: 200px;
    text-align:center;
}

footer hr {
    height: 1px;
    border: 1px solid #333;
    width: 80%;
}


.hr {
    height: 1px;
    background-color: #333;
    width: 80%;
    margin: 10px auto 20px;
}

.search-container {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: center; /* Center search bar horizontally */
    align-items: center; /* Center search bar horizontally */
    padding: 0 10px; /* Add padding for smaller screens */
}

#search-bar {
    width: 100%; /* Full width on smaller devices */
    max-width: 400px; /* Limit maximum width */
    padding: 14px;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
}

#search-results {
    width: 100%; /* Match the width of the search bar */
    max-width: 400px; /* Keep consistent with search bar width */
    list-style: none;
    margin: 0;
    padding: 0;
    background: #1a1d20;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add subtle shadow for visibility */
    border-radius: 4px;
    overflow-y: auto; /* Allow scrolling if results overflow */
    max-height: 200px; /* Limit results height */
}

/* .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

#search-bar {
    width: 80%;
    padding: 14px;
    font-size: 18px;
    border: none;
    border-radius: 4px;

    outline: none;
    transition: border-color 0.3s ease; 
}

#search-results {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #1a1d20;
    max-height: 200px;
    overflow-y: auto;
} */

#search-results li {
    padding: 10px;
    cursor: pointer;
}

#search-results li:hover {
    /* background-color: #0f1012; */
    background-color: #003337;
}


.result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    /* border-bottom: 1px solid #eee; */
    cursor: pointer;
}

.result-item:hover {
    background-color: #f0f0f0;
}

.item-name {
    flex: 1; /* Push category to the right */
}

.item-category {
    color: gray;
    font-size: 0.9em;
    margin-left: 20px;
    text-align: right;
}
