/* assets/style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f4f4f4;
}

h2 { text-align: center; color: #333; }

/* Wrapper to hold Input + Button side-by-side */
.search-wrapper {
    display: flex;
    gap: 10px; /* Space between box and button */
    position: relative;
}

.search-box {
    width: 100%;
    padding: 12px;
    font-size: 16px; /* 16px prevents zoom on iPhone */
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

/* The New Button Style */
.search-btn {
    padding: 0 20px;
    background-color: #007bff; /* Blue */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.search-btn:active {
    background-color: #0056b3; /* Darker blue when clicked */
}

/* Results Dropdown */
#results {
    margin-top: 5px;
    border: 1px solid #ddd;
    display: none;
    background: white;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: absolute; /* Floats over content */
    width: 100%;
    z-index: 1000;
}

.result-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.result-item:hover { background-color: #f0f8ff; }
.price-tag { color: green; font-weight: bold; }