main.css 18 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072
  1. .inter-gc {
  2. font-family: "Inter", sans-serif;
  3. font-optical-sizing: auto;
  4. font-weight: 400;
  5. font-style: normal;
  6. }
  7. :root {
  8. --primary: #5468FF;
  9. --primary-light: #8590FF;
  10. --primary-dark: #3A4DB2;
  11. --myself: #E9EFFF;
  12. --myself-accent: #5468FF;
  13. --myself-accent-dark: #3A4DB2;
  14. --other: #EBFAEF;
  15. --other-accent: #4CAF50;
  16. --text-dark: #1A2138;
  17. --text-light: #5F6A8A;
  18. --background: #F9FAFC;
  19. --panel: #FFFFFF;
  20. --border: #E1E5EE;
  21. --shadow: 0 4px 12px rgba(84, 104, 255, 0.10);
  22. --hover-shadow: 0 6px 16px rgba(84, 104, 255, 0.18);
  23. --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  24. }
  25. /*
  26. * {
  27. margin: 0;
  28. padding: 0;
  29. box-sizing: border-box;
  30. font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  31. }
  32. body {
  33. background-color: var(--background);
  34. color: var(--text-dark);
  35. width: 100%;
  36. height: 100vh;
  37. display: flex;
  38. align-items: center;
  39. justify-content: center;
  40. overflow: hidden;
  41. }
  42. */
  43. .chat-container {
  44. /* width: 700px; */
  45. height: 900px;
  46. display: flex;
  47. flex-direction: column;
  48. border-radius: 16px;
  49. background-color: var(--panel);
  50. box-shadow: var(--shadow);
  51. overflow: hidden;
  52. position: relative;
  53. }
  54. .header {
  55. padding: 16px 24px;
  56. background-color: var(--panel);
  57. border-bottom: 1px solid var(--border);
  58. display: flex;
  59. align-items: center;
  60. justify-content: space-between;
  61. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  62. position: relative;
  63. z-index: 10;
  64. }
  65. .header-left {
  66. display: flex;
  67. align-items: center;
  68. gap: 12px;
  69. }
  70. .course-info {
  71. display: flex;
  72. flex-direction: column;
  73. }
  74. .course-title {
  75. font-weight: 600;
  76. font-size: 16px;
  77. color: var(--text-dark);
  78. }
  79. .course-participants {
  80. font-size: 12px;
  81. color: var(--text-light);
  82. }
  83. .header-actions {
  84. display: flex;
  85. gap: 12px;
  86. }
  87. .icon-button {
  88. width: 36px;
  89. height: 36px;
  90. border-radius: 50%;
  91. border: none;
  92. display: flex;
  93. align-items: center;
  94. justify-content: center;
  95. background-color: var(--background);
  96. color: var(--text-light);
  97. cursor: pointer;
  98. transition: var(--transition);
  99. }
  100. .icon-button:hover {
  101. background-color: var(--primary-light);
  102. color: white;
  103. transform: translateY(-2px);
  104. box-shadow: var(--hover-shadow);
  105. }
  106. .icon-button svg {
  107. width: 18px;
  108. height: 18px;
  109. }
  110. .tabs {
  111. display: flex;
  112. padding: 0 20px;
  113. background-color: var(--panel);
  114. border-bottom: 1px solid var(--border);
  115. position: relative;
  116. z-index: 5;
  117. }
  118. .tab {
  119. padding: 12px 16px;
  120. font-size: 14px;
  121. font-weight: 500;
  122. color: var(--text-light);
  123. cursor: pointer;
  124. border-bottom: 2px solid transparent;
  125. transition: var(--transition);
  126. position: relative;
  127. }
  128. .tab.active {
  129. color: var(--primary);
  130. border-bottom: 2px solid var(--primary);
  131. }
  132. .tab:hover:not(.active) {
  133. color: var(--text-dark);
  134. }
  135. .badge {
  136. position: absolute;
  137. top: 8px;
  138. right: 8px;
  139. background-color: var(--primary);
  140. color: white;
  141. font-size: 10px;
  142. font-weight: 500;
  143. padding: 1px 6px;
  144. border-radius: 10px;
  145. }
  146. .chat-content {
  147. flex: 1;
  148. overflow-y: auto;
  149. padding: 24px;
  150. display: flex;
  151. flex-direction: column;
  152. gap: 16px;
  153. scroll-behavior: smooth;
  154. }
  155. .chat-content::-webkit-scrollbar {
  156. width: 6px;
  157. }
  158. .chat-content::-webkit-scrollbar-track {
  159. background: transparent;
  160. }
  161. .chat-content::-webkit-scrollbar-thumb {
  162. background-color: var(--border);
  163. border-radius: 6px;
  164. }
  165. .message {
  166. display: flex;
  167. flex-direction: column;
  168. max-width: 80%;
  169. animation: fadeIn 0.3s ease-out;
  170. }
  171. @keyframes fadeIn {
  172. from {
  173. opacity: 0;
  174. transform: translateY(10px);
  175. }
  176. to {
  177. opacity: 1;
  178. transform: translateY(0);
  179. }
  180. }
  181. .message.myself {
  182. align-self: flex-end;
  183. }
  184. .message.other {
  185. align-self: flex-start;
  186. }
  187. .message-header {
  188. display: flex;
  189. align-items: center;
  190. gap: 8px;
  191. margin-bottom: 4px;
  192. }
  193. .avatar {
  194. width: 28px;
  195. height: 28px;
  196. border-radius: 50%;
  197. display: flex;
  198. align-items: center;
  199. justify-content: center;
  200. font-weight: 600;
  201. font-size: 12px;
  202. color: white;
  203. flex-shrink: 0;
  204. }
  205. .sender-name {
  206. font-size: 13px;
  207. font-weight: 600;
  208. }
  209. .timestamp {
  210. font-size: 11px;
  211. color: var(--text-light);
  212. margin-left: auto;
  213. }
  214. .message-bubble {
  215. padding: 12px 16px;
  216. border-radius: 16px;
  217. font-size: 14px;
  218. line-height: 1.5;
  219. position: relative;
  220. transition: var(--transition);
  221. }
  222. .myself .message-bubble {
  223. border-top-right-radius: 4px;
  224. }
  225. .other .message-bubble {
  226. border-top-left-radius: 4px;
  227. }
  228. .myself2 .avatar {
  229. background-color: var(--myself-accent);
  230. }
  231. .myself2 .sender-name {
  232. color: var(--myself-accent);
  233. }
  234. .myself2 .message-bubble {
  235. background-color: var(--myself);
  236. }
  237. .other2 .avatar {
  238. background-color: var(--other-accent);
  239. }
  240. .other2 .sender-name {
  241. color: var(--other-accent);
  242. }
  243. .other2 .message-bubble {
  244. background-color: var(--other);
  245. }
  246. .FIBU .avatar {
  247. /* red */
  248. background-color: #dc3545;
  249. }
  250. .FIBU .sender-name {
  251. color: #dc3545;
  252. }
  253. .FIBU .message-bubble {
  254. background-color: #d7c0c2;
  255. }
  256. .GSL .avatar {
  257. /* dark red */
  258. background-color: #6e131c;
  259. }
  260. .GSL .sender-name {
  261. color: #6e131c;
  262. }
  263. .GSL .message-bubble {
  264. background-color: #d8acb0;
  265. }
  266. .GWL .avatar {
  267. /* orange */
  268. background-color: #fd7e14;
  269. }
  270. .GWL .sender-name {
  271. color: #fd7e14;
  272. }
  273. .GWL .message-bubble {
  274. background-color: #f7d8bf;
  275. }
  276. .ZD .avatar {
  277. /* purple */
  278. background-color: #6f42c1;
  279. }
  280. .ZD .sender-name {
  281. color: #6f42c1;
  282. }
  283. .ZD .message-bubble {
  284. background-color: #9f8cc2;
  285. }
  286. .ALV .avatar {
  287. /* dark blue */
  288. background-color: #0c408f;
  289. }
  290. .ALV .sender-name {
  291. color: #0c408f;
  292. }
  293. .ALV .message-bubble {
  294. background-color: #7e9ecd;
  295. }
  296. .NAGA .avatar {
  297. /* blue */
  298. background-color: #0d6efd;
  299. }
  300. .NAGA .sender-name {
  301. color: #0d6efd;
  302. }
  303. .NAGA .message-bubble {
  304. background-color: #a1c5fa;
  305. }
  306. .Serviceleiter .avatar {
  307. /* green */
  308. background-color: #198754;
  309. }
  310. .Serviceleiter .sender-name {
  311. color: #198754;
  312. }
  313. .Serviceleiter .message-bubble {
  314. background-color: #7aa490;
  315. }
  316. .SC .avatar {
  317. /* teal */
  318. background-color: #20c997;
  319. }
  320. .SC .sender-name {
  321. color: #20c997;
  322. }
  323. .SC .message-bubble {
  324. background-color: #93d2bf;
  325. }
  326. .TUZ .avatar {
  327. /* grey */
  328. background-color: #5b6067;
  329. }
  330. .TUZ .sender-name {
  331. color: #5b6067;
  332. }
  333. .TUZ .message-bubble {
  334. background-color: #dce7f6;
  335. }
  336. .message-actions {
  337. display: flex;
  338. gap: 8px;
  339. margin-top: 6px;
  340. justify-content: flex-end;
  341. opacity: 0;
  342. transition: var(--transition);
  343. }
  344. .message:hover .message-actions {
  345. opacity: 1;
  346. }
  347. .action-button {
  348. background: none;
  349. border: none;
  350. font-size: 12px;
  351. color: var(--text-light);
  352. cursor: pointer;
  353. padding: 2px 6px;
  354. border-radius: 4px;
  355. transition: var(--transition);
  356. }
  357. .action-button:hover {
  358. background-color: rgba(84, 104, 255, 0.1);
  359. color: var(--primary);
  360. }
  361. .embed-content {
  362. margin-top: 10px;
  363. border-radius: 8px;
  364. overflow: hidden;
  365. border: 1px solid var(--border);
  366. background-color: white;
  367. transition: var(--transition);
  368. }
  369. .embed-content:hover {
  370. box-shadow: var(--shadow);
  371. transform: translateY(-2px);
  372. }
  373. .embed-header {
  374. padding: 10px 12px;
  375. background-color: rgba(84, 104, 255, 0.05);
  376. display: flex;
  377. align-items: center;
  378. gap: 8px;
  379. border-bottom: 1px solid var(--border);
  380. }
  381. .embed-icon {
  382. width: 20px;
  383. height: 20px;
  384. display: flex;
  385. align-items: center;
  386. justify-content: center;
  387. color: var(--primary);
  388. }
  389. .embed-title {
  390. font-size: 12px;
  391. font-weight: 500;
  392. flex: 1;
  393. }
  394. .embed-body {
  395. padding: 12px;
  396. }
  397. .embed-image {
  398. width: 100%;
  399. border-radius: 6px;
  400. height: auto;
  401. object-fit: cover;
  402. }
  403. .embed-text {
  404. font-size: 13px;
  405. color: var(--text-light);
  406. margin-top: 8px;
  407. line-height: 1.4;
  408. }
  409. .embed-footer {
  410. padding: 8px 12px;
  411. border-top: 1px solid var(--border);
  412. display: flex;
  413. align-items: center;
  414. justify-content: space-between;
  415. }
  416. .embed-button {
  417. background-color: var(--primary-light);
  418. color: white;
  419. font-size: 12px;
  420. font-weight: 500;
  421. padding: 6px 12px;
  422. border-radius: 6px;
  423. border: none;
  424. cursor: pointer;
  425. transition: var(--transition);
  426. }
  427. .embed-button:hover {
  428. background-color: var(--primary);
  429. transform: translateY(-1px);
  430. box-shadow: 0 3px 8px rgba(84, 104, 255, 0.2);
  431. }
  432. .date-divider {
  433. display: flex;
  434. align-items: center;
  435. gap: 12px;
  436. margin: 16px 0;
  437. opacity: 0.7;
  438. }
  439. .divider-line {
  440. flex: 1;
  441. height: 1px;
  442. background-color: var(--border);
  443. }
  444. .divider-text {
  445. font-size: 12px;
  446. color: var(--text-light);
  447. white-space: nowrap;
  448. }
  449. .typing-indicator {
  450. display: flex;
  451. align-items: center;
  452. gap: 4px;
  453. font-size: 12px;
  454. color: var(--text-light);
  455. padding: 8px 12px;
  456. margin-bottom: 8px;
  457. }
  458. .typing-dot {
  459. width: 5px;
  460. height: 5px;
  461. background-color: var(--text-light);
  462. border-radius: 50%;
  463. animation: typingAnimation 1.4s infinite ease-in-out;
  464. }
  465. .typing-dot:nth-child(1) {
  466. animation-delay: 0s;
  467. }
  468. .typing-dot:nth-child(2) {
  469. animation-delay: 0.2s;
  470. }
  471. .typing-dot:nth-child(3) {
  472. animation-delay: 0.4s;
  473. }
  474. @keyframes typingAnimation {
  475. 0%,
  476. 100% {
  477. transform: translateY(0);
  478. opacity: 0.5;
  479. }
  480. 50% {
  481. transform: translateY(-4px);
  482. opacity: 1;
  483. }
  484. }
  485. .input-area {
  486. padding: 16px 24px 24px;
  487. background-color: var(--panel);
  488. border-top: 1px solid var(--border);
  489. z-index: 10;
  490. }
  491. .toolbar {
  492. display: flex;
  493. align-items: center;
  494. gap: 8px;
  495. margin-bottom: 12px;
  496. }
  497. .toolbar form {
  498. width: 100%;
  499. }
  500. .tool-button {
  501. background: none;
  502. border: none;
  503. cursor: pointer;
  504. width: 32px;
  505. height: 32px;
  506. border-radius: 4px;
  507. display: flex;
  508. align-items: center;
  509. justify-content: center;
  510. color: var(--text-light);
  511. transition: var(--transition);
  512. }
  513. .tool-button:hover {
  514. background-color: rgba(84, 104, 255, 0.1);
  515. color: var(--primary);
  516. }
  517. .tool-button svg {
  518. width: 18px;
  519. height: 18px;
  520. }
  521. .input-container {
  522. display: flex;
  523. gap: 12px;
  524. align-items: center;
  525. }
  526. .message-input {
  527. flex: 1;
  528. padding: 14px 16px;
  529. border-radius: 10px;
  530. border: 1px solid var(--border);
  531. background-color: var(--background);
  532. font-size: 14px;
  533. resize: none;
  534. transition: var(--transition);
  535. height: 50px;
  536. width: 80%;
  537. outline: none;
  538. }
  539. .message-input:focus {
  540. border-color: var(--primary-light);
  541. box-shadow: 0 0 0 2px rgba(84, 104, 255, 0.1);
  542. }
  543. .send-button {
  544. background-color: var(--primary);
  545. color: white;
  546. border: none;
  547. width: 50px;
  548. height: 50px;
  549. border-radius: 12px;
  550. cursor: pointer;
  551. display: flex;
  552. align-items: center;
  553. justify-content: center;
  554. transition: var(--transition);
  555. }
  556. .send-button:hover {
  557. background-color: var(--primary-dark);
  558. transform: translateY(-2px);
  559. box-shadow: 0 4px 12px rgba(84, 104, 255, 0.2);
  560. }
  561. .poll-container {
  562. padding: 12px;
  563. background-color: rgba(84, 104, 255, 0.05);
  564. border-radius: 8px;
  565. margin-top: 8px;
  566. }
  567. .poll-question {
  568. font-weight: 500;
  569. margin-bottom: 10px;
  570. font-size: 13px;
  571. }
  572. .poll-options {
  573. display: flex;
  574. flex-direction: column;
  575. gap: 8px;
  576. }
  577. .poll-option {
  578. background-color: white;
  579. border: 1px solid var(--border);
  580. padding: 8px 12px;
  581. border-radius: 6px;
  582. font-size: 13px;
  583. position: relative;
  584. cursor: pointer;
  585. transition: var(--transition);
  586. display: flex;
  587. justify-content: space-between;
  588. }
  589. .poll-option:hover {
  590. border-color: var(--primary-light);
  591. background-color: rgba(84, 104, 255, 0.03);
  592. }
  593. .poll-option.selected {
  594. border-color: var(--primary);
  595. background-color: rgba(84, 104, 255, 0.1);
  596. }
  597. .poll-option.selected::before {
  598. content: '';
  599. position: absolute;
  600. left: 0;
  601. top: 0;
  602. height: 100%;
  603. width: 3px;
  604. background-color: var(--primary);
  605. border-top-left-radius: 6px;
  606. border-bottom-left-radius: 6px;
  607. }
  608. .poll-percent {
  609. font-size: 12px;
  610. font-weight: 500;
  611. color: var(--primary);
  612. }
  613. .poll-votes {
  614. margin-top: 10px;
  615. font-size: 12px;
  616. color: var(--text-light);
  617. text-align: right;
  618. }
  619. .resource-link {
  620. display: flex;
  621. align-items: center;
  622. gap: 8px;
  623. padding: 10px;
  624. background-color: var(--background);
  625. border-radius: 6px;
  626. cursor: pointer;
  627. transition: var(--transition);
  628. text-decoration: none;
  629. color: var(--text-dark);
  630. border: 1px solid var(--border);
  631. }
  632. .resource-link:hover {
  633. background-color: rgba(84, 104, 255, 0.05);
  634. border-color: var(--primary-light);
  635. transform: translateY(-2px);
  636. box-shadow: var(--shadow);
  637. }
  638. .resource-icon {
  639. width: 36px;
  640. height: 36px;
  641. background-color: rgba(84, 104, 255, 0.1);
  642. border-radius: 6px;
  643. display: flex;
  644. align-items: center;
  645. justify-content: center;
  646. color: var(--primary);
  647. }
  648. .resource-info {
  649. flex: 1;
  650. }
  651. .resource-title {
  652. font-size: 13px;
  653. font-weight: 500;
  654. }
  655. .resource-desc {
  656. font-size: 11px;
  657. color: var(--text-light);
  658. }
  659. /* Responsive Styles */
  660. @media (max-width: 700px) {
  661. .chat-container {
  662. width: 100%;
  663. height: 100%;
  664. border-radius: 0;
  665. }
  666. .message {
  667. max-width: 90%;
  668. }
  669. .header-actions {
  670. gap: 8px;
  671. }
  672. .icon-button {
  673. width: 32px;
  674. height: 32px;
  675. }
  676. .tabs {
  677. padding: 0 10px;
  678. }
  679. .tab {
  680. padding: 12px 10px;
  681. font-size: 13px;
  682. }
  683. }
  684. /* Animation for new messages */
  685. @keyframes popIn {
  686. 0% {
  687. transform: scale(0.8);
  688. opacity: 0;
  689. }
  690. 50% {
  691. transform: scale(1.05);
  692. }
  693. 100% {
  694. transform: scale(1);
  695. opacity: 1;
  696. }
  697. }
  698. .pop-in {
  699. animation: popIn 0.3s forwards;
  700. }
  701. /* Resource expansion animation */
  702. .resource-expanded {
  703. max-height: 0;
  704. overflow: hidden;
  705. transition: max-height 0.3s ease;
  706. }
  707. .resource-expanded.active {
  708. max-height: 200px;
  709. }
  710. /* Tooltip Styles */
  711. .tooltip {
  712. position: relative;
  713. }
  714. .tooltip::after {
  715. content: attr(data-tooltip);
  716. position: absolute;
  717. bottom: 130%;
  718. left: 50%;
  719. transform: translateX(-50%);
  720. padding: 5px 10px;
  721. border-radius: 4px;
  722. background-color: rgba(26, 33, 56, 0.9);
  723. color: white;
  724. font-size: 11px;
  725. white-space: nowrap;
  726. opacity: 0;
  727. visibility: hidden;
  728. transition: all 0.2s ease;
  729. pointer-events: none;
  730. z-index: 100;
  731. }
  732. .tooltip::before {
  733. content: '';
  734. position: absolute;
  735. bottom: 120%;
  736. left: 50%;
  737. transform: translateX(-50%);
  738. border-width: 4px;
  739. border-style: solid;
  740. border-color: rgba(26, 33, 56, 0.9) transparent transparent transparent;
  741. opacity: 0;
  742. visibility: hidden;
  743. transition: all 0.2s ease;
  744. pointer-events: none;
  745. z-index: 100;
  746. }
  747. .tooltip:hover::after,
  748. .tooltip:hover::before {
  749. opacity: 1;
  750. visibility: visible;
  751. }
  752. /* Reaction Styles */
  753. .reactions {
  754. display: flex;
  755. flex-wrap: wrap;
  756. gap: 4px;
  757. margin-top: 8px;
  758. }
  759. .reaction {
  760. font-size: 12px;
  761. padding: 2px 6px 2px 4px;
  762. background-color: rgba(84, 104, 255, 0.06);
  763. border-radius: 12px;
  764. display: flex;
  765. align-items: center;
  766. gap: 3px;
  767. cursor: pointer;
  768. transition: var(--transition);
  769. }
  770. .reaction:hover {
  771. background-color: rgba(84, 104, 255, 0.15);
  772. }
  773. .reaction.active {
  774. background-color: rgba(84, 104, 255, 0.2);
  775. font-weight: 500;
  776. }
  777. @media (min-width: 1400px) {
  778. .container,
  779. .container-lg,
  780. .container-md,
  781. .container-sm,
  782. .container-xl,
  783. .container-xxl {
  784. max-width: 1750px;
  785. }
  786. }
  787. .table th {
  788. font-size: smaller;
  789. background-color: #C3CCD4;
  790. }
  791. .btn-primary {
  792. --cui-btn-bg: #72889B;
  793. --cui-btn-border-color: #72889B;
  794. --cui-btn-hover-bg: #B1BCC7;
  795. --cui-btn-hover-border-color: #B1BCC7;
  796. }
  797. a {
  798. color: #52616f;
  799. }
  800. .footer {
  801. --cui-footer-bg: #B1BCC7;
  802. }
  803. .table thead
  804. {
  805. position: sticky;
  806. top: 40px;
  807. background: white;
  808. }
  809. .chat-input {
  810. padding: 15px 20px;
  811. border-top: 1px solid var(--border);
  812. display: flex;
  813. align-items: center;
  814. background-color: white;
  815. position: relative;
  816. z-index: 10;
  817. }
  818. .input-container {
  819. flex: 1;
  820. display: flex;
  821. align-items: center;
  822. background-color: var(--secondary);
  823. border-radius: 20px;
  824. padding: 0 15px;
  825. position: relative;
  826. }
  827. .input-container input {
  828. flex: 1;
  829. border: none;
  830. outline: none;
  831. height: 40px;
  832. background-color: transparent;
  833. padding: 0 10px;
  834. font-size: 15px;
  835. }
  836. .input-actions {
  837. display: flex;
  838. gap: 10px;
  839. }
  840. .input-btn {
  841. background: none;
  842. border: none;
  843. color: #888;
  844. cursor: pointer;
  845. transition: var(--transition);
  846. font-size: 18px;
  847. }
  848. .input-btn:hover {
  849. color: var(--primary);
  850. }
  851. .send-btn {
  852. background-color: var(--primary);
  853. color: white;
  854. width: 40px;
  855. height: 40px;
  856. border-radius: 50%;
  857. border: none;
  858. cursor: pointer;
  859. margin-left: 10px;
  860. transition: var(--transition);
  861. display: flex;
  862. align-items: center;
  863. justify-content: center;
  864. }
  865. .send-btn:hover {
  866. background-color: var(--primary-light);
  867. transform: scale(1.05);
  868. }
  869. .modal {
  870. --cui-modal-width: 80%;
  871. }
  872. .beleg-M1 td {
  873. color: #cc8800
  874. }
  875. .beleg-M2 td {
  876. color: #cc2200
  877. }
  878. .beleg-M3 td {
  879. color: #882200
  880. }
  881. ::-webkit-datetime-edit-year-field:not([aria-valuenow]),
  882. ::-webkit-datetime-edit-month-field:not([aria-valuenow]),
  883. ::-webkit-datetime-edit-day-field:not([aria-valuenow]) {
  884. color: #eee;
  885. }
  886. input[type="date"]:in-range::-webkit-datetime-edit-year-field,
  887. input[type="date"]:in-range::-webkit-datetime-edit-month-field,
  888. input[type="date"]:in-range::-webkit-datetime-edit-day-field,
  889. input[type="date"]:in-range::-webkit-datetime-edit-text {
  890. color: #eee;
  891. }