@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
}

.calendar-day {
  transition: all 0.2s ease;
}

.calendar-day:hover {
  transform: translateY(-1px);
}

.event-indicator {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  animation: pulse 2s infinite;
}


@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.modal-backdrop {
  backdrop-filter: blur(4px);
}

.dashboard-empty {
  color: #6b7280;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.875rem;
}


.site-header-logo {
  width: 110px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

@media (min-width: 640px) {
  .site-header-logo {
    width: 150px;
  }
}

.app-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 45%, #eef2ff 100%);
  transition: opacity .28s ease, visibility .28s ease;
}

.app-loader.app-loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.app-loader-card {
  width: min(92vw, 420px);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 92, 20, .12);
  box-shadow: 0 28px 70px rgba(15, 23, 42, .15);
  padding: 32px 26px;
  text-align: center;
}

.app-loader-logo {
  width: min(280px, 78vw);
  height: auto;
  margin: 0 auto 22px;
}

.app-loader-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 999px;
  border: 4px solid #fee2e2;
  border-top-color: #ff3b0a;
  animation: app-loader-spin .8s linear infinite;
}

.app-loader-card p {
  color: #4b5563;
  font-weight: 600;
  margin: 0;
}

@keyframes app-loader-spin {
  to { transform: rotate(360deg); }
}

@media (display-mode: standalone) {
  body {
    overscroll-behavior-y: contain;
  }
}

.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 45%, #eef2ff 100%);
}

.auth-card {
  width: min(94vw, 430px);
  border-radius: 28px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 92, 20, .14);
  box-shadow: 0 28px 70px rgba(15, 23, 42, .15);
  padding: 30px 24px;
}

.auth-logo {
  width: min(260px, 76vw);
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.auth-screen.hidden {
  display: none;
}
