/* Hide Scrollbar */
html,
body {
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Offset for fixed header */
body {
  padding-top: 5rem;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* ClinixDaily briefing — center card confirmation */
.clinix-mail-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 20, 30, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.clinix-mail-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.clinix-mail-card {
  width: min(28rem, 100%);
  background: #242E42;
  border: 1px solid rgba(234, 88, 12, 0.35);
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem 1.55rem;
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.65);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.28s ease;
}

.clinix-mail-overlay.is-open .clinix-mail-card {
  transform: none;
}

.clinix-mail-card__mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(234, 88, 12, 0.12);
  border: 1px solid rgba(234, 88, 12, 0.4);
  color: #fb923c;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}

.clinix-mail-card__title {
  font-family: Spectral, serif;
  font-size: 1.45rem;
  color: #f1f5f9;
  line-height: 1.25;
}

.clinix-mail-card__body {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.clinix-mail-card__close {
  margin-top: 1.15rem;
  width: 100%;
  border: 0;
  border-radius: 0.5rem;
  background: #EA580C;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .clinix-mail-overlay,
  .clinix-mail-card {
    transition: none;
  }
}