/*
Theme Name: FODMAP Search Engine
Description: A minimalist, high-speed search engine theme for low-FODMAP foods.
Author: Gemini
Version: 1.0
*/

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #202124;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-container {
    margin-top: 15vh;
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.search-container h1 {
    font-size: 2.5rem;
    color: #4285f4;
    margin-bottom: 30px;
}

#food-search {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.2rem;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    box-shadow: 0 1px 6px rgba(32, 33, 36, .28);
    outline: none;
    transition: box-shadow 0.2s;
}

#food-search:focus {
    box-shadow: 0 1px 10px rgba(32, 33, 36, .40);
}

#results-area {
    margin-top: 20px;
    text-align: left;
}

.result-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    display: block;
}

.result-card:hover {
    background-color: #f1f3f4;
}

.food-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.food-meta {
    font-size: 0.9rem;
    color: #5f6368;
}

/* Individual Food Page Styling */
.food-single-container {
    max-width: 600px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}