Spaces:
Sleeping
Sleeping
| body { | |
| font-family: Arial, sans-serif; | |
| background-color: #f7f7f7; | |
| margin: 0; | |
| padding: 0; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100vh; | |
| } | |
| .chat-container { | |
| background-color: #fff; | |
| width: 400px; /* Increased width */ | |
| height: 600px; /* Increased height */ | |
| border-radius: 8px; | |
| box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); | |
| overflow: hidden; | |
| } | |
| .chat-header { | |
| background-color: #4CAF50; | |
| color: white; | |
| text-align: center; | |
| padding: 15px; | |
| font-size: 18px; | |
| } | |
| .chat-messages { | |
| padding: 15px; | |
| height: 450px; /* Increased height for messages */ | |
| overflow-y: auto; | |
| border-bottom: 1px solid #ddd; | |
| } | |
| .bot-message { | |
| background-color: #f1f1f1; | |
| padding: 8px; | |
| border-radius: 5px; | |
| margin-bottom: 10px; | |
| } | |
| .user-message { | |
| background-color: #007BFF; | |
| color: white; | |
| padding: 8px; | |
| border-radius: 5px; | |
| margin-bottom: 10px; | |
| text-align: right; | |
| } | |
| .ingredient-item { | |
| display: block; /* Change to block to stack vertically */ | |
| width: 100%; /* Make the ingredient item take full width */ | |
| padding: 10px; | |
| margin-bottom: 15px; /* More space between items */ | |
| border: 1px solid #ddd; | |
| border-radius: 5px; | |
| } | |
| .ingredient-item img { | |
| width: 100%; /* Make image fill the width of the container */ | |
| max-width: 150px; /* Set a max-width for images */ | |
| height: auto; | |
| object-fit: cover; | |
| border-radius: 5px; | |
| margin-bottom: 10px; | |
| } | |
| .ingredient-item .name { | |
| text-align: center; | |
| font-size: 14px; | |
| font-weight: bold; | |
| margin-top: 10px; | |
| } | |
| .ingredient-item .description { | |
| font-size: 12px; | |
| color: #666; | |
| margin-top: 5px; | |
| text-align: center; | |
| } | |
| button { | |
| background-color: #4CAF50; | |
| color: white; | |
| padding: 5px 10px; | |
| border: none; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| width: 100%; | |
| margin-top: 10px; | |
| } | |
| button:hover { | |
| background-color: #45a049; | |
| } | |
| .selected-ingredients { | |
| padding: 15px; | |
| margin-top: 10px; | |
| } | |
| .send-button { | |
| margin-top: 10px; | |
| width: 100%; | |
| padding: 10px; | |
| background-color: #007BFF; | |
| color: white; | |
| border: none; | |
| border-radius: 5px; | |
| } | |
| .send-button:hover { | |
| background-color: #0056b3; | |
| } | |