| * { |
| margin: 0; |
| padding: 0; |
| box-sizing: border-box; |
| font-family: 'Arial', sans-serif; |
| } |
|
|
| body { |
| background-color: #f4f4f9; |
| color: #333; |
| } |
|
|
| .chat-container { |
| display: flex; |
| height: 100vh; |
| width: 100%; |
| background-color: #f4f4f9; |
| } |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| transition: left 0.3s ease; |
| z-index: 10; |
| } */ |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| .history-panel.show { |
| left: 0; |
| } |
|
|
| .menu-icon { |
| |
| |
| cursor: pointer; |
| } |
|
|
| .history-content { |
| margin-top: 20px; |
| } |
|
|
| .history-items { |
| margin-top: 20px; |
| overflow-y: auto; |
| height: calc(100% - 60px); |
| } |
|
|
| .history-items .history-item { |
| padding: 10px; |
| margin-bottom: 10px; |
| background-color: #333; |
| border-radius: 5px; |
| cursor: pointer; |
| } |
|
|
| |
| .chat-panel { |
| flex-grow: 1; |
| display: flex; |
| flex-direction: column; |
| background-color: #fff; |
| } |
|
|
| .chat-header { |
| padding: 10px 20px; |
| background-color: #1f2937; |
| color: #fff; |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| position: relative; |
| } |
|
|
| .chat-header h1 { |
| font-size: 1.5rem; |
| } |
|
|
| .icons { |
| display: flex; |
| align-items: center; |
| gap: 15px; |
| } |
|
|
| .header-icon { |
| width: 24px; |
| height: 24px; |
| cursor: pointer; |
| } |
|
|
| .charcha-button { |
| width: 24px; |
| height: 24px; |
| cursor: pointer; |
| } |
|
|
| .three-dot-menu { |
| |
| cursor: pointer; |
| position: relative; |
| display: inline-block; |
| } |
|
|
| .menu-options { |
| position: absolute; |
| right: 0; |
| top: 20px; |
| background-color: black; |
| border: 1px solid #ccc; |
| border-radius: 5px; |
| width: 150px; |
| |
| box-shadow: 0 2px 5px rgba(0,0,0,0.15); |
| } |
|
|
| .menu-options ul { |
| list-style: none; |
| padding: 0; |
| margin: 0; |
| } |
|
|
| .menu-options li { |
| padding: 10px; |
| cursor: pointer; |
| border-bottom: 1px solid #ddd; |
| } |
|
|
| .menu-options li:hover { |
| background-color: #f0f0f0; |
| } |
|
|
| |
| .chat-body { |
| flex-grow: 1; |
| padding: 20px; |
| overflow-y: auto; |
| display: flex; |
| flex-direction: column; |
| gap: 10px; |
| } |
|
|
| |
| .user-message { |
| background-color: #d1ffd1; |
| align-self: flex-end; |
| padding: 10px 15px; |
| border-radius: 10px; |
| max-width: 70%; |
| word-wrap: break-word; |
| } |
|
|
| |
| .bot-message { |
| background-color: #e9efff; |
| align-self: flex-start; |
| padding: 15px; |
| border-radius: 10px; |
| max-width: 90%; |
| word-wrap: break-word; |
| box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); |
| margin-bottom: 10px; |
| } |
|
|
| |
| .bot-message h1, |
| .bot-message h2, |
| .bot-message h3 { |
| margin: 0; |
| color: #333; |
| } |
|
|
| |
| .bot-message p { |
| margin: 5px 0; |
| line-height: 1.6; |
| color: #555; |
| } |
|
|
| |
| .bot-message ul, |
| .bot-message ol { |
| margin: 5px 0; |
| padding-left: 20px; |
| } |
|
|
| |
| .bot-message strong { |
| font-weight: bold; |
| color: #000; |
| } |
|
|
| |
| .bot-message a { |
| color: #007bff; |
| text-decoration: underline; |
| } |
|
|
| |
| .bot-message a:hover { |
| text-decoration: none; |
| color: #0056b3; |
| } |
|
|
|
|
| |
| .welcome-message { |
| background-color: #e9efff; |
| align-self: flex-start; |
| padding: 10px 15px; |
| border-radius: 10px; |
| max-width: 70%; |
| word-wrap: break-word; |
| } |
|
|
| |
| .chat-footer { |
| padding: 10px 20px; |
| background-color: #f4f4f9; |
| display: flex; |
| align-items: center; |
| } |
|
|
| .input-container { |
| display: flex; |
| align-items: center; |
| width: 100%; |
| background-color: #fff; |
| border-radius: 50px; |
| padding: 10px; |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
| } |
|
|
| .input-container input { |
| border: none; |
| flex-grow: 1; |
| padding: 0 10px; |
| font-size: 1rem; |
| outline: none; |
| } |
|
|
| .mic-icon { |
| width: 20px; |
| height: 20px; |
| background-color: red; |
| border-radius: 50%; |
| transition: background-color 0.3s ease; |
| } |
|
|
| .modal { |
| display: none; |
| position: fixed; |
| z-index: 1; |
| left: 0; |
| top: 0; |
| width: 100%; |
| height: 100%; |
| background-color: rgba(0, 0, 0, 0.5); |
| } |
|
|
| .modal-content { |
| background-color: white; |
| margin: 15% auto; |
| padding: 20px; |
| border-radius: 8px; |
| width: 300px; |
| } |
|
|
| .close { |
| color: #aaa; |
| float: right; |
| font-size: 28px; |
| font-weight: bold; |
| cursor: pointer; |
| } |
|
|
| .close:hover, |
| .close:focus { |
| color: black; |
| } |
|
|
| .input-container { |
| display: flex; |
| align-items: center; |
| width: 100%; |
| } |
|
|
| textarea { |
| flex-grow: 1; |
| max-height: 100px; |
| min-height: 40px; |
| padding: 10px; |
| border: 1px solid #ccc; |
| border-radius: 20px; |
| font-size: 16px; |
| resize: none; |
| overflow-y: auto; |
| outline: none; |
| width: calc(100% - 100px); |
| } |
|
|
| textarea:focus { |
| border-color: #007bff; |
| } |
|
|
| #sendButton, #micButton { |
| background-color: transparent; |
| border: none; |
| cursor: pointer; |
| margin-left: 10px; |
| } |
|
|
| .mic-icon { |
| width: 24px; |
| height: 24px; |
| } |
|
|
| |
| .mantra-block { |
| background: linear-gradient(to bottom, #fff3cd, #ffecb5); |
| border-left: 4px solid #d4d4d4; |
| padding: 15px; |
| margin: 15px 0; |
| font-family: 'Courier New', Courier, monospace; |
| border-radius: 5px; |
| box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); |
| } |
|
|
| #mantraText { |
| white-space: pre-wrap; |
| font-size: 18px; |
| color: red; |
| font-weight: bold; |
| } |
|
|
| #repeat-control { |
| display: flex; |
| align-items: center; |
| margin-top: 10px; |
| } |
|
|
| |
| #repeat-control button { |
| width: 40px; |
| height: 40px; |
| font-size: 20px; |
| margin: 0 5px; |
| background-color: #f8d7da; |
| border: 2px solid #dc3545; |
| border-radius: 5px; |
| cursor: pointer; |
| transition: background-color 0.3s, transform 0.2s; |
| } |
|
|
| #repeat-control button:hover { |
| background-color: #f5c6cb; |
| transform: scale(1.05); |
| } |
|
|
| |
| #repeat-control input { |
| width: 60px; |
| text-align: center; |
| font-size: 18px; |
| margin: 0 5px; |
| } |
|
|
| |
| .play-mantra-button { |
| background-color: #007bff; |
| color: white; |
| border: none; |
| border-radius: 5px; |
| padding: 8px 12px; |
| font-size: 16px; |
| cursor: pointer; |
| transition: background-color 0.3s, transform 0.2s; |
| } |
|
|
| .play-mantra-button:hover { |
| background-color: #0056b3; |
| transform: scale(1.05); |
| } |
|
|
| |
| .play-mantra-button-container { |
| margin-top: 10px; |
| } |
|
|
| |
|
|
| |
| #micButton.active .mic-icon { |
| background-color: green; |
| } |
|
|
| #sendButton { |
| background: none; |
| border: none; |
| color: #1f2937; |
| font-size: 1.5rem; |
| cursor: pointer; |
| } |
|
|
| |
| #logout-button { |
| background-color: #ff4c4c; |
| color: white; |
| border: none; |
| padding: 10px 15px; |
| border-radius: 5px; |
| cursor: pointer; |
| font-size: 10px; |
| transition: background-color 0.3s ease; |
| } |
|
|
| |
| #logout-button:hover { |
| background-color: #e63939; |
| } |
|
|
| |
| #logout-button:focus { |
| outline: none; |
| } |
|
|
| .home-button { |
| width: 100%; |
| padding: 10px; |
| margin-bottom: 15px; |
| font-size: 16px; |
| background-color: #4CAF50; |
| color: white; |
| border: none; |
| cursor: pointer; |
| } |
|
|
| .home-button:hover { |
| background-color: #45a049; |
| } |
|
|
|
|
| |
| @media screen and (max-width: 768px) { |
| |
| |
| |
| |
| |
| } */ |
| .menu-icon { |
| position: absolute; |
| top: 10px; |
| left: 10px; |
| } |
|
|
| .chat-header h1 { |
| font-size: 1.2rem; |
| } |
|
|
| .chat-footer { |
| padding: 5px 10px; |
| } |
|
|
| .input-container { |
| padding: 5px; |
| } |
|
|
| .input-container input { |
| font-size: 0.9rem; |
| } |
| } |
|
|
| |
| .three-dot-menu.active .menu-options { |
| display: block; |
| } |
|
|
| |
|
|
| |
| .modal { |
| display: none; |
| position: fixed; |
| top: 50%; |
| left: 50%; |
| transform: translate(-50%, -50%); |
| width: 350px; |
| max-width: 90%; |
| background-color: #fff; |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); |
| z-index: 1000; |
| border-radius: 8px; |
| } |
|
|
| .modal-content { |
| padding: 20px; |
| text-align: center; |
| } |
|
|
| .close { |
| color: #aaa; |
| float: right; |
| font-size: 24px; |
| font-weight: bold; |
| cursor: pointer; |
| } |
|
|
| .qr-code { |
| width: 150px; |
| height: 150px; |
| margin: 20px auto; |
| display: block; |
| } |
|
|
|
|
|
|