:root {
  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-hover: #f9fafb;
  --bg-active: #f3f4f6;
  
  /* Text Colors */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  --text-dark: #1f2937;
  --text-muted: #9ca3af;
  
  /* Borders */
  --border-primary: #e5e7eb;
  --border-light: #f3f4f6;
  --border-dark: #d1d5db;
  --border-gray: #e5e7eb;
  
  /* Accent Colors */
  --accent-blue: #3b82f6;
  --accent-blue-hover: #2563eb;
  --accent-blue-light: #eff6ff;
  --accent-green: #10b981;
  
  /* Legacy support - mapped to new colors */
  --white: #ffffff;
  --card-bg: #ffffff;
  --primary-green: #10b981;
  --dark-gray-1: #1f2937;
  --dark-gray-2: #374151;
  --light-gray-1: #f9fafb;
  --light-gray-2: #e5e7eb;
  
  /* Shadows - Minimal System */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-xl: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* Typography */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-xs: 12px;
  --font-sm: 14px;
  --font-base: 16px;
  --font-lg: 18px;
  --font-xl: 20px;
  --font-2xl: 24px;
  --font-3xl: 32px;
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Spacing Scale */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  background: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: var(--font-normal);
  font-size: var(--font-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main-container {
  background: var(--bg-secondary);
}

.header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-image {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover .logo-image {
  transform: scale(1.05);
}

.logo-text {
  color: var(--text-primary);
  font-weight: var(--font-semibold);
  font-size: var(--font-xl);
  letter-spacing: -0.3px;
}

/* Legacy logo-icon for backwards compatibility */
.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--accent-blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: var(--font-semibold);
  font-size: var(--font-sm);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: var(--font-sm);
  font-weight: var(--font-medium);
  transition: all 0.2s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.nav-menu a.active {
  background: var(--bg-active);
  color: var(--text-primary);
  font-weight: var(--font-semibold);
}

/* User Guides Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: var(--font-sm);
  font-weight: var(--font-medium);
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  font-family: inherit;
  position: relative;
}

.nav-dropdown-toggle::after {
  content: '▼';
  font-size: 10px;
  transition: transform 0.2s ease;
  margin-left: 2px;
  display: inline-block;
}

.nav-dropdown.active .nav-dropdown-toggle::after,
.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown-toggle:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.2s ease;
  z-index: 1000;
  list-style: none;
  padding: 8px;
}

.nav-dropdown.active .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-sm);
  font-weight: var(--font-medium);
  transition: all 0.2s ease;
  white-space: nowrap;
  border-radius: 6px;
  position: relative;
}

.nav-dropdown-menu a:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  border-radius: 8px;
  transition: background 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
}

.hamburger-menu:hover {
  background: rgba(107, 142, 90, 0.1);
}

.hamburger-menu span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
  background: var(--text-primary);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background: var(--text-primary);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-primary);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-nav-menu.active {
  transform: translateX(0);
}

.mobile-nav-menu ul {
  list-style: none;
  padding: 12px 0;
  margin: 0;
}

.mobile-nav-menu li {
  border-bottom: 1px solid var(--border-gray);
}

.mobile-nav-menu li:last-child {
  border-bottom: none;
}

.mobile-nav-menu a,
.mobile-nav-menu .nav-dropdown-toggle {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu .nav-dropdown-toggle:hover {
  background: var(--bg-hover);
  padding-left: 32px;
}

.mobile-nav-menu a.active {
  background: var(--bg-active);
  color: var(--text-primary);
  font-weight: var(--font-semibold);
}

.mobile-nav-menu .nav-dropdown-menu {
  position: static;
  display: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  border-top: 1px solid var(--border-primary);
  background: var(--bg-secondary);
  margin: 0;
  padding: 8px 0;
  border-radius: 0;
  min-width: auto;
}

.mobile-nav-menu .nav-dropdown.active .nav-dropdown-menu {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px;
}

.card {
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card h1 {
  font-size: var(--font-2xl);
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
  font-weight: var(--font-semibold);
  line-height: 1.2;
}

.card h2 {
  font-size: var(--font-xl);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  font-weight: var(--font-semibold);
  line-height: 1.3;
}

.card h3 {
  font-size: var(--font-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
  font-weight: var(--font-semibold);
  line-height: 1.4;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: var(--font-base);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
  font-weight: var(--font-medium);
  font-size: var(--font-sm);
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  cursor: help;
  vertical-align: middle;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 16px;
  height: 16px;
}

.info-icon:hover {
  color: var(--text-primary);
  transform: scale(1.15);
}

.info-icon svg {
  width: 100%;
  height: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border-primary);
  border-radius: 6px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: var(--font-base);
  font-family: inherit;
  font-weight: var(--font-normal);
  transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
  font-weight: var(--font-normal);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--accent-blue-light);
}

.form-columns {
  display: flex;
  gap: 5px;
}

.form-column-left,
.form-column-right {
  flex: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: var(--font-sm);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-decoration: none;
}

.button-primary {
  background: var(--accent-blue);
  color: var(--white);
  border: 1px solid var(--accent-blue);
}

.button-primary:hover {
  background: var(--accent-blue-hover);
  border-color: var(--accent-blue-hover);
}

.button-primary:active {
  transform: translateY(1px);
}

.button-primary:disabled {
  background: var(--text-tertiary);
  border-color: var(--text-tertiary);
  cursor: not-allowed;
  opacity: 0.6;
}

.button-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
}

.button-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--border-dark);
}

.button-secondary:active {
  transform: translateY(1px);
}

.link-display {
  background: var(--white);
  padding: 16px;
  border-radius: 8px;
  margin: 16px 0;
  border: 1px solid var(--border-gray);
}

.link-display code {
  color: var(--text-gray);
  font-family: 'Courier New', monospace;
  word-break: break-all;
}

.copy-button {
  margin-left: 12px;
  padding: 6px 12px;
  font-size: 14px;
}

.waiver-container {
  max-height: 100px;
  overflow-y: auto;
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  margin: 16px 0;
  border: 1px solid var(--border-gray);
}

.waiver-container h4 {
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: var(--font-semibold);
}

.waiver-container p {
  margin-bottom: 12px;
  line-height: 1.8;
  color: var(--text-gray);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: transparent;
  border: 2px solid var(--border-gray);
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}

.checkbox-group input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-blue-light);
}

.checkbox-group label {
  cursor: pointer;
  line-height: 1.8;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
}

.signup-list {
  list-style: none;
  margin-top: 24px;
}

.signup-item {
  background: var(--white);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid var(--border-gray);
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.5;
}

.signup-item-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.signup-item-main {
  flex: 1;
}

.phone-link {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: all 0.2s ease;
}

.phone-link:hover {
  color: var(--accent-blue-hover);
  text-decoration: underline;
}

.delete-signup-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 12px;
  background: rgba(228, 3, 3, 0.1);
  color: #e40303;
  border-color: #e40303;
}

.delete-signup-btn:hover {
  background: rgba(228, 3, 3, 0.2);
  color: #e40303;
}

.run-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.run-item {
  background: var(--bg-primary);
  padding: var(--spacing-lg);
  border-radius: 8px;
  border: 1px solid var(--border-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.run-item:hover {
  box-shadow: var(--shadow-md);
}

.run-item-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 16px;
}

.run-item-actions {
  display: flex;
  gap: 8px;
}

.run-item-actions button {
  padding: 8px 16px;
  font-size: 14px;
}

.run-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.run-meta-item {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.run-meta-item strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
  font-weight: var(--font-semibold);
}

/* Compact List Styles */
.compact-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-gray);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-gray);
  margin-top: 24px;
}

.list-item {
  background: var(--white);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 2fr 1.5fr 120px 100px auto;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  transition: background 0.2s ease;
  cursor: pointer;
  position: relative;
}

.list-item:hover {
  background: var(--light-gray-1);
}

.list-item.expanded {
  background: var(--light-gray-1);
}

.list-item-location {
  font-weight: 600;
  color: var(--text-dark);
}

.list-item-pacer {
  font-size: 12px;
  color: var(--text-gray);
  font-weight: normal;
  display: block;
  margin-top: 2px;
}

.list-item-date {
  color: var(--text-gray);
}

.list-item-signups {
  color: var(--text-gray);
  text-align: center;
}

.list-item-status {
  display: flex;
  justify-content: center;
}

.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-open {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-full {
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.list-item-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.list-item-actions button {
  padding: 6px 10px;
  font-size: 12px;
}

.button-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 12px;
}

.dropdown-icon {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.list-item-dropdown {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid var(--border-gray);
  margin-top: 8px;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 1000px;
  }
}

.dropdown-content {
  padding: 12px 0;
}

.list-item-details {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--border-gray);
  margin-top: 12px;
}

.message {
  padding: 16px;
  border-radius: 8px;
  margin: 16px 0;
}

.message-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--accent-green);
  color: #065f46;
}

.message-error {
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid #ff4444;
  color: #ff4444;
}

.location-map {
  height: 400px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-gray);
  overflow: hidden;
  background: var(--white);
}

.contact-link {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--accent-blue-hover);
  text-decoration: underline;
}

.collapsible-section {
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.collapsible-toggle {
  width: 100%;
  padding: 16px 24px;
  background: var(--bg-primary);
  border: none;
  border-bottom: 1px solid var(--border-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  transition: all 0.2s ease;
  font-family: inherit;
  border-radius: 8px 8px 0 0;
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.collapsible-toggle:hover,
.collapsible-toggle:active,
.collapsible-toggle:focus {
  background: var(--bg-hover);
  outline: none;
}

.collapsible-toggle:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.collapsible-toggle span:first-child {
  color: var(--text-primary);
}

.collapsible-icon {
  transition: transform 0.3s ease;
  font-size: 16px;
  color: var(--text-gray);
  display: inline-block;
  font-weight: bold;
}

.collapsible-icon.collapsed {
  transform: rotate(0deg);
}

.collapsible-icon.expanded {
  transform: rotate(90deg);
}

.collapsible-content {
  padding: 0 20px;
  display: block;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.collapsible-content[style*="display: none"] {
  max-height: 0;
  padding: 0 20px;
  overflow: hidden;
}

/* Image Integration Classes */
.hero-background {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 60vh;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.9) 100%
  );
  z-index: 0;
}

.hero-background > * {
  position: relative;
  z-index: 1;
}

.section-background {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--spacing-2xl) var(--spacing-xl);
}

.section-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 0;
}

.section-background > * {
  position: relative;
  z-index: 1;
}

.image-overlay {
  position: relative;
}

.image-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.6) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Page Load Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Logo Responsive Sizing */
.logo-image {
  height: 45px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-image {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .logo-image {
    height: 36px;
  }
}

/* Card Image Styles */
.card-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  display: block;
}

.card-image-inset {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin: var(--spacing-md) 0;
  box-shadow: var(--shadow-sm);
  display: block;
}

@media (max-width: 768px) {
  .main-container {
    padding: 24px 16px;
  }

  .card {
    padding: 24px;
  }

  .run-item-header {
    flex-direction: column;
    gap: 12px;
  }

  .run-item-actions {
    width: 100%;
    flex-direction: column;
  }

  .run-item-actions button {
    width: 100%;
  }

  .location-map {
    height: 300px;
  }

  .form-columns {
    flex-direction: column;
  }

  .list-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .list-item > div {
    width: 100%;
  }

  .list-item-location {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .list-item-date::before {
    content: "Time: ";
    font-weight: 600;
    color: var(--text-dark);
  }

  .list-item-signups::before {
    content: "Signups: ";
    font-weight: 600;
    color: var(--text-dark);
  }

  .list-item-signups {
    text-align: left;
  }

  .list-item-status {
    justify-content: flex-start;
  }

  .list-item-actions {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-gray);
    justify-content: stretch;
    flex-direction: column;
  }

  .list-item-actions button {
    flex: 1;
    width: 100%;
  }

  .list-item-dropdown {
    margin-top: 12px;
    padding-top: 12px;
  }

  .dropdown-content {
    padding: 12px 0;
  }

  .signup-item-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .delete-signup-btn {
    width: 100%;
    margin-top: 8px;
  }

  /* Hamburger menu on mobile */
  .hamburger-menu {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  .mobile-nav-menu {
    display: block;
  }
}

