/* Minimal shared styles for the Phygital screen system (Tailwind handles the rest) */

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

#app_root {
  position: relative;
}

/* Screens */
.screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
  will-change: opacity;
}

.screen.is_active {
  opacity: 1;
  pointer-events: auto;
}

/* Soft background fallback */
.bg_soft {
  background: radial-gradient(1200px 900px at 50% 20%, rgba(34, 197, 94, 0.18), rgba(0, 0, 0, 1));
}

/* Fade overlay */
.fade_overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
  background: #000;
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.fade_overlay.is_visible {
  opacity: 1;
}

/* Carousel slide */
.carousel_slide {
  transition: opacity 220ms ease, transform 220ms ease;
}

/* Modal */
.modal_backdrop {
  position: absolute;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.modal_backdrop.is_open {
  opacity: 1;
  pointer-events: auto;
}

.modal_panel {
  width: 100%;
  max-width: 820px;
  max-height: 86vh;
  overflow: auto;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px;
  backdrop-filter: blur(10px);
}

/* Notification styling */
.ios_card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.ios_badge {
  padding: 6px 10px;
  border-radius: 9999px;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: rgba(163, 230, 53, 0.85);
  color: rgba(6, 95, 70, 0.95);
}

.ios_badge.is_past {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
}

/* Utility */
.hidden {
  display: none !important;
}
