app.scss 17 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033
  1. // Fonts - local Nunito via @fontsource
  2. @import "@fontsource/nunito/400.css";
  3. @import "@fontsource/nunito/400-italic.css";
  4. @import "@fontsource/nunito/600.css";
  5. @import "@fontsource/nunito/700.css";
  6. @import "@fontsource/nunito/800.css";
  7. body {
  8. font-family: 'Nunito', sans-serif;
  9. }
  10. // Variables
  11. @import 'variables';
  12. // Bootstrap
  13. @import 'bootstrap/scss/bootstrap';
  14. @import "bootstrap-icons/font/bootstrap-icons.css";
  15. .invalid-feedback {
  16. display: block !important;
  17. }
  18. .nav-link.active {
  19. font-weight: bold;
  20. }
  21. td p {
  22. margin-bottom: 0;
  23. }
  24. .alerts{
  25. position: absolute;
  26. right: 0;
  27. top: 0;
  28. opacity: 0.95;
  29. z-index: 999;
  30. div {
  31. padding-left: 3rem;
  32. padding-right: 3rem;
  33. }
  34. }
  35. .table-buttons {
  36. position: fixed;
  37. right: 0;
  38. opacity: 0.7;
  39. z-index: 999;
  40. }
  41. .table-buttons:hover {
  42. opacity: 1;
  43. }
  44. .js-main-table-scroll {
  45. overflow: auto;
  46. position: relative;
  47. z-index: 20;
  48. }
  49. .js-main-table-scroll:has(.dropdown-menu.show) {
  50. overflow: visible;
  51. }
  52. .js-main-table-scroll .table {
  53. margin-bottom: 0;
  54. }
  55. .js-main-table-scroll thead th {
  56. position: sticky;
  57. top: 0;
  58. z-index: 3;
  59. background-color: var(--bs-primary-bg-subtle);
  60. }
  61. .js-main-table-scroll .table-head-shadow th {
  62. box-shadow: 0 8px 14px -10px rgba(0, 0, 0, 0.35);
  63. }
  64. .js-main-table-scroll thead th:has(.dropdown-menu.show) {
  65. z-index: 10;
  66. }
  67. .js-main-table-scroll thead th .dropdown-menu {
  68. z-index: 1080;
  69. }
  70. .js-subtable-scroll {
  71. overflow: auto;
  72. }
  73. .js-subtable-scroll .table {
  74. margin-bottom: 0;
  75. }
  76. .js-subtable-scroll thead th {
  77. position: sticky;
  78. top: 0;
  79. z-index: 2;
  80. background-color: var(--bs-primary-bg-subtle);
  81. }
  82. .table {
  83. tr th {
  84. background-color: var(--bs-primary-bg-subtle);
  85. vertical-align: middle;
  86. }
  87. td {
  88. cursor: pointer;
  89. }
  90. th {
  91. border-right: 1px solid #d7d7d7;
  92. }
  93. font-size: 0.8rem;
  94. }
  95. .table-interactive tbody tr {
  96. transition: background-color 0.12s ease-in-out;
  97. }
  98. .table-interactive tbody tr:hover > td {
  99. background-color: #f2f7ff;
  100. }
  101. .page-header-row {
  102. align-items: center;
  103. }
  104. .page-header-title h3 {
  105. margin-bottom: 0;
  106. }
  107. .page-header-actions {
  108. display: flex;
  109. justify-content: flex-end;
  110. align-items: center;
  111. gap: 0.5rem;
  112. flex-wrap: wrap;
  113. }
  114. .page-action-btn {
  115. display: inline-flex;
  116. align-items: center;
  117. justify-content: center;
  118. gap: 0.35rem;
  119. }
  120. .page-action-btn__icon {
  121. line-height: 1;
  122. }
  123. .table-interactive tbody tr.is-selected > td {
  124. background-color: #dbe7ff;
  125. }
  126. .table-interactive tbody tr.is-selected:hover > td {
  127. background-color: #cfe0ff;
  128. }
  129. .maf:hover {
  130. background-color: #fff8ca;
  131. }
  132. .quantity {
  133. padding: 3px;
  134. }
  135. .pagination .text-muted {
  136. padding-right: 1rem;
  137. }
  138. .table-pagination-row {
  139. padding-top: 0.25rem !important;
  140. padding-bottom: 0.25rem !important;
  141. background-color: var(--bs-body-bg);
  142. box-shadow: 0 -8px 14px -10px rgba(0, 0, 0, 0.35);
  143. position: relative;
  144. z-index: 1;
  145. }
  146. .table-pagination-row .pagination {
  147. margin-bottom: 0;
  148. }
  149. .table-pagination-row .pagination .page-link {
  150. padding: 0.2rem 0.45rem;
  151. }
  152. .table-pagination-row .col-form-label {
  153. margin-bottom: 0;
  154. padding-top: 0.15rem;
  155. padding-bottom: 0.15rem;
  156. }
  157. .cursor-pointer {
  158. cursor: pointer;
  159. }
  160. .highlight {
  161. background-color: yellow;
  162. }
  163. .rm-but {
  164. position: absolute;
  165. margin-left: -18px;
  166. margin-top: 1px;
  167. }
  168. .maf-img {
  169. max-height: 100px;
  170. max-width: 100px;
  171. }
  172. .vertical {
  173. writing-mode: sideways-lr;
  174. vertical-align: middle;
  175. text-align: center;
  176. }
  177. .vertical th{
  178. writing-mode: sideways-lr;
  179. vertical-align: middle;
  180. text-align: center;
  181. }
  182. .svod tr {
  183. text-align: center;
  184. }
  185. .svod-6, .svod-7 {
  186. background-color: #86b7fe !important;
  187. }
  188. .svod-8, .svod-9 {
  189. background-color: #fec886 !important;
  190. }
  191. .svod-10, .svod-11 {
  192. background-color: #ccffd8 !important;
  193. }
  194. .svod-12, .svod-13 {
  195. background-color: #54ab4e !important;
  196. }
  197. .svod-14, .svod-15 {
  198. background-color: #effc76 !important;
  199. }
  200. .svod-20, .svod-21, .svod-16, .svod-17, .svod-18, .svod-19{
  201. background-color: #c4c4c4 !important;
  202. }
  203. .svod-26, .svod-27, .svod-22, .svod-23, .svod-24, .svod-25{
  204. background-color: #a4f7ff !important;
  205. }
  206. .svod-32, .svod-33, .svod-28, .svod-29, .svod-30, .svod-31{
  207. background-color: #ffc0c0 !important;
  208. }
  209. // Markdown content styles
  210. .markdown-content {
  211. scroll-behavior: smooth;
  212. h1, h2, h3, h4, h5, h6 {
  213. margin-top: 1.5rem;
  214. margin-bottom: 0.75rem;
  215. scroll-margin-top: 1rem;
  216. }
  217. h1 { font-size: 1.75rem; }
  218. h2 { font-size: 1.5rem; border-bottom: 1px solid #dee2e6; padding-bottom: 0.5rem; }
  219. h3 { font-size: 1.25rem; }
  220. h4 { font-size: 1.1rem; }
  221. table {
  222. width: 100%;
  223. margin-bottom: 1rem;
  224. border-collapse: collapse;
  225. th, td {
  226. padding: 0.5rem;
  227. border: 1px solid #dee2e6;
  228. cursor: default;
  229. }
  230. th {
  231. background-color: var(--bs-primary-bg-subtle);
  232. }
  233. }
  234. pre {
  235. background-color: #f8f9fa;
  236. padding: 1rem;
  237. border-radius: 0.25rem;
  238. overflow-x: auto;
  239. code {
  240. color: inherit;
  241. }
  242. }
  243. code {
  244. color: #d63384;
  245. background-color: #f8f9fa;
  246. padding: 0.2rem 0.4rem;
  247. border-radius: 0.25rem;
  248. }
  249. hr {
  250. margin: 2rem 0;
  251. border-top: 1px solid #dee2e6;
  252. }
  253. ul, ol {
  254. padding-left: 1.5rem;
  255. margin-bottom: 1rem;
  256. }
  257. blockquote {
  258. border-left: 4px solid #dee2e6;
  259. padding-left: 1rem;
  260. color: #6c757d;
  261. margin: 1rem 0;
  262. }
  263. }
  264. .is-hidden {
  265. display: none;
  266. }
  267. .max-h-50vh {
  268. max-height: 50vh;
  269. }
  270. .table-initial-hidden {
  271. display: none;
  272. min-height: 380px;
  273. }
  274. .img-max-40 {
  275. max-height: 40px;
  276. }
  277. .img-max-50 {
  278. max-width: 50px;
  279. }
  280. .img-max-150 {
  281. max-width: 150px;
  282. }
  283. .img-max-200 {
  284. max-width: 200px;
  285. }
  286. .color-input {
  287. height: 32px;
  288. }
  289. .week-number-input {
  290. width: 3rem;
  291. }
  292. .filter-menu-compact {
  293. width: 170px;
  294. }
  295. .filter-menu-wide {
  296. width: 300px;
  297. }
  298. .filter-list-scroll {
  299. max-height: 200px;
  300. overflow-y: scroll;
  301. }
  302. .tooltip-help {
  303. cursor: help;
  304. text-decoration: underline dotted;
  305. }
  306. .autocomplete-dropdown {
  307. position: absolute;
  308. top: 100%;
  309. left: 0;
  310. right: 0;
  311. z-index: 1050;
  312. background: white;
  313. border: 1px solid #dee2e6;
  314. border-top: none;
  315. border-radius: 0 0 0.375rem 0.375rem;
  316. max-height: 250px;
  317. overflow-y: auto;
  318. display: none;
  319. box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  320. }
  321. .autocomplete-dropdown.autocomplete-dropdown--order {
  322. max-height: 300px;
  323. }
  324. .autocomplete-dropdown .autocomplete-item {
  325. padding: 8px 12px;
  326. cursor: pointer;
  327. border-bottom: 1px solid #f0f0f0;
  328. }
  329. .autocomplete-dropdown.autocomplete-dropdown--order .autocomplete-item {
  330. padding: 10px 12px;
  331. }
  332. .autocomplete-dropdown .autocomplete-item:last-child {
  333. border-bottom: none;
  334. }
  335. .autocomplete-dropdown .autocomplete-item:hover,
  336. .autocomplete-dropdown .autocomplete-item.active {
  337. background-color: #e9ecef;
  338. }
  339. .autocomplete-dropdown .autocomplete-item .code,
  340. .autocomplete-dropdown .autocomplete-item .article {
  341. font-weight: 600;
  342. color: #495057;
  343. }
  344. .autocomplete-dropdown .autocomplete-item .description,
  345. .autocomplete-dropdown .autocomplete-item .used-in-maf {
  346. font-size: 0.875em;
  347. color: #6c757d;
  348. }
  349. .spare-part-dropdown {
  350. position: absolute;
  351. top: 100%;
  352. left: 0;
  353. right: 0;
  354. z-index: 1050;
  355. background: white;
  356. border: 1px solid #dee2e6;
  357. border-top: none;
  358. border-radius: 0 0 0.375rem 0.375rem;
  359. max-height: 250px;
  360. overflow-y: auto;
  361. display: none;
  362. box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  363. }
  364. .spare-part-dropdown .sp-item {
  365. padding: 8px 12px;
  366. cursor: pointer;
  367. border-bottom: 1px solid #f0f0f0;
  368. }
  369. .spare-part-dropdown .sp-item:last-child {
  370. border-bottom: none;
  371. }
  372. .spare-part-dropdown .sp-item:hover,
  373. .spare-part-dropdown .sp-item.active {
  374. background-color: #e9ecef;
  375. }
  376. .spare-part-dropdown .sp-item .sp-article {
  377. font-weight: 600;
  378. color: #495057;
  379. }
  380. .spare-part-dropdown .sp-item .sp-used {
  381. font-size: 0.875em;
  382. color: #6c757d;
  383. }
  384. .action-toolbar {
  385. display: flex;
  386. flex-wrap: wrap;
  387. gap: 0.25rem;
  388. justify-content: flex-end;
  389. align-items: flex-start;
  390. }
  391. .report-tabs {
  392. flex-wrap: nowrap;
  393. overflow-x: auto;
  394. overflow-y: hidden;
  395. -webkit-overflow-scrolling: touch;
  396. }
  397. .report-tabs .nav-link {
  398. white-space: nowrap;
  399. }
  400. .report-tab-content {
  401. padding: 0.75rem;
  402. }
  403. .schedule-week-controls {
  404. display: flex;
  405. flex-wrap: wrap;
  406. justify-content: flex-end;
  407. gap: 0.5rem;
  408. }
  409. .schedule-week-controls > div {
  410. padding: 0 !important;
  411. }
  412. @media (min-width: 768px) {
  413. .report-tab-content {
  414. padding: 3rem;
  415. }
  416. }
  417. @media (max-width: 767.98px) {
  418. .page-header-row {
  419. row-gap: 0.5rem;
  420. }
  421. .page-header-title {
  422. order: 1;
  423. }
  424. .page-header-year {
  425. order: 2;
  426. width: auto;
  427. }
  428. .page-header-actions {
  429. order: 3;
  430. width: auto;
  431. margin-left: auto;
  432. justify-content: flex-end;
  433. gap: 0.35rem;
  434. }
  435. .page-header-year .dropdown > .btn,
  436. .page-header-year .dropdown > button {
  437. font-size: 1.5rem !important;
  438. }
  439. .page-action-btn {
  440. min-width: 2.2rem;
  441. min-height: 2.2rem;
  442. padding-left: 0.55rem !important;
  443. padding-right: 0.55rem !important;
  444. }
  445. .page-action-btn__label {
  446. display: none;
  447. }
  448. .navbar {
  449. min-height: 3rem;
  450. }
  451. .navbar .container-fluid {
  452. padding-top: 0.25rem;
  453. padding-bottom: 0.25rem;
  454. }
  455. .navbar-brand {
  456. font-size: 1rem;
  457. margin-right: 0.5rem;
  458. }
  459. .navbar-toggler {
  460. padding: 0.2rem 0.45rem;
  461. font-size: 0.95rem;
  462. }
  463. .navbar .nav-link {
  464. padding-top: 0.35rem;
  465. padding-bottom: 0.35rem;
  466. }
  467. .notification-bell-link {
  468. padding-top: 0.25rem !important;
  469. padding-bottom: 0.25rem !important;
  470. }
  471. .alerts {
  472. position: fixed;
  473. left: 0;
  474. right: 0;
  475. top: 0;
  476. padding: 0.5rem;
  477. }
  478. .alerts div {
  479. padding-left: 1rem;
  480. padding-right: 1rem;
  481. }
  482. .table-buttons {
  483. position: sticky;
  484. bottom: 0;
  485. right: auto;
  486. width: 100%;
  487. display: flex !important;
  488. flex-direction: row !important;
  489. justify-content: space-around;
  490. opacity: 0.96;
  491. border-radius: 0.375rem 0.375rem 0 0 !important;
  492. }
  493. .js-main-table-scroll {
  494. padding-bottom: 2.75rem;
  495. }
  496. .table {
  497. font-size: 0.72rem;
  498. }
  499. .table th,
  500. .table td {
  501. padding: 0.35rem 0.45rem;
  502. }
  503. .js-main-table-scroll thead th,
  504. .js-subtable-scroll thead th {
  505. font-size: 0.68rem;
  506. padding: 0.3rem 0.35rem;
  507. }
  508. .vertical,
  509. .vertical th {
  510. writing-mode: horizontal-tb;
  511. }
  512. .filter-menu-wide {
  513. width: min(95vw, 320px);
  514. }
  515. .filter-sort-controls {
  516. width: 100% !important;
  517. flex-direction: column;
  518. gap: 0.5rem;
  519. }
  520. .filter-menu-wide [id^="bulk-toggle_"],
  521. .filter-menu-wide [id^="modal-footer_"] {
  522. flex-direction: column;
  523. gap: 0.5rem;
  524. }
  525. .filter-menu-wide .btn.w-50,
  526. .filter-menu-wide .btn.w-100 {
  527. width: 100% !important;
  528. }
  529. .table-pagination-row {
  530. row-gap: 0.5rem;
  531. }
  532. .schedule-week-controls {
  533. justify-content: flex-start;
  534. }
  535. .action-toolbar {
  536. justify-content: flex-start;
  537. }
  538. }
  539. .notification-bell-link {
  540. position: relative;
  541. }
  542. .notification-badge-dot {
  543. position: absolute;
  544. top: -2px;
  545. right: -2px;
  546. width: 9px;
  547. height: 9px;
  548. border-radius: 50%;
  549. background: #dc3545;
  550. }
  551. .notifications-list {
  552. display: flex;
  553. flex-direction: column;
  554. gap: 8px;
  555. }
  556. .notification-item {
  557. border: 1px solid #ddd;
  558. border-radius: 8px;
  559. padding: 10px 12px;
  560. cursor: pointer;
  561. }
  562. .mobile-date-picker-open {
  563. overflow: hidden;
  564. }
  565. .mobile-date-picker {
  566. position: fixed;
  567. inset: 0;
  568. z-index: 2000;
  569. background: rgba(15, 23, 42, 0.42);
  570. padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  571. }
  572. .mobile-date-picker[hidden] {
  573. display: none !important;
  574. }
  575. .mobile-date-picker__dialog {
  576. background: #fff;
  577. width: 100%;
  578. height: 100%;
  579. display: flex;
  580. flex-direction: column;
  581. }
  582. .mobile-date-picker__header,
  583. .mobile-date-picker__month-nav,
  584. .mobile-date-picker__footer {
  585. display: flex;
  586. align-items: center;
  587. justify-content: space-between;
  588. gap: 0.75rem;
  589. padding: 1rem 1rem 0;
  590. }
  591. .mobile-date-picker__title {
  592. font-size: 1rem;
  593. font-weight: 600;
  594. text-align: center;
  595. flex: 1;
  596. }
  597. .mobile-date-picker__close,
  598. .mobile-date-picker__today,
  599. .mobile-date-picker__nav {
  600. text-decoration: none;
  601. padding-left: 0.25rem;
  602. padding-right: 0.25rem;
  603. }
  604. .mobile-date-picker__month-nav {
  605. padding-top: 0.5rem;
  606. }
  607. .mobile-date-picker__month-label {
  608. font-size: 1.05rem;
  609. font-weight: 700;
  610. text-align: center;
  611. flex: 1;
  612. }
  613. .mobile-date-picker__weekdays,
  614. .mobile-date-picker__grid {
  615. display: grid;
  616. grid-template-columns: repeat(7, minmax(0, 1fr));
  617. gap: 0.35rem;
  618. padding-left: 1rem;
  619. padding-right: 1rem;
  620. }
  621. .mobile-date-picker__weekdays {
  622. padding-top: 1rem;
  623. padding-bottom: 0.5rem;
  624. }
  625. .mobile-date-picker__weekday {
  626. text-align: center;
  627. font-size: 0.75rem;
  628. color: #6c757d;
  629. text-transform: uppercase;
  630. }
  631. .mobile-date-picker__grid {
  632. padding-bottom: 1rem;
  633. flex: 1;
  634. align-content: start;
  635. }
  636. .mobile-date-picker__day {
  637. border: 1px solid transparent;
  638. background: #fff;
  639. border-radius: 0.75rem;
  640. min-height: 2.75rem;
  641. font-weight: 500;
  642. color: #212529;
  643. }
  644. .mobile-date-picker__day.is-outside {
  645. color: #adb5bd;
  646. }
  647. .mobile-date-picker__day.is-today {
  648. border-color: #0d6efd;
  649. }
  650. .mobile-date-picker__day.is-selected {
  651. background: #0d6efd;
  652. color: #fff;
  653. }
  654. .mobile-date-picker__footer {
  655. padding-top: 0;
  656. padding-bottom: max(1rem, env(safe-area-inset-bottom));
  657. }
  658. .mobile-date-picker__footer .btn {
  659. flex: 1;
  660. }
  661. .mobile-date-input {
  662. cursor: pointer;
  663. background-image: none !important;
  664. }
  665. .mobile-date-input--empty {
  666. color: #6c757d;
  667. }
  668. .notification-unread {
  669. background: #fce7ea;
  670. cursor: pointer;
  671. }
  672. .notification-read-platform {
  673. background: #e7f1ff;
  674. }
  675. .notification-read-reclamation {
  676. background: #e9f8ef;
  677. }
  678. .notification-read-schedule {
  679. background: #fff4e6;
  680. }
  681. .ws-notification-container {
  682. position: fixed;
  683. right: 16px;
  684. bottom: 16px;
  685. z-index: 2000;
  686. display: flex;
  687. flex-direction: column;
  688. gap: 10px;
  689. width: min(360px, calc(100vw - 24px));
  690. }
  691. .ws-notification-popup {
  692. border: 1px solid #d8d8d8;
  693. border-radius: 8px;
  694. background: #fff;
  695. box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  696. padding: 10px;
  697. }
  698. .ws-notification-header {
  699. display: flex;
  700. justify-content: space-between;
  701. align-items: center;
  702. gap: 8px;
  703. margin-bottom: 6px;
  704. }
  705. .ws-notification-body {
  706. font-size: 14px;
  707. }
  708. @media (max-width: 767.98px) {
  709. .notification-bell-link {
  710. display: inline-flex !important;
  711. margin-left: auto;
  712. }
  713. }
  714. // Chat component styles (from partials/chat.blade.php)
  715. .chat-block {
  716. --chat-height: 420px;
  717. }
  718. .chat-card {
  719. border: 1px solid var(--bs-border-color);
  720. border-radius: 0.75rem;
  721. background: var(--bs-light-bg-subtle, #f8f9fa);
  722. }
  723. .chat-messages-wrap {
  724. position: relative;
  725. padding: 0.75rem;
  726. }
  727. .chat-messages {
  728. max-height: var(--chat-height);
  729. overflow-y: auto;
  730. padding-right: 0.35rem;
  731. scroll-behavior: smooth;
  732. }
  733. .chat-message {
  734. border: 1px solid rgba(0, 0, 0, 0.08);
  735. border-radius: 0.75rem;
  736. background: #fff;
  737. padding: 0.75rem 0.875rem;
  738. margin-bottom: 0.625rem;
  739. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  740. }
  741. .chat-message:last-child {
  742. margin-bottom: 0;
  743. }
  744. .chat-message-header {
  745. display: flex;
  746. justify-content: space-between;
  747. gap: 0.75rem;
  748. flex-wrap: wrap;
  749. font-size: 0.875rem;
  750. }
  751. .chat-message-text {
  752. margin-top: 0.5rem;
  753. white-space: pre-wrap;
  754. line-height: 1.35;
  755. }
  756. .chat-message-files {
  757. margin-top: 0.625rem;
  758. display: flex;
  759. flex-wrap: wrap;
  760. gap: 0.5rem;
  761. }
  762. .chat-message-files img {
  763. width: 84px;
  764. height: 84px;
  765. object-fit: cover;
  766. }
  767. .chat-scroll-bottom {
  768. position: absolute;
  769. right: 1rem;
  770. bottom: 1rem;
  771. z-index: 2;
  772. border-radius: 999px;
  773. box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.18);
  774. }
  775. .chat-recipient-list {
  776. max-height: 320px;
  777. overflow-y: auto;
  778. border: 1px solid var(--bs-border-color);
  779. border-radius: 0.5rem;
  780. padding: 0.5rem 0.75rem;
  781. }
  782. .chat-recipient-item[hidden] {
  783. display: none !important;
  784. }
  785. .chat-recipient-summary {
  786. min-height: 1.25rem;
  787. }
  788. // Schedule calendar styles (from schedule/index.blade.php)
  789. .schedule-month {
  790. table-layout: fixed;
  791. }
  792. .schedule-day {
  793. height: 110px;
  794. vertical-align: top;
  795. position: relative;
  796. }
  797. .schedule-day-link {
  798. display: inline-block;
  799. font-weight: 600;
  800. text-decoration: none;
  801. color: #0d6efd;
  802. }
  803. .schedule-dots {
  804. margin-top: 6px;
  805. display: flex;
  806. flex-wrap: wrap;
  807. gap: 4px;
  808. }
  809. .schedule-dot {
  810. width: 12px;
  811. height: 12px;
  812. border-radius: 50%;
  813. display: inline-block;
  814. border: 1px solid rgba(0, 0, 0, 0.1);
  815. }
  816. .schedule-outside {
  817. background: #f8f9fa;
  818. color: #9aa0a6;
  819. }
  820. .schedule-today {
  821. outline: 2px solid rgba(13, 110, 253, 0.5);
  822. outline-offset: -2px;
  823. }
  824. .schedule-legend-items {
  825. display: flex;
  826. flex-wrap: wrap;
  827. gap: 10px 16px;
  828. align-items: center;
  829. }
  830. .schedule-legend-item {
  831. display: inline-flex;
  832. align-items: center;
  833. gap: 6px;
  834. font-size: 0.9rem;
  835. }
  836. .schedule-legend-name {
  837. white-space: nowrap;
  838. }
  839. // Table sortable header styles (from reports/index.blade.php)
  840. .sortable-header {
  841. cursor: pointer;
  842. user-select: none;
  843. }
  844. // Notification settings table (from partials/notification-settings-table.blade.php)
  845. .section-header-row {
  846. background-color: #d4edda;
  847. }