/* Activity Planner - Base */

/* Activity Planner - Main Stylesheet */

:root {
  color-scheme: light;
  --navy: #032f57;
  --navy-dark: #021f39;
  --copper: #cf7a25;
  --copper-soft: #e3a35d;
  --blue: #275f90;
  --sky-soft: #eef5fb;
  --sky-border: rgba(57, 119, 187, 0.18);
  --mint-soft: #edf7f1;
  --mint-border: rgba(54, 124, 90, 0.18);
  --rose-soft: #fff3f2;
  --rose-border: rgba(190, 83, 83, 0.18);
  --danger: #b53030;
  --ink: #112133;
  --text: var(--ink);
  --muted: #5b6b79;
  --line: rgba(3, 47, 87, 0.12);
  --line-strong: rgba(3, 47, 87, 0.2);
  --surface: #ffffff;
  --surface-alt: #f5f7fa;
  --surface-subtle: #f9fafc;
  --surface-muted: #eef2f6;
  --surface-warm: linear-gradient(135deg, rgba(207, 122, 37, 0.08), rgba(3, 47, 87, 0.04));
  --shadow-sm: 0 4px 12px rgba(8, 31, 59, 0.05);
  --shadow: 0 10px 24px rgba(8, 31, 59, 0.08);
  --modal-overlay: rgba(8, 31, 59, 0.42);
  --modal-border: 1px solid rgba(3, 47, 87, 0.08);
  --modal-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 248, 251, 0.98));
  --modal-shadow: 0 26px 70px rgba(8, 31, 59, 0.22);
  --glass-bg: rgba(247, 250, 254, 0.38);
  --glass-bg-strong: rgba(255, 255, 255, 0.86);
  --glass-line: rgba(3, 47, 87, 0.12);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --container: 1840px;
  --container-narrow: 680px;
  --header-offset: 112px;
  --header-offset-mobile: 88px;
  --font-sans: Calibri, Carlito, "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  font-size: 110%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 34%, #f4f7fa 100%);
  line-height: 1.6;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

input,
textarea,
button {
  font: inherit;
}

select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 0;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--muted);
}


/* Links */
.link {
  color: var(--copper);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.link:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Focus States for Accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

::selection {
  background: rgba(3, 47, 87, 0.12);
  color: inherit;
}

::-moz-selection {
  background: rgba(3, 47, 87, 0.12);
  color: inherit;
}

.brand,
.eyebrow,
[class*="eyebrow"],
.dashboard-hero__eyebrow,
.dashboard-card__eyebrow,
.dashboard-focus__label,
.dashboard-pulse__label,
.confirm-modal__eyebrow,
.badge,
.grid-badge,
.status-badge,
.email-chip,
.btn,
.menu-toggle,
.site-nav a,
.header-action-btn,
.theme-mode-indicator,
.filter-select,
.filter-select-control__trigger,
.filter-select-control__option,
.info-tooltip__trigger,
.calendar-toolbar__button,
.calendar-day-card__tag,
.date-picker__nav,
.date-picker__weekday,
.date-picker__day,
.date-picker__footer-action,
.app-toast__close,
.location-modal__close {
  user-select: none;
  -webkit-user-select: none;
}

