/* ==========================================================================
   GenFunders - Meetings Dashboard Stylesheet
   Harmonized with the Offers Design System & Typography Scale
   ========================================================================== */

:root {
  --meet-font: var(--gf-font);
  --meet-primary: #2966F4;
  --meet-primary-hover: #2054CC;
  --meet-primary-light: #EFF4FF;
  --meet-dark: #0A0A0A;
  --meet-text: #101828;
  --meet-text-muted: #667085;
  --meet-border: #eaedf1;
  --meet-border-subtle: #EEF1F5;
  --meet-bg-card: #FFFFFF;
  --meet-bg-pill: #F2F4F7;
  --meet-bg-pill-hover: #eaedf1;
  --meet-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --meet-shadow-elevated: 0 12px 32px rgba(16, 24, 40, 0.12), 0 2px 6px rgba(16, 24, 40, 0.04);
  --meet-radius-card: 16px;
  --meet-radius-pill: 24px;
}

/* Base Container */
.meetings-page {
  position: relative;
  height: 100%;
  min-height: 720px;
  padding: 24px;
  background: #FFFFFF;
  color: var(--meet-text);
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.meetings-page button,
.meetings-page input,
.meetings-page select,
.meetings-page textarea {
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.meetings-page svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─────────────────────────────────────────────────────────────
   TOOLBAR (Link Field & Action Buttons)
   ───────────────────────────────────────────────────────────── */
.meetings-toolbar {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto auto auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.meetings-link-field {
  height: 44px;
  border: 1px solid var(--meet-border);
  border-radius: var(--meet-radius-pill);
  padding-left: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  overflow: hidden;
  transition: border-color 160ms cubic-bezier(0.2, 0, 0, 1), box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
  box-sizing: border-box;
}

.meetings-link-field:focus-within {
  border-color: var(--meet-primary);
  box-shadow: 0 0 0 3px rgba(41, 102, 244, 0.12);
}

.meetings-link-field svg {
  color: var(--meet-text-muted);
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.meetings-link-field input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--meet-text);
  font-size: var(--gf-text-body);
  background: transparent;
}

.meetings-link-field input::placeholder {
  color: var(--meet-text-muted);
}

.meetings-link-field button {
  height: 34px;
  margin-right: 4px;
  padding: 0 18px;
  border: 0;
  border-radius: 17px;
  background: var(--meet-bg-pill);
  color: var(--meet-text-muted);
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1), color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meetings-link-field button:not(:disabled) {
  background: var(--meet-primary);
  color: #FFFFFF;
  cursor: pointer;
}

.meetings-link-field button:not(:disabled):hover {
  background: var(--meet-primary-hover);
}

.meetings-link-field button:disabled {
  cursor: default;
  opacity: 0.6;
}

/* Action Buttons */
.meetings-action {
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--meet-border-subtle);
  border-radius: var(--meet-radius-pill);
  background: var(--meet-bg-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #344054;
  white-space: nowrap;
  cursor: pointer;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  box-sizing: border-box;
}

.meetings-action:hover {
  background: var(--meet-bg-pill-hover);
  color: var(--meet-dark);
}

.meetings-action svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.meetings-action-primary {
  background: var(--meet-primary);
  border-color: var(--meet-primary);
  color: #FFFFFF;
}

.meetings-action-primary:hover {
  background: var(--meet-primary-hover);
  border-color: var(--meet-primary-hover);
  color: #FFFFFF;
}

.meetings-action-primary svg {
  stroke: #FFFFFF;
}

/* New Meeting Popover Menu */
.meetings-new-wrap {
  position: relative;
  display: inline-block;
}

.meetings-new-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: #FFFFFF;
  border: 1px solid var(--meet-border);
  border-radius: 16px;
  box-shadow: var(--meet-shadow-elevated);
  padding: 8px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-sizing: border-box;
}

.meetings-new-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--meet-text);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  line-height: var(--gf-leading-body);
  white-space: nowrap;
  text-align: left;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1), color 160ms cubic-bezier(0.2, 0, 0, 1);
  box-sizing: border-box;
}

.meetings-new-option:hover {
  background: var(--meet-primary-light);
  color: var(--meet-primary);
}

.meetings-new-option svg.meetings-new-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Toolbar Search Dropdown */
.meetings-search {
  position: relative;
}

.meetings-search-input-wrap {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 90;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--meet-border);
  border-radius: var(--meet-radius-pill);
  box-shadow: var(--meet-shadow-elevated);
  padding: 0 16px;
  width: 320px;
  height: 44px;
  box-sizing: border-box;
}

.meetings-search-input-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: var(--meet-text-muted);
  margin-right: 8px;
}

.meetings-search-input-wrap input {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: var(--gf-text-body) !important;
  color: var(--meet-text) !important;
}

.meetings-search-input-wrap input::placeholder {
  color: var(--meet-text-muted);
}

.meetings-search-clear {
  border: 0;
  background: var(--meet-bg-pill);
  color: var(--meet-text-muted);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: var(--gf-text-body-strong);
  cursor: pointer;
  flex: 0 0 20px;
  margin-left: 6px;
  line-height: 1;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1), color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meetings-search-clear:hover {
  background: var(--meet-bg-pill-hover);
  color: var(--meet-dark);
}

/* ─────────────────────────────────────────────────────────────
   SECTION HEADERS & TITLES (Consistent with Offers 22-24px / 600)
   ───────────────────────────────────────────────────────────── */
.meetings-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
}

.meetings-section-title {
  margin: 0 !important;
  font-size: var(--gf-text-card) !important;
  line-height: var(--gf-leading-card) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: var(--meet-dark) !important;
}

.meetings-search-count {
  font-size: var(--gf-text-body-strong);
  color: var(--meet-text-muted);
  font-weight: var(--gf-weight-medium);
  background: var(--meet-bg-pill);
  padding: 3px 12px;
  border-radius: 12px;
}

.meetings-list-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 18px;
  border-bottom: 1px solid #eaecf0;
}

.meetings-list-tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--meet-text-muted);
  cursor: pointer;
  font: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body);
  padding: 10px 14px 11px;
  margin-bottom: -1px;
}

.meetings-list-tab:hover,
.meetings-list-tab.is-active {
  color: var(--meet-primary);
}

.meetings-list-tab.is-active {
  border-bottom-color: var(--meet-primary);
}

/* ─────────────────────────────────────────────────────────────
   UPCOMING MEETINGS CARDS (Aligned with Offer Cards)
   ───────────────────────────────────────────────────────────── */
.meetings-cards {
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  padding: 12px 4px 20px;
  margin: -12px -4px 0;
  scrollbar-width: thin;
  scrollbar-color: #D6DBE4 transparent;
}

.meetings-cards::-webkit-scrollbar {
  height: 6px;
}

.meetings-cards::-webkit-scrollbar-thumb {
  background: #D6DBE4;
  border-radius: 999px;
}

.meetings-load-more {
  display: flex;
  justify-content: center;
  margin: 16px 0 24px;
}

.meeting-pagination-spinner {
  align-self: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0 12px;
  border: 3px solid #d6e2ff;
  border-top-color: var(--meet-primary);
  border-radius: 50%;
  animation: meeting-pagination-spin 700ms linear infinite;
}

@keyframes meeting-pagination-spin {
  to { transform: rotate(360deg); }
}

.meeting-card {
  flex: 0 0 316px;
}

.meeting-menu-host {
  position: absolute;
  z-index: 15;
  top: 12px;
  right: 12px;
}

.meeting-card-inner {
  min-height: 220px;
  position: relative;
  background: var(--meet-bg-card);
  border: 1px solid var(--meet-border);
  border-radius: var(--meet-radius-card);
  box-shadow: var(--meet-shadow);
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1), box-shadow 160ms cubic-bezier(0.2, 0, 0, 1), border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-card.is-live .meeting-card-inner {
  border: 2px solid #12B76A;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.12), var(--meet-shadow);
}

.meeting-card.is-live .meeting-card-inner:hover {
  border-color: #12B76A;
}

.meeting-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ECFDF3;
  color: #027A48;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-bold);
  line-height: 1.2;
}

.meeting-live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #12B76A;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.16);
}

.meeting-card-inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #D0D5DD;
}

.meeting-card-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--meet-primary);
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body-strong);
}

.meeting-card-time svg.meeting-clock {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.meeting-more {
  position: absolute;
  right: 16px;
  top: 16px;
  border: 0;
  background: none;
  font-weight: var(--gf-weight-bold);
  letter-spacing: 1px;
  color: var(--meet-text-muted);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1), color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-more:hover {
  background: var(--meet-bg-pill);
  color: var(--meet-dark);
}

.meeting-card h3 {
  flex: 0 0 auto;
  min-height: 2.5em;
  margin: 10px 0 0;
  font-size: var(--gf-text-card) !important;
  line-height: 1.25 !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: var(--meet-dark);
  display: block;
  overflow: visible;
  overflow-wrap: anywhere;
}

.meeting-participants {
  flex: 0 0 auto;
  margin: 10px 0 0;
  color: var(--meet-text-muted);
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
}

.meeting-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  margin-top: 0;
  padding-top: 8px;
}

.meeting-avatars {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}

.meeting-avatar-frame {
  position: relative;
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-right: -8px;
  overflow: visible;
}

.meeting-avatar-frame:last-child {
  margin-right: 0;
}

.meeting-avatars img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 24px;
  height: 24px;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.meeting-avatar-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 135%;
  height: 135%;
  overflow: visible;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 7%));
}

.meeting-avatars > span {
  box-sizing: border-box;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  background: var(--meet-primary);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
}

.meeting-join {
  height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 19px;
  background: var(--meet-primary);
  color: #FFFFFF;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-join:hover {
  background: var(--meet-primary-hover);
}

.meeting-join:disabled {
  cursor: wait;
  opacity: 0.65;
}

.meeting-share {
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--meet-border-subtle);
  border-radius: 19px;
  background: var(--meet-bg-pill);
  color: #344054;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1), color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-share:hover {
  background: var(--meet-bg-pill-hover);
  color: var(--meet-dark);
}

.meeting-share svg.meeting-share-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

/* Card Context Menu */
.meeting-menu {
  position: absolute;
  z-index: 20;
  right: -2px;
  top: 42px;
  width: 200px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid var(--meet-border);
  border-radius: 14px;
  box-shadow: var(--meet-shadow-elevated);
}

.meeting-menu button {
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  color: #344054;
  text-align: left;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-menu button:hover {
  background: var(--meet-bg-pill);
  color: var(--meet-dark);
}

.meeting-menu .danger {
  color: #EF4444;
}

.meeting-menu .danger:hover {
  background: #FEE2E2;
  color: #DC2626;
}

/* Empty Search State */
.meetings-empty-search {
  width: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px;
  box-sizing: border-box;
}

.meetings-empty-search p {
  max-width: 440px;
  margin: 8px 0 0;
  color: var(--meet-text-muted);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.meetings-empty-search-btn {
  margin-top: 8px;
  padding: 6px 16px;
  border-radius: var(--meet-radius-pill);
  border: 1px solid var(--meet-border);
  background: #FFFFFF;
  color: var(--meet-text);
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meetings-empty-search-btn:hover {
  background: var(--meet-bg-pill);
}

/* ─────────────────────────────────────────────────────────────
   LOWER SECTION: STATS + DAILY ACTIVITY
   ───────────────────────────────────────────────────────────── */
.meetings-lower {
  display: grid;
  grid-template-columns: 316px minmax(700px, 1fr);
  gap: 24px;
  margin-top: 8px;
}

/* Stat Cards */
.meeting-stats .meetings-section-title {
  margin-bottom: 16px !important;
}

.meeting-stat-card {
  height: 180px;
  margin-bottom: 16px;
  background: var(--meet-bg-card);
  border: 1px solid var(--meet-border);
  border-radius: var(--meet-radius-card);
  box-shadow: var(--meet-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1), box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.meeting-stat-card strong {
  font-size: var(--gf-text-section);
  line-height: var(--gf-leading-section);
  font-weight: var(--gf-weight-bold);
  color: var(--meet-dark);
}

.meeting-stat-card > span:last-child {
  color: var(--meet-text-muted);
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
}

.meeting-stat-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.meeting-stat-icon.blue {
  background: #EFF4FF;
  color: var(--meet-primary);
}

.meeting-stat-icon.amber {
  background: #FEF0C7;
  color: #F79009;
}

.meeting-stat-icon svg {
  width: 28px;
  height: 28px;
}

/* Daily Activity Section */
.meeting-activity {
  min-width: 0;
}

.meeting-activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.meeting-activity-head > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meeting-activity-head > div:first-child > button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--meet-border);
  border-radius: 50%;
  background: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--meet-primary);
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1), border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-activity-head > div:first-child > button:hover {
  background: var(--meet-primary-light);
  border-color: #BFDBFE;
}

.meeting-activity-head > div:first-child > button svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.meeting-activity-head strong {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-dark);
}

.meeting-change-day-wrap {
  position: relative;
}

.meeting-change-day {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--meet-border);
  border-radius: var(--meet-radius-pill);
  padding: 8px 16px;
  background: #FFFFFF;
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  white-space: nowrap;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-change-day:hover {
  border-color: var(--meet-primary);
  color: var(--meet-primary);
  background: var(--meet-primary-light);
}

.meeting-change-day-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.meeting-change-day-chevron {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-change-day-chevron.is-open {
  transform: rotate(180deg);
}

/* Activity Calendar Dropdown */
.meeting-custom-calendar {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid var(--meet-border);
  border-radius: 16px;
  box-shadow: var(--meet-shadow-elevated);
  box-sizing: border-box;
}

.ef-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ef-cal-nav-btn {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--meet-bg-pill);
  color: var(--meet-text);
  font-size: var(--gf-text-body);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.ef-cal-nav-btn:hover {
  background: var(--meet-bg-pill-hover);
}

.meeting-cal-period {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meeting-cal-period select {
  height: 26px;
  padding: 0 8px;
  border: 1px solid var(--meet-border);
  border-radius: var(--meet-radius-pill);
  background: #F8FAFC;
  color: var(--meet-dark);
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  outline: none;
  cursor: pointer;
}

.ef-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
  text-align: center;
}

.ef-cal-weekdays span {
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-text-muted);
  text-transform: uppercase;
}

.ef-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.ef-cal-day {
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--meet-text);
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-medium);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.ef-cal-day:hover {
  background: var(--meet-bg-pill);
}

.ef-cal-day.is-other-month {
  color: #CBD5E1;
}

.ef-cal-day.is-staged {
  background: var(--meet-primary);
  color: #FFFFFF;
  font-weight: var(--gf-weight-semibold);
}

.ef-cal-footer {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--meet-border-subtle);
  display: flex;
  justify-content: flex-end;
}

.ef-cal-apply {
  padding: 5px 14px;
  border: 0;
  border-radius: var(--meet-radius-pill);
  background: var(--meet-primary);
  color: #FFFFFF;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
}

.ef-cal-apply:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ─────────────────────────────────────────────────────────────
   24-HOUR ACTIVITY TIMELINE
   ───────────────────────────────────────────────────────────── */
.meeting-timeline-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #D6DBE4 transparent;
  border: 1px solid var(--meet-border);
  border-radius: var(--meet-radius-card);
  background: #FFFFFF;
}

.meeting-timeline-scroll::-webkit-scrollbar {
  height: 6px;
}

.meeting-timeline-scroll::-webkit-scrollbar-thumb {
  background: #D6DBE4;
  border-radius: 999px;
}

.meeting-timeline-inner {
  width: 2400px;
}

.meeting-hours {
  display: grid;
  grid-template-columns: repeat(24, 100px);
  width: 2400px;
  height: 44px;
  align-items: center;
  border-bottom: 1px solid var(--meet-border);
  background: #F9FAFB;
}

.meeting-hours button {
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--meet-text-muted);
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  text-align: center;
  cursor: pointer;
  transition: color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-hours button:hover {
  color: var(--meet-primary);
}

.meeting-hours button.is-selected {
  color: var(--meet-primary);
  font-weight: var(--gf-weight-semibold);
}

.meeting-timeline {
  position: relative;
  width: 2400px;
  height: 360px;
  background-image:
    repeating-linear-gradient(to right, transparent 0, transparent 99px, #F2F4F7 99px, #F2F4F7 100px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 71px, #EEF1F5 71px, #EEF1F5 72px);
}

.timeline-event {
  position: absolute;
  height: 60px;
  border: 0;
  border-radius: var(--meet-radius-pill);
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  color: #162033;
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1), box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.timeline-event:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.timeline-event span:last-child {
  min-width: 0;
}

.timeline-event b,
.timeline-event small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.timeline-event b {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-dark);
}

.timeline-event small {
  margin-top: 3px;
  color: var(--meet-text-muted);
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
}

.timeline-event.cyan {
  top: 8px;
  left: 1000px;
  width: 300px;
  background: #E0F2FE;
}

.timeline-event.coral {
  top: 80px;
  left: 300px;
  width: 300px;
  background: #FEE2E2;
}

.timeline-event.lilac {
  top: 152px;
  left: 600px;
  width: 500px;
  background: #F3E8FF;
}

.timeline-event.slate {
  top: 224px;
  left: 1200px;
  width: 300px;
  background: #EFF4FF;
}

.timeline-event.mint {
  top: 80px;
  left: 1800px;
  width: 400px;
  background: #DCFCE7;
}

/* ─────────────────────────────────────────────────────────────
   SCHEDULE MEETING MODAL (Consistent with Offers Modals)
   ───────────────────────────────────────────────────────────── */
.meeting-create-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.meeting-create-modal {
  width: min(1020px, calc(100vw - 48px));
  height: min(680px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
  background: #FFFFFF;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--meet-shadow-elevated);
  border: 1px solid var(--meet-border-subtle);
}

.meeting-create-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--meet-border-subtle);
  flex: 0 0 auto;
}

.meeting-create-title {
  margin: 0;
  font-size: var(--gf-text-card) !important;
  font-weight: var(--gf-weight-semibold) !important;
  line-height: var(--gf-leading-card) !important;
  color: var(--meet-dark);
}

.meeting-create-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--meet-bg-pill);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #344054;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-create-close:hover {
  background: var(--meet-bg-pill-hover);
}

.meeting-create-body {
  display: grid;
  grid-template-columns: 420px 1fr;
  flex: 1 1 auto;
  min-height: 480px;
  height: 100%;
  overflow: hidden;
}

.meeting-create-form {
  border-right: 1px solid var(--meet-border-subtle);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.meeting-create-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  scrollbar-width: thin;
  scrollbar-color: #D6DBE4 transparent;
}

.meeting-create-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meeting-create-section-title {
  margin: 0;
  font-size: var(--gf-text-card) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: var(--meet-dark);
  line-height: var(--gf-leading-card) !important;
}

.meeting-create-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meeting-create-label {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #344054;
  line-height: var(--gf-leading-body);
}

.meeting-create-input {
  height: 44px;
  padding: 0 16px;
  border: 1px solid #D0D5DD;
  border-radius: var(--meet-radius-pill);
  background: #FFFFFF;
  color: var(--meet-text);
  font-size: var(--gf-text-body);
  outline: none;
  transition: border-color 160ms cubic-bezier(0.2, 0, 0, 1), box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
  box-sizing: border-box;
}

.meeting-create-input:focus {
  border-color: var(--meet-primary);
  box-shadow: 0 0 0 3px rgba(41, 102, 244, 0.12);
}

.meeting-create-select-row {
  position: relative;
}

.meeting-create-select-btn {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #D0D5DD;
  border-radius: var(--meet-radius-pill);
  background: #FFFFFF;
  color: var(--meet-text);
  font-size: var(--gf-text-body);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 160ms cubic-bezier(0.2, 0, 0, 1);
  box-sizing: border-box;
}

.meeting-create-select-btn:hover {
  border-color: #98A2B3;
}

.meeting-create-select-btn > span {
  flex: 1;
  text-align: left;
}

.meeting-create-placeholder {
  color: var(--meet-text-muted);
}

.meeting-create-dropdown {
  position: fixed;
  z-index: 10000;
  width: 100%;
  max-height: 220px;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid var(--meet-border);
  border-radius: 14px;
  box-shadow: var(--meet-shadow-elevated);
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: #D6DBE4 transparent;
}

.meeting-create-dropdown button {
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #344054;
  text-align: left;
  font-size: var(--gf-text-body);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-create-dropdown button:hover {
  background: var(--meet-bg-pill);
}

.meeting-create-dropdown button.is-selected {
  background: var(--meet-primary-light);
  color: var(--meet-primary);
  font-weight: var(--gf-weight-medium);
}

.meeting-create-invite-btn {
  height: 44px;
  padding: 0 20px;
  border: 1.5px dashed var(--meet-primary);
  border-radius: var(--meet-radius-pill);
  background: transparent;
  color: var(--meet-primary);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-create-invite-btn:hover {
  background: var(--meet-primary-light);
}

.meeting-create-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meeting-create-link-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #D0D5DD;
  border-radius: var(--meet-radius-pill);
  background: #F8FAFC;
  color: var(--meet-text-muted);
  font-size: var(--gf-text-body-strong);
  outline: none;
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.meeting-create-link-input.has-link {
  background: #FFFFFF;
  color: #101828;
  cursor: text;
}

.meeting-create-link-copy {
  width: 44px;
  height: 44px;
  border: 1px solid #D0D5DD;
  border-radius: 50%;
  background: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #344054;
  flex: 0 0 44px;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-create-link-copy:hover {
  background: var(--meet-primary-light);
  color: var(--meet-primary);
  border-color: #BFDBFE;
}

.meeting-create-link-copy:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.meeting-create-link-copy.is-copied {
  border-color: #abefc6;
  background: #ecfdf3;
  color: #027a48;
}

.meeting-create-calendar {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 0;
  overflow: hidden;
  min-width: 0;
  height: 100%;
}

.meeting-create-timeline-wrap {
  flex: 1 1 auto;
  overflow: hidden;
  min-height: 0;
}

.meeting-create-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-top: 1px solid var(--meet-border-subtle);
  flex: 0 0 auto;
}

.meeting-create-footer-delete {
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--meet-border);
  border-radius: var(--meet-radius-pill);
  background: transparent;
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-create-footer-delete:hover {
  background: #F2F4F7;
  border-color: #D0D5DD;
}

.meeting-create-footer-save {
  height: 44px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--meet-radius-pill);
  background: var(--meet-primary);
  color: #FFFFFF;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-create-footer-save:hover {
  background: var(--meet-primary-hover);
}

.meeting-create-footer-save:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ─────────────────────────────────────────────────────────────
   SETTINGS MODAL
   ───────────────────────────────────────────────────────────── */
.meeting-settings-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.meeting-settings-modal {
  width: min(900px, calc(100vw - 48px));
  height: min(660px, calc(100vh - 48px));
  padding: 24px 28px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: var(--meet-shadow-elevated);
  border: 1px solid var(--meet-border-subtle);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.meeting-settings-modal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--meet-border-subtle);
}

.meeting-settings-modal h2 {
  margin: 0;
  font-size: var(--gf-text-card) !important;
  line-height: var(--gf-leading-card) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: var(--meet-dark);
}

.meeting-settings-modal > header button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--meet-bg-pill);
  font-size: var(--gf-text-card);
  cursor: pointer;
  color: #344054;
  display: grid;
  place-items: center;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-settings-modal > header button:hover {
  background: var(--meet-bg-pill-hover);
}

.meeting-settings-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  margin-top: 18px;
  flex: 1;
  overflow: hidden;
}

.meeting-settings-layout nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meeting-settings-layout nav button {
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--meet-radius-pill);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-settings-layout nav button:hover {
  background: var(--meet-bg-pill);
  color: var(--meet-dark);
}

.meeting-settings-layout nav button.active {
  background: var(--meet-primary-light);
  color: var(--meet-primary);
  font-weight: var(--gf-weight-semibold);
}

.meeting-settings-tab-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-block;
  color: inherit;
}

.meeting-settings-tab-icon--video,
.meeting-settings-tab-icon--audio,
.meeting-settings-tab-icon--background,
.meeting-settings-tab-icon--general {
  fill: none;
  stroke: currentColor;
}

.meeting-settings-tab-icon--summary,
.meeting-settings-tab-icon--captions {
  fill: currentColor;
  stroke: none;
}

.meeting-settings-panel {
  min-width: 0;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #D6DBE4 transparent;
}

.meeting-setting-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.meeting-setting-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #344054;
}

/* Background Settings Tab Styles */
.meeting-bg-tab {
  gap: 16px;
}

.meeting-bg-preview-stage {
  position: relative;
  width: 100%;
  height: 255px;
  border-radius: 20px;
  overflow: hidden;
  background: #1e232d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.08);
}

.meeting-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: background-image 160ms cubic-bezier(0.2, 0, 0, 1), filter 160ms cubic-bezier(0.2, 0, 0, 1), transform 160ms cubic-bezier(0.2, 0, 0, 1);
  z-index: 1;
}

.meeting-bg-person-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meeting-bg-person-img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.meeting-bg-selector-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.meeting-bg-section-title {
  margin: 0;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #101828;
}

.meeting-bg-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.meeting-bg-card-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.meeting-bg-card {
  position: relative;
  width: 100%;
  height: 68px;
  border-radius: 12px;
  border: 2px solid transparent;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #f2f4f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: border-color 160ms cubic-bezier(0.2, 0, 0, 1), transform 160ms cubic-bezier(0.2, 0, 0, 1), box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
  box-sizing: border-box;
  text-align: center;
}

.meeting-bg-card:hover {
  border-color: #b2ccff;
  transform: translateY(-1px);
}

.meeting-bg-card.active {
  border-color: #2966f4 !important;
  box-shadow: 0 0 0 1px #2966f4;
}

.meeting-bg-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.meeting-bg-card-label {
  position: absolute;
  bottom: 5px;
  left: 6px;
  z-index: 2;
  color: #ffffff;
  font-family: inherit;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body-strong);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.meeting-bg-card--preset::after,
.meeting-bg-card--custom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.meeting-bg-none-icon,
.meeting-bg-add-icon {
  width: 20px;
  height: 20px;
  color: #344054;
  display: grid;
  place-items: center;
}

.meeting-bg-none-icon svg,
.meeting-bg-add-icon svg {
  width: 100%;
  height: 100%;
}

.meeting-bg-none-label,
.meeting-bg-add-label {
  font-family: inherit;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: #344054;
  line-height: var(--gf-leading-body-strong);
}

.meeting-bg-custom-actions {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 10;
  display: flex;
  gap: 4px;
}

.meeting-bg-action-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: none;
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1), transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-bg-action-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.meeting-bg-action-btn svg {
  width: 12px;
  height: 12px;
}

.meeting-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 0;
}

.meeting-toggle-row span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meeting-toggle-row b {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--meet-dark);
}

.meeting-toggle-row small {
  color: var(--meet-text-muted);
  font-size: var(--gf-text-body-strong);
}

.meeting-toggle-row button {
  width: 38px;
  height: 22px;
  padding: 2px;
  border: 0;
  border-radius: 12px;
  background: #eaedf1;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-toggle-row button i {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.2);
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-toggle-row button.on {
  background: var(--meet-primary);
}

.meeting-toggle-row button.on i {
  transform: translateX(16px);
}

/* Custom Select in Settings */
.meeting-custom-select {
  position: relative;
  width: 100%;
}

.meeting-custom-select summary,
.meeting-custom-select-trigger {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #D0D5DD;
  border-radius: var(--meet-radius-pill);
  background: #FFFFFF;
  color: #344054;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  cursor: pointer;
  list-style: none;
  font-size: var(--gf-text-body);
}

.meeting-custom-select summary::-webkit-details-marker {
  display: none;
}

.meeting-custom-select summary svg,
.meeting-custom-select-trigger svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-custom-select[open] summary svg,
.meeting-custom-select-trigger svg.is-open {
  transform: rotate(180deg);
}

.meeting-custom-select-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  padding: 6px;
  border: 1px solid var(--meet-border);
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: var(--meet-shadow-elevated);
}

.meeting-custom-select-menu button {
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #344054;
  text-align: left;
  cursor: pointer;
  font-size: var(--gf-text-body);
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meeting-custom-select-menu button:hover,
.meeting-custom-select-menu button[aria-selected="true"] {
  background: var(--meet-primary-light);
  color: var(--meet-primary);
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE QUERIES
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .meetings-toolbar {
    grid-template-columns: minmax(280px, 1fr) auto auto;
  }
  .meetings-toolbar > .meetings-action:nth-of-type(3),
  .meetings-search {
    display: none;
  }
  .meetings-lower {
    grid-template-columns: 260px minmax(600px, 1fr);
  }
  .meeting-card {
    flex-basis: 290px;
  }
}

@media (max-width: 900px) {
  .meetings-page {
    padding: 16px;
    overflow: auto;
  }
  .meetings-toolbar {
    display: flex;
    flex-wrap: wrap;
  }
  .meetings-link-field {
    flex: 1 0 100%;
  }
  .meetings-action {
    padding: 0 16px;
  }
  .meetings-cards {
    margin-right: -16px;
  }
  .meetings-lower {
    display: block;
  }
  .meeting-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }
  .meeting-stats h2 {
    grid-column: 1 / -1;
  }
  .meeting-stat-card {
    height: 150px;
  }
  .meeting-activity {
    overflow-x: auto;
  }
  .meeting-activity-head,
  .meeting-hours,
  .meeting-timeline {
    min-width: 760px;
  }
  .meeting-settings-modal {
    padding: 20px;
  }
  .meeting-settings-layout {
    grid-template-columns: 1fr;
  }
  .meeting-settings-layout nav {
    flex-direction: row;
    overflow-x: auto;
  }
  .meeting-settings-layout nav button {
    flex: 0 0 auto;
    padding: 0 16px;
  }
}

@media (max-width: 840px) {
  .meeting-create-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .meeting-create-calendar {
    display: none;
  }
  .meeting-create-modal {
    width: calc(100vw - 32px);
    height: min(620px, calc(100vh - 32px));
    max-height: calc(100vh - 32px);
  }
}

/* ── Real-data dashboard additions (status/owner badges, summary strip, loading/error) ── */
.meetings-summary-strip {
  display: flex;
  gap: 16px;
  margin: 4px 0 16px;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-text-muted);
}

.meetings-loading,
.meetings-error {
  font-size: var(--gf-text-body-strong);
  color: var(--meet-text-muted);
}

.meetings-loading.gf-card-loading {
  box-sizing: border-box;
  width: 100%;
  min-height: 252px;
  margin: 0 0 12px;
  padding: 48px 0 0;
}

@media (max-width: 768px) {
  .meetings-loading.gf-card-loading {
    min-height: 232px;
    margin-bottom: 8px;
    padding-top: 42px;
  }
}

.meetings-error {
  margin: 8px 0 16px;
  color: #D92D20;
}

.meeting-create-success {
  margin: 0 24px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ECFDF3;
  color: #027A48;
  font-size: var(--gf-text-caption);
}

.meeting-status-row {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
}

.meeting-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: var(--meet-bg-pill);
  color: var(--meet-text-muted);
}

.meeting-status-badge.is-live {
  background: #FEF3F2;
  color: #D92D20;
}

.meeting-status-badge.is-scheduled {
  background: var(--meet-primary-light);
  color: var(--meet-primary);
}

.meeting-status-badge.is-upcoming {
  background: var(--meet-primary-light);
  color: var(--meet-primary);
}

.meeting-status-badge.is-ended {
  background: var(--meet-bg-pill);
  color: var(--meet-text-muted);
}

.meeting-status-badge.is-past {
  background: var(--meet-bg-pill);
  color: var(--meet-text-muted);
}

.meetings-empty-search img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  flex: 0 0 104px;
}

.meeting-owner-type {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-text-muted);
}

.meeting-owner-mode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.meeting-owner-mode-tab {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--meet-border);
  border-radius: 10px;
  background: var(--meet-bg-card);
  color: var(--meet-text);
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
}

.meeting-owner-mode-tab.is-active {
  border-color: var(--meet-primary);
  background: var(--meet-primary-light);
  color: var(--meet-primary);
}

.meeting-contact-picker {
  margin-top: 8px;
  border: 1px solid var(--meet-border);
  border-radius: 10px;
  max-height: 220px;
  overflow-y: auto;
}

.meeting-contact-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--meet-border-subtle);
  cursor: pointer;
  font-size: var(--gf-text-body-strong);
}

.meeting-contact-option:last-child {
  border-bottom: none;
}

.meeting-contact-option img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--meet-bg-pill);
}

.meeting-contact-option.is-selected {
  background: var(--meet-primary-light);
}

.meeting-contact-empty {
  padding: 12px;
  font-size: var(--gf-text-body-strong);
  color: var(--meet-text-muted);
}
