body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* Fix 1: Navigation moved to the top right based on human user testing */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #2c3e50;
    padding: 15px 30px;
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
    z-index: 1000;
}

.nav-bar button {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    margin-left: 20px;
    cursor: pointer;
    font-weight: bold;
}

.nav-bar button:hover {
    color: #3498db;
}

/* Screen Management */
.screen {
    display: none; /* Hidden by default */
    padding: 100px 20px 20px 20px; /* Top padding clears the fixed nav bar */
    max-width: 600px;
    margin: 0 auto;
}

.active-screen {
    display: block;
}

h1 { color: #2c3e50; }

/* Recipe Feed Styling */
.recipe-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border-left: 5px solid #3498db;
}

.recipe-card h3 {
    margin-top: 0;
    color: #3498db;
}

.add-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.add-btn:hover { background: #2980b9; }

/* Cart Styling */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

/* Fix 2: Remove button styling based on AI Focus Group feedback */
.remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.remove-btn:hover { background: #c0392b; }

.checkout-btn {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

.checkout-btn:hover { background: #27ae60; }
