/* Styles of the day-pages area of the backoffice: Boats, Courses, Daily. */

/* Boats: the Available employees panel (quotation: drag onto Captain / Dive Master(s)) at the right of the cards. */
.boats-page { display: flex; align-items: flex-start; gap: 4px; }
.boats-days { flex: 1 1 auto; min-width: 0; }
.boats-staff-panel { flex: 0 0 360px; position: sticky; top: 80px; max-height: calc(100vh - 90px); overflow: auto; margin: 4px 4px 0 0; }
.boats-staff-panel .shopTitle { box-sizing: border-box; }
.boats-staff-panel .shopTitle .daily-icon { margin-left: auto; }
.boats-staff-toggle { margin-left: 4px; }
.boats-staff-toggle.is-open { background: #90EE90; }
.boats-staff.is-target { cursor: copy; }
.boats-staff:focus { outline: 2px solid #4040FF; }
.boats-staff.btStaffDropOver { background: #90EE90 !important; outline: 2px dashed #228B22; }

/* Many boats: the rows scroll horizontally with a visible scrollbar (old boats.css). */
.trip-row { scrollbar-width: auto; scrollbar-color: #5C78CC #E0E0FF; }
.trip-row::-webkit-scrollbar { height: 14px; }
.trip-row::-webkit-scrollbar-thumb { background: #5C78CC; border-radius: 7px; }
.trip-row::-webkit-scrollbar-track { background: #E0E0FF; }

/* Long details and remarks stay on one line; the yellow tooltip shows the full text. */
.clientDetail, .clientRemark { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.course-clients td[data-tip] { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Daily: the shore dive schedule keeps 75px for its lines under the heading (old lineSpace), with scroll;
   highlighted cruise #8DF9AC (old CRUISE SCHEDULE). */
.daily-shore { height: 101px; overflow: auto; }
.daily-cruise-high td { background: #8DF9AC; }
