/* * Styles for Unique Automated Recipes Frontend Tools
 */

/* Main container for the Magic Fridge */
.magic-fridge-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 2em auto;
    padding: 2em;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    max-width: 900px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.magic-fridge-form-wrapper h3 {
    text-align: center;
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 0.5em;
    color: #2c3e50;
}

.magic-fridge-form-wrapper p {
    text-align: center;
    font-size: 1.1em;
    color: #7f8c8d;
    margin-bottom: 1.5em;
}

/* Form Styles */
.magic-fridge-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    margin-bottom: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.magic-fridge-form textarea:focus {
    border-color: #3498db;
    outline: none;
}

.filters-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5em;
    flex-wrap: wrap;
    gap: 1em;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.filter-group strong {
    margin-bottom: 0.5em;
    color: #34495e;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.5em;
    cursor: pointer;
    color: #555;
}

.magic-fridge-form button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.magic-fridge-form button:hover {
    background-color: #2980b9;
}

/* Results Section */
.recipe-results-container {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px solid #e0e0e0;
}

.recipe-results-container h3 {
    text-align: center;
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 1em;
}

.recipe-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5em;
}

.recipe-card {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.recipe-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.recipe-card-content {
    padding: 1em;
}

.recipe-card-content h4 {
    margin: 0;
    color: #34495e;
    font-size: 1.1em;
}