@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap'); @import url('https://use.fontawesome.com/releases/v5.6.3/css/all.css'); :root { --dark-blue: rgba(10, 25, 47, 0.85); --medium-blue: rgba(23, 42, 69, 0.85); --light-blue: rgba(243, 248, 247, 0.9); --text-color: rgba(204, 214, 246, 0.95); --highlight: rgba(30, 144, 255, 0.9); --shadow-color: rgba(0, 0, 0, 0.25); } .color-0{color: var(--text-color);} .color-1{color: rgba(255, 68, 68, 0.9);} .color-2{color: rgba(153, 204, 0, 0.9);} .color-3{color: rgba(255, 187, 51, 0.9);} .color-4{color: var(--highlight);} .color-5{color: rgba(51, 181, 229, 0.9);} .color-6{color: rgba(170, 102, 204, 0.9);} .color-8{color: rgba(204, 0, 0, 0.9);} .color-9{color: rgba(204, 0, 104, 0.9);} * { font-family: 'Poppins', sans-serif; margin: 0; padding: 0; font-size: 0.9rem; } .no-grow { flex-grow: 0; } em { font-style: normal; } #app { font-family: 'Poppins', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: var(--text-color); background-color: transparent; } .chat-window { position: absolute; left: 15px; width: 32vw; height: 20vh; background: linear-gradient( 135deg, rgba(3, 79, 243, 0.884) 0%, rgba(5, 77, 231, 0.582) 50%, rgba(4, 79, 241, 0.24) 100% ); padding: 5px; border-radius: 2px; top: 5vh; -webkit-animation-duration: 2s; box-shadow: 0 4px 15px var(--shadow-color); } .holder { width: 102%; padding-top: 15px; } .chat-messages { max-height: 100%; font-size: 12px; overflow-x: hidden; overflow-y: hidden; display: flex; flex-flow: row; flex-wrap: wrap; } .chat-input { font-size: 0.9rem; position: absolute; top: 27vh; left: 15px; width: 28vw; box-sizing: border-box; } textarea { font-family: 'Poppins', sans-serif; font-size: 14px; display: block; box-sizing: border-box; padding: 0.60vw; padding-left: 1.90vw; color: var(--text-color); background: linear-gradient( to right, rgba(0, 0, 0, 0.08) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(0, 0, 0, 0.08) 100% ); width: 100%; min-height: 3.8vh; max-height: 3.8vh; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.719); overflow: hidden; text-overflow: ellipsis; resize: none; border-radius: 0; padding-left: 8px; padding-top: 10px; transition: all 0.3s ease; } textarea:focus { outline: none; border-bottom: 1px solid var(--light-blue); background: linear-gradient( to right, rgb(2, 29, 77) 0%, rgba(5, 21, 51, 0.596) 50%, rgba(36, 37, 37, 0.336) 100% ); } .msg { margin-bottom: 5px; position: relative; padding-bottom: 5px; } .msg:not(:last-child)::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: rgba(100, 255, 218, 0.1); } .suggestions { list-style-type: none; padding: 5px; padding-left: 8px; font-size: 0.9rem; box-sizing: border-box; color: white; background: linear-gradient( 135deg, rgba(3, 79, 243, 0.884) 0%, rgba(5, 77, 231, 0.582) 50%, rgba(4, 79, 241, 0.24) 100% ); border: none; width: 102%; border-radius: 2px; } .help { margin-top: -10px; color: var(--text-color); } .disabled { margin-top: -10px; color: rgba(204, 214, 246, 0.6); } .suggestion { margin-bottom: 5px; color: var(--text-color); transition: color 0.2s ease; } .suggestion:hover { color: var(--light-blue); cursor: pointer; } .chat-message { display: inline-block !important; padding: 0.65vw; margin: 0.1vw; border-radius: 0; background: transparent; width: fit-content; max-width: 100%; overflow: hidden; word-break: break-word; border-left: none; } .restart { display: inline-block !important; padding: 0.65vw; margin: 0.1vw; border-radius: 0; background: transparent; width: fit-content; max-width: 100%; overflow: hidden; word-break: break-word; } .chat-message-body { /* margin-top: 10px; */ } .chat-message.advert { background: transparent; color: rgba(47, 92, 115, 0.9); } .warning { color: rgba(255, 71, 0, 0.9); } .normal { color: rgba(0, 100, 138, 0.9); } .error { color: rgba(255, 0, 71, 0.9); } .chat-message.system { color: rgba(67, 57, 111, 0.9); } .chat-message.emergency { color: rgba(224, 50, 50, 0.9); } .chat-message.nonemergency { color: rgba(112, 25, 25, 0.9); } .chat-message.report { color: rgba(40, 167, 69, 0.9); } /* Animation for new messages */ @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } } .chat-message { animation: fadeIn 0.3s ease-out; } /* Scrollbar styling */ ::-webkit-scrollbar { width: 5px; } ::-webkit-scrollbar-track { background: rgba(10, 25, 47, 0.3); border-radius: 10px; } ::-webkit-scrollbar-thumb { background: var(--light-blue); border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background: rgba(242, 245, 244, 0.8); }