* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; color: #333; } #app { min-height: 100vh; display: flex; flex-direction: column; } .screen { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; } .hidden { display: none !important; } .container { background: white; border-radius: 20px; padding: 40px; width: 100%; max-width: 500px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); } .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; } h1 { font-size: 28px; font-weight: 700; color: #333; } .subtitle { color: #666; margin: 20px 0 30px; font-size: 16px; line-height: 1.5; } .primary-btn { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; padding: 15px 30px; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; width: 100%; } .primary-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4); } .primary-btn:active { transform: translateY(0); } .secondary-btn { background: white; color: #667eea; border: 2px solid #667eea; padding: 15px 30px; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.2s; width: 100%; } .secondary-btn:hover { background: #f0f0ff; } .icon-btn { background: none; border: none; color: #667eea; font-size: 16px; font-weight: 600; cursor: pointer; padding: 10px; } .icon-btn:hover { text-decoration: underline; } .form { display: flex; gap: 10px; margin-bottom: 30px; } .form input { flex: 1; padding: 15px; border: 2px solid #e0e0e0; border-radius: 12px; font-size: 16px; transition: border-color 0.2s; } .form input:focus { outline: none; border-color: #667eea; } .form button { width: auto; padding: 15px 25px; } .dishes-list { display: flex; flex-direction: column; gap: 10px; max-height: 400px; overflow-y: auto; } .dish-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; background: #f8f9fa; border-radius: 10px; transition: background 0.2s; } .dish-item:hover { background: #f0f0ff; } .dish-name { font-size: 16px; font-weight: 500; flex: 1; } .dish-actions { display: flex; gap: 10px; } .dish-actions button { background: none; border: none; color: #667eea; font-size: 14px; cursor: pointer; padding: 5px 10px; border-radius: 6px; } .dish-actions button:hover { background: #f0f0ff; } .dish-actions .delete-btn { color: #e74c3c; } .dish-actions .delete-btn:hover { background: #ffebee; } .home-content { display: flex; justify-content: center; align-items: center; min-height: 300px; } .random-btn { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; border-radius: 50%; width: 200px; height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4); } .random-btn:hover { transform: scale(1.05); box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5); } .random-btn:active { transform: scale(0.98); } .random-icon { font-size: 60px; margin-bottom: 10px; } .random-text { color: white; font-size: 14px; font-weight: 600; } .result-content { display: flex; flex-direction: column; align-items: center; gap: 30px; } .selected-dish { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 30px 40px; border-radius: 15px; font-size: 24px; font-weight: 700; text-align: center; width: 100%; box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3); } .result-buttons { display: flex; flex-direction: column; gap: 15px; width: 100%; } @media (max-width: 600px) { .container { padding: 25px; margin: 10px; } h1 { font-size: 24px; } .random-btn { width: 180px; height: 180px; } .random-icon { font-size: 50px; } .selected-dish { font-size: 20px; padding: 25px; } }