/* Global in-portal meeting reminders, loaded by every protected app-v3 page. */

.global-meeting-reminders {
  position: fixed;
  top: calc(72px + var(--safe-top, 0px));
  right: 24px;
  z-index: 180;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: clamp(360px, 30vw, 430px);
  max-width: calc(100vw - 48px);
  pointer-events: none;
}

.global-meeting-reminder {
  padding: 15px 16px 14px;
  overflow: hidden;
  border: 1px solid rgba(21, 128, 61, 0.28);
  border-left: 4px solid #288654;
  border-radius: 14px;
  background: #edf8f0;
  color: #154d31;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.16);
  pointer-events: auto;
}

.global-meeting-reminder__heading {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
}

.global-meeting-reminder__signal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #24754b;
}

.global-meeting-reminder__eyebrow,
.global-meeting-reminder__title,
.global-meeting-reminder__time,
.global-meeting-reminders__more {
  margin: 0;
}

.global-meeting-reminder__eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.global-meeting-reminder__dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #397158;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.global-meeting-reminder__dismiss:hover,
.global-meeting-reminder__dismiss:focus-visible {
  background: rgba(21, 128, 61, 0.1);
  color: #123d29;
}

.global-meeting-reminder__title {
  margin-top: 11px;
  overflow: hidden;
  color: #123d29;
  font-size: 1rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-meeting-reminder__time {
  margin-top: 2px;
  color: #397158;
  font-size: 0.82rem;
  font-weight: 700;
}

.global-meeting-reminder__actions {
  display: flex;
  gap: 8px;
  margin-top: 13px;
}

.global-meeting-reminder__join,
.global-meeting-reminder__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.global-meeting-reminder__join {
  border: 1px solid #24754b;
  background: #24754b;
  color: #fff;
}

.global-meeting-reminder__copy {
  border: 1px solid rgba(21, 128, 61, 0.26);
  background: rgba(255, 255, 255, 0.62);
  color: #215f40;
}

.global-meeting-reminder__join:hover,
.global-meeting-reminder__join:focus-visible {
  background: #1c633f;
}

.global-meeting-reminder__copy:hover,
.global-meeting-reminder__copy:focus-visible {
  background: #fff;
}

.global-meeting-reminders__more {
  align-self: flex-end;
  padding: 7px 11px;
  border: 1px solid rgba(21, 128, 61, 0.22);
  border-radius: 999px;
  background: #edf8f0;
  color: #215f40;
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.1);
  font-size: 0.76rem;
  font-weight: 800;
}

@media (max-width: 600px) {
  .global-meeting-reminders {
    top: calc(68px + var(--safe-top, 0px));
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
  }
}
