/* Let's Meet in the Callboard design. Loaded after callsheet.css, callboard.css and meet.css, on
   screen only (see ThemeService). Same pieces as the Crew Schedule call sheet: label tape, folder
   tabs, ruled lines with a red margin line, rubber stamps and a sticky note.
   Names and details stay in a clear face (a typewriter face was too hard to read). */

body.meet-public .navbar.app-nav .brand-logo img { height: 40px; }

/* Kicker: label-maker tape */
.meet-kicker {
  display: inline-block; margin-bottom: 10px; padding: 2px 14px; background: #ECE7D8; color: #1D1D1D;
  font-family: "Permanent Marker", cursive; font-size: 1.05rem; text-transform: uppercase;
  transform: rotate(-2deg); box-shadow: 0 2px 4px rgba(0,0,0,.35);
}

/* Notes: a sticky note */
.meet-notes {
  border-left: 0; padding: .85rem 1rem; margin: .75rem 0 1.25rem; color: #3A2A00; max-width: 34rem;
  background: linear-gradient(168deg, #FFF29A, #F8DD55); box-shadow: 0 7px 9px -3px rgba(0,0,0,.4);
  transform: rotate(-.6deg); font-weight: 500;
}

/* "1. Pick a time" matches the other section heading */
#meet-book legend.h5 {
  font-family: "Archivo Narrow", "Arial Narrow", sans-serif; font-size: 1.3rem; font-weight: 700;
  border-bottom: 2px solid var(--ink); padding-bottom: .35rem; margin-bottom: 0;
}

/* A day: a manila folder tab sitting on its rule */
.meet-day, .meet-day:first-of-type { margin: 1.25rem 0 0; border-bottom: 2px solid #A8996F; padding: 0 4px; }
.meet-day-tab {
  display: inline-block; padding: 5px 18px 3px; border: 1px solid #A8996F; border-bottom: 0; border-radius: 9px 14px 0 0;
  background: linear-gradient(#E9DCB2, #D6C48E); box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  font-family: "Courier Prime", "Courier New", monospace; font-weight: 700; color: #1D1D1D;
}

/* Crew: times as ruled lines on the call sheet */
.meet-times { gap: 0; }
.meet-time {
  border: 0; border-bottom: 1px solid #B8C6D8; border-radius: 0; background: transparent;
  gap: 0; padding: 0; min-height: 52px; align-items: stretch;
}
.meet-time input { align-self: center; margin: 0 .85rem 0 .35rem; }
.meet-time > span {
  flex: 1; display: flex; flex-direction: column; justify-content: center; padding: .45rem .8rem;
  border-left: 2px solid #D98C84;
}
.meet-time:hover { background: #EFE6FB; }
.meet-time:has(input:checked) { background: #DCCBF2; border-color: #B8C6D8; box-shadow: none; }
.meet-time .meet-clock, .meet-slot .meet-clock {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 1.3rem;
  letter-spacing: .02em; text-transform: uppercase; line-height: 1.15;
}
.meet-where { color: var(--muted); }

/* The code box on the booking page */
.meet-code-input {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 1.6rem;
  background: #fff; border: 2px solid var(--ink);
}

/* One person's meeting: a call card with a rubber stamp */
.meet-summary {
  position: relative; border: 3px double var(--ink); border-radius: 0; background: #fff; padding: 1rem 1.1rem;
  box-shadow: 0 6px 10px -4px rgba(0,0,0,.35);
}
.meet-summary > .fw-bold {
  padding-right: 8.5rem; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 1.35rem;
  text-transform: uppercase; line-height: 1.15; margin-bottom: .35rem;
}
.meet-stamp {
  position: absolute; top: .8rem; right: .8rem; display: inline-block; padding: .05rem .6rem;
  border: 3px solid var(--stamp); border-radius: 5px; color: var(--stamp);
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: .16em;
  text-transform: uppercase; transform: rotate(-7deg); opacity: .82;
}
.meet-cancelled { border-color: #8D8797; }
.meet-cancelled .meet-stamp { color: var(--red-stamp); border-color: var(--red-stamp); }
.meet-change > summary.btn-link { color: var(--red-stamp); font-weight: 600; }

/* Managers: each visit is an index card with a strip of label tape for the show */
.meet-visit {
  border: 0; border-radius: 3px; background: #fff; padding: 0 0 .65rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 7px 12px -5px rgba(40,20,5,.55);
}
.meet-visit:hover { background: #F6F0FD; }
.meet-visit > .fw-bold {
  padding: .4rem .9rem; margin-bottom: .45rem; color: #fff; background: linear-gradient(#3B3A40, #1C1B1F);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600 !important; font-size: 1.3rem;
  letter-spacing: .045em; text-transform: uppercase;
}
.meet-visit:hover > .fw-bold { background: linear-gradient(#8157BD, #5B3A8E); }
.meet-visit > .small { padding: 0 .9rem; }
.meet-visit .badge { background: #ECE7D8 !important; color: var(--red-stamp); letter-spacing: .08em; vertical-align: 2px; }

h1 .badge.bg-secondary {
  background: transparent !important; border: 2px solid var(--red-stamp); color: var(--red-stamp);
  border-radius: 4px !important; font-size: .4em; letter-spacing: .14em; text-transform: uppercase;
  vertical-align: middle; transform: rotate(-4deg);
}

/* Code and link: a ticket to hand out */
.meet-share {
  border: 2px dashed #A8996F; border-radius: 4px; background: linear-gradient(#F3E9C9, #E8DAAD);
  box-shadow: 0 7px 10px -5px rgba(40,20,5,.5);
}
.meet-share .text-muted { color: #4F4528 !important; }
.meet-code {
  display: inline-block; margin: .15rem 0 .35rem; padding: 0 .35rem 0 .8rem; background: #1C1B1F; color: #fff; border-radius: 3px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 2.2rem; letter-spacing: .24em;
}

/* Managers' schedule: the call sheet */
.meet-slot { grid-template-columns: 13rem minmax(0, 1fr) auto; border-top: 0; border-bottom: 1px solid #B8C6D8; padding: 0; gap: 0 1rem; align-items: stretch; }
.meet-slot > div { padding: .6rem 0; }
.meet-slot > div:first-child { border-right: 2px solid #D98C84; padding-right: .75rem; }
.meet-slot:hover { background: #F3ECFC; }
.meet-slot-actions { padding-right: .25rem !important; }
.meet-slot-actions summary { color: var(--stamp); font-weight: 600; }
.meet-open-mark {
  display: inline-block; padding: 0 .55rem; border: 2px dashed var(--stamp); border-radius: 4px; color: var(--stamp);
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: .9rem; letter-spacing: .2em;
  text-transform: uppercase; opacity: .75;
}
.meet-slot.past .meet-open-mark { color: #6A6672; border-color: #6A6672; }

@media (max-width: 640px) {
  .meet-slot { grid-template-columns: minmax(0, 1fr); border-bottom: 0; border-top: 3px double var(--ink); padding: .15rem 0 .5rem; }
  .meet-slot > div { padding: .2rem 0; }
  .meet-slot > div:first-child { border-right: 0; padding-right: 0; }
  .meet-slot:hover { background: transparent; }
  .meet-summary > .fw-bold { padding-right: 0; padding-top: 2.4rem; }
  .meet-stamp { left: 1.1rem; right: auto; }
}
