Spaces:
Sleeping
Sleeping
| /* Body Styling */ | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background: linear-gradient(135deg, #D1C4E9, #6B4FE2); | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100vh; | |
| margin: 0; | |
| } | |
| .container { | |
| width: 90%; | |
| max-width: 700px; | |
| background-color: white; | |
| border-radius: 20px; | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); | |
| padding: 30px; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: space-between; | |
| height: 90%; | |
| } | |
| header { | |
| text-align: center; | |
| margin-bottom: 20px; | |
| } | |
| header h1 { | |
| font-size: 2.5rem; | |
| color: #6B4FE2; | |
| margin-bottom: 10px; | |
| } | |
| header p { | |
| font-size: 1.2rem; | |
| color: #888; | |
| } | |
| /* Input Section */ | |
| .input-section { | |
| display: flex; | |
| gap: 10px; | |
| margin-bottom: 20px; | |
| } | |
| .input-section input { | |
| flex: 1; | |
| padding: 15px; | |
| font-size: 1rem; | |
| border: 1px solid #E5E5E5; | |
| border-radius: 15px; | |
| outline: none; | |
| transition: all 0.3s ease; | |
| } | |
| .input-section input:focus { | |
| border-color: #6B4FE2; | |
| } | |
| .buttons { | |
| display: flex; | |
| gap: 10px; | |
| align-items: center; | |
| } | |
| .button { | |
| padding: 10px 20px; | |
| font-size: 1rem; | |
| border-radius: 12px; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| } | |
| .clear-btn { | |
| background-color: #D1D1D1; | |
| color: #333; | |
| } | |
| .clear-btn:hover { | |
| background-color: #B5B5B5; | |
| } | |
| .submit-btn { | |
| background-color: #FF7F32; | |
| color: white; | |
| } | |
| .submit-btn:hover { | |
| background-color: #FF5A00; | |
| } | |
| /* Messages Section */ | |
| .messages { | |
| margin-top: 20px; | |
| padding: 15px; | |
| background-color: #F9F9F9; | |
| border-radius: 15px; | |
| overflow-y: auto; | |
| max-height: 350px; | |
| } | |
| .user-message, .bot-message { | |
| background-color: #F1F1F1; | |
| padding: 15px; | |
| border-radius: 12px; | |
| margin-bottom: 12px; | |
| max-width: 80%; | |
| } | |
| .user-message { | |
| background-color: #6B4FE2; | |
| color: white; | |
| align-self: flex-end; | |
| } | |
| .bot-message { | |
| background-color: #E5E5E5; | |
| color: #333; | |
| align-self: flex-start; | |
| } | |
| /* Footer */ | |
| footer { | |
| text-align: center; | |
| font-size: 1.1rem; | |
| color: #888; | |
| padding-top: 10px; | |
| } | |