Changed around line 1
+ :root {
+ --primary-color: #10a37f;
+ --secondary-color: #ffffff;
+ --background-color: #f7f7f7;
+ --text-color: #333333;
+ --border-radius: 8px;
+ --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ margin: 0;
+ padding: 0;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ }
+
+ header {
+ background-color: var(--primary-color);
+ color: var(--secondary-color);
+ padding: 2rem;
+ text-align: center;
+ }
+
+ h1 {
+ margin: 0;
+ font-size: 2.5rem;
+ }
+
+ main {
+ flex: 1;
+ padding: 2rem;
+ max-width: 800px;
+ margin: 0 auto;
+ width: 100%;
+ }
+
+ #chat-container {
+ background-color: var(--secondary-color);
+ border-radius: var(--border-radius);
+ box-shadow: var(--box-shadow);
+ padding: 1.5rem;
+ height: 70vh;
+ display: flex;
+ flex-direction: column;
+ }
+
+ #chat-history {
+ flex: 1;
+ overflow-y: auto;
+ margin-bottom: 1rem;
+ padding-right: 0.5rem;
+ }
+
+ .message {
+ margin-bottom: 1rem;
+ padding: 0.75rem;
+ border-radius: var(--border-radius);
+ max-width: 80%;
+ }
+
+ .user-message {
+ background-color: var(--primary-color);
+ color: var(--secondary-color);
+ margin-left: auto;
+ }
+
+ .ai-message {
+ background-color: #e9e9e9;
+ margin-right: auto;
+ }
+
+ #input-area {
+ display: flex;
+ gap: 0.5rem;
+ }
+
+ textarea {
+ flex: 1;
+ padding: 0.75rem;
+ border: 1px solid #ddd;
+ border-radius: var(--border-radius);
+ resize: none;
+ min-height: 50px;
+ }
+
+ button {
+ background-color: var(--primary-color);
+ color: var(--secondary-color);
+ border: none;
+ padding: 0.75rem 1.5rem;
+ border-radius: var(--border-radius);
+ cursor: pointer;
+ transition: background-color 0.3s ease;
+ }
+
+ button:hover {
+ background-color: #0e8a6a;
+ }
+
+ footer {
+ background-color: var(--primary-color);
+ color: var(--secondary-color);
+ text-align: center;
+ padding: 1rem;
+ }
+
+ @media (max-width: 768px) {
+ h1 {
+ font-size: 2rem;
+ }
+
+ main {
+ padding: 1rem;
+ }
+
+ #chat-container {
+ height: 60vh;
+ }
+ }