/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding-bottom: 80px;
}

/* Header */
.app-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.app-header h1 {
    color: #2196F3;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Main Content */
.app-main {
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.app-section {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.app-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.welcome-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.welcome-card h2 {
    color: #2196F3;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.welcome-card p {
    color: #666;
    margin-bottom: 2rem;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #2196F3, #21CBF3);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.stat-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-item span {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.stat-item small {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    color: white;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #FFC107, #FF9800);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #F44336, #d32f2f);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

/* Search and Filter */
.search-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-filter input,
.search-filter select {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

/* Recipes Grid */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.recipe-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.recipe-card h3 {
    color: #2196F3;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.recipe-nutrition {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 0.8rem;
}

.nutrition-item {
    background: #f5f5f5;
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
}

.recipe-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.recipe-actions button {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.edit-recipe {
    background: #2196F3;
    color: white;
}

.delete-recipe {
    background: #F44336;
    color: white;
}

/* Meal Planning */
.meal-planner {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.day-column {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 1rem;
    min-height: 200px;
    transition: all 0.3s ease;
}

.day-column.drag-over {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.day-header {
    text-align: center;
    padding: 0.5rem;
    background: linear-gradient(135deg, #2196F3, #21CBF3);
    color: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.meal-slot {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px dashed #ddd;
    min-height: 60px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.meal-slot:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.meal-slot.has-meal {
    border: 2px solid #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.meal-slot h4 {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.planned-meal {
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.planned-meal h5 {
    color: #2196F3;
    margin-bottom: 0.25rem;
}

.planned-meal small {
    color: #666;
}

.remove-meal {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #F44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Weekly Overview */
.meal-plan-overview {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.weekly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.day-overview {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 4px solid #2196F3;
}

.day-overview h4 {
    color: #2196F3;
    margin-bottom: 0.5rem;
}

.day-overview .meal-count {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50;
}

/* Grocery List */
.grocery-summary {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-item strong {
    font-size: 1.5rem;
    color: #2196F3;
}

.grocery-categories {
    display: grid;
    gap: 1.5rem;
}

.grocery-category {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.category-header h3 {
    color: #2196F3;
    font-size: 1.2rem;
}

.grocery-items {
    display: grid;
    gap: 0.75rem;
}

.grocery-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.grocery-item:hover {
    background: #f0f0f0;
}

.grocery-item.checked {
    background: rgba(76, 175, 80, 0.1);
    text-decoration: line-through;
    opacity: 0.7;
}

.grocery-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4CAF50;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #333;
}

.item-amount {
    font-size: 0.9rem;
    color: #666;
}

.remove-item {
    background: #F44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.add-item-form {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.add-item-form h3 {
    color: #2196F3;
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.form-row input,
.form-row select {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 120px;
}

/* Leftovers */
.leftovers-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card i {
    font-size: 2rem;
    color: #2196F3;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2196F3;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.leftovers-list {
    display: grid;
    gap: 1rem;
}

.leftover-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.leftover-item.expiring {
    border-left: 4px solid #FFC107;
}

.leftover-item.expired {
    border-left: 4px solid #F44336;
}

.leftover-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.leftover-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2196F3;
}

.leftover-amount {
    color: #666;
    font-size: 0.9rem;
}

.expiry-date {
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #666;
}

.expiry-date.expiring {
    background: #FFC107;
    color: white;
}

.expiry-date.expired {
    background: #F44336;
    color: white;
}

.leftover-notes {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.leftover-actions {
    display: flex;
    gap: 0.5rem;
}

.leftover-actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.use-leftover {
    background: #4CAF50;
    color: white;
}

.delete-leftover {
    background: #F44336;
    color: white;
}

.suggestions {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.suggestions h4 {
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.suggestions ul {
    list-style: none;
    padding: 0;
}

.suggestions li {
    padding: 0.25rem 0;
    color: #666;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    color: #2196F3;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

/* Forms */
form {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.nutrition-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.ingredients-list {
    margin-bottom: 1rem;
}

.ingredient-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    align-items: center;
}

.ingredient-item input {
    flex: 1;
    margin: 0;
}

.ingredient-item .ingredient-name {
    flex: 2;
}

.remove-ingredient {
    background: #F44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#add-ingredient {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.form-actions button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#cancel-recipe,
#cancel-leftover {
    background: #f0f0f0;
    color: #666;
}

/* Recipe Selection */
.recipe-selection {
    padding: 1.5rem;
}

.available-recipes {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 1rem;
}

.recipe-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recipe-option:hover {
    background: #f8f9fa;
    border-color: #2196F3;
}

.recipe-option-info {
    flex: 1;
}

.recipe-option h4 {
    color: #2196F3;
    margin-bottom: 0.25rem;
}

.recipe-option small {
    color: #666;
}

/* FAQ Section */
.faq-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    color: #2196F3;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question[aria-expanded="true"] {
    background: #f0f8ff;
    color: #2196F3;
}

.faq-icon {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2196F3;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
    animation: fadeInDown 0.3s ease;
}

.faq-answer[hidden] {
    display: none;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    min-width: 60px;
}

.nav-item:hover,
.nav-item.active {
    color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-header h1 {
        font-size: 1.2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .section-header h2 {
        text-align: center;
    }
    
    .search-filter {
        flex-direction: column;
    }
    
    .search-filter input,
    .search-filter select {
        min-width: auto;
    }
    
    .recipes-grid {
        grid-template-columns: 1fr;
    }
    
    .days-grid {
        grid-template-columns: 1fr;
    }
    
    .grocery-summary {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column-reverse;
    }
    
    .nutrition-inputs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ingredient-item {
        flex-wrap: wrap;
    }
    
    .ingredient-item input {
        min-width: 0;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .quick-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .weekly-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .leftovers-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .app-main {
        padding: 0.5rem;
    }
    
    .welcome-card,
    .meal-planner,
    .grocery-category,
    .leftover-item,
    .faq-section {
        padding: 1rem;
    }
    
    .nav-item span {
        font-size: 0.6rem;
    }
    
    .nav-item i {
        font-size: 1rem;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .weekly-grid {
        grid-template-columns: 1fr;
    }
    
    .nutrition-inputs {
        grid-template-columns: 1fr;
    }
}

/* Loading States */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #666;
}

.loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2196F3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-state i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: #999;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* Drag and Drop */
.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.drag-over {
    border-color: #4CAF50 !important;
    background: rgba(76, 175, 80, 0.1) !important;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #2196F3;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .recipe-card,
    .modal-content,
    .grocery-category,
    .leftover-item {
        border: 2px solid #333;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Print Styles */
@media print {
    .bottom-nav,
    .modal,
    .btn,
    .faq-section {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .app-section {
        display: block !important;
    }
    
    .recipe-card,
    .grocery-category,
    .leftover-item {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}
