/* Component-specific CSS for Ruck Sack Run PHP Application */

/* ===== ADMIN DASHBOARD STYLES ===== */
.admin-container {
  display: flex;
  min-height: 100vh;
  background-color: #f8fafc;
}

.admin-sidebar {
  width: 280px;
  background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: calc(100vh - var(--header-height));
  left: 0;
  top: var(--header-height);
  z-index: 50;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: white;
}

.sidebar-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.sidebar-nav {
  flex: 1;
  padding: 1.5rem 0;
  overflow-y: auto;
}

.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  position: relative;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.nav-item.active {
  background: rgba(var(--primary-rgb), 0.2);
  color: white;
  border-right: 3px solid var(--primary);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
}

.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 0.5rem;
  color: #fca5a5;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background: rgba(220, 38, 38, 0.2);
  border-color: rgba(220, 38, 38, 0.5);
  color: #fecaca;
}

.admin-content {
  flex: 1;
  margin-left: 280px;
  padding: 2rem;
  overflow-y: auto;
  background-color: #f8fafc;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
}

.section-description {
  font-size: 1.1rem;
  color: #64748b;
  margin: 0;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.stat-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.primary {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
}

.stat-icon.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.stat-icon.warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.stat-icon.accent {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
}

.stat-info {
  flex: 1;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

/* Overview Grid */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.overview-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.overview-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 1rem 0;
}

/* Registrations Section */
.registrations-controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.search-filters {
  display: flex;
  gap: 1rem;
  flex: 1;
}

.search-input,
.filter-select {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.search-input:focus,
.filter-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.search-input {
  min-width: 250px;
}

.filter-select {
  min-width: 150px;
}

/* Table Styles */
.registrations-table-container {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.registrations-table {
  width: 100%;
  border-collapse: collapse;
}

.registrations-table th {
  background: #f8fafc;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.registrations-table td {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}

.registrations-table tr:hover {
  background: #f9fafb;
}

/* Content Management */
.content-sections {
  display: grid;
  gap: 2rem;
}

.content-card {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.content-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.form-actions {
  margin-top: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  text-align: center;
}

/* Settings Section */
.settings-sections {
  display: grid;
  gap: 2rem;
}

.settings-card {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.settings-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
}

.settings-card .card-description {
  color: #64748b;
  margin: 0 0 1.5rem 0;
  font-size: 0.875rem;
}

.form-help {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.setting-status {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.status-indicator.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.status-indicator.warning {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.status-indicator.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

/* Database Info */
.db-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item label {
  font-weight: 500;
  color: #374151;
}

.info-value {
  font-family: monospace;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Form Actions */
.form-actions {
  margin-top: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-secondary {
  background: #f8fafc;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .admin-sidebar {
    width: 240px;
  }
  
  .admin-content {
    margin-left: 240px;
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-sidebar {
    width: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  .admin-sidebar.mobile-open {
    transform: translateX(0);
  }
  
  .admin-content {
    margin-left: 0;
    padding: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .registrations-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-filters {
    flex-direction: column;
  }
}

/* ===== ADMIN LOGIN STYLES ===== */
.admin-login-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.login-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--primary-foreground);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px -8px var(--primary);
}

.login-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.login-description {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.5;
}

.login-form {
  space-y: 1.5rem;
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form .form-label {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

.login-form .form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  background: var(--background);
  color: var(--foreground);
  transition: all 0.2s ease-in-out;
}

.login-form .form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: var(--card);
}

.login-form .form-input::placeholder {
  color: var(--muted-foreground);
}

.form-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.login-form .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  border: 2px solid transparent;
  cursor: pointer;
}

.login-form .btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--primary-foreground);
  border: none;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.3);
}

.login-form .btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(59, 130, 246, 0.4);
}

.login-form .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.login-form .btn-outline {
  background: transparent;
  color: var(--muted-foreground);
  border: 2px solid var(--border);
}

.login-form .btn-outline:hover {
  background: var(--muted);
  border-color: var(--primary);
  color: var(--primary);
}

.login-form .btn-full {
  width: 100%;
}

.btn-icon {
  flex-shrink: 0;
}

.loading-text {
  display: none;
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: rgb(34, 197, 94);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: rgb(239, 68, 68);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.error-message {
  color: rgb(239, 68, 68);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  min-height: 1rem;
}

@media (max-width: 640px) {
  .admin-login-section {
    padding: 1rem;
  }
  
  .login-card {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .login-icon {
    width: 56px;
    height: 56px;
  }
  
  .login-title {
    font-size: 1.5rem;
  }
}

/* Story Page Styles */
.story-section {
  padding: 4rem 0;
}

.story-header {
  text-align: center;
  margin-bottom: 3rem;
}

.story-card {
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 64rem;
  margin: 0 auto;
}

.story-image {
  width: 100%;
}

.story-img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .story-img {
    height: 20rem;
  }
}

.story-content {
  padding: 2rem;
}

@media (min-width: 768px) {
  .story-content {
    padding: 3rem;
  }
}

.story-paragraph {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.story-quote {
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
  background-color: var(--muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-text {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.quote-author {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}

.legacy-section {
  background-color: rgba(var(--accent), 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.legacy-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.legacy-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.story-cta {
  margin-top: 3rem;
  text-align: center;
}

/* Course Page Styles */
.course-section {
  padding: 4rem 0;
}

.course-header {
  text-align: center;
  margin-bottom: 3rem;
}

.course-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .course-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.course-map-card,
.checkpoints-card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.map-placeholder {
  background-color: var(--muted);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  min-height: 25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.map-icon {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.map-placeholder-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.map-placeholder-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.course-details {
  background-color: rgba(var(--accent), 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.details-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.details-list {
  list-style: none;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}

.detail-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.checkpoints-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkpoint-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  transition: all 0.2s;
}

.checkpoint-item.sponsored {
  background: linear-gradient(to right, rgba(var(--primary), 0.05), rgba(var(--accent), 0.05));
  border-color: var(--accent);
}

.checkpoint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.checkpoint-name {
  font-weight: 600;
  margin: 0;
}

.checkpoint-item.sponsored .checkpoint-name {
  color: var(--primary);
}

.checkpoint-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.checkpoint-badge.sponsored {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.checkpoint-badge.available {
  background-color: var(--muted);
  color: var(--muted-foreground);
}

.badge-icon {
  width: 0.75rem;
  height: 0.75rem;
}

.checkpoint-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.sponsorship-info {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: var(--muted);
  border-radius: var(--radius);
}

.sponsorship-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.sponsorship-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

/* Timings Page Styles */
.timings-section {
  padding: 4rem 0;
}

.timings-header {
  text-align: center;
  margin-bottom: 3rem;
}

.schedule-card {
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.schedule-date {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.date-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.date-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.date-day {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.date-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.date-note p {
  font-style: italic;
  color: var(--muted-foreground);
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.timeline-items::before {
  content: '';
  position: absolute;
  left: 4rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border);
}

@media (max-width: 767px) {
  .timeline-items::before {
    left: 2.5rem;
  }
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 3.75rem;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  z-index: 1;
}

@media (max-width: 767px) {
  .timeline-item::before {
    left: 2.25rem;
  }
}

.timeline-item.featured::before {
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--accent);
  left: 3.625rem;
}

@media (max-width: 767px) {
  .timeline-item.featured::before {
    left: 2.125rem;
  }
}

.timeline-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 5rem;
  text-align: right;
}

@media (max-width: 767px) {
  .timeline-time {
    min-width: 4rem;
  }
}

.time-main {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.time-duration {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.timeline-content {
  flex: 1;
}

.timeline-event {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.timeline-description {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.timeline-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
}

.location-icon {
  flex-shrink: 0;
}

.event-highlights {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.highlight {
  padding: 0.25rem 0.5rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.important-info {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.info-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.info-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-item {
  background-color: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.info-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.info-icon {
  flex-shrink: 0;
}

.info-item p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.registration-reminder {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(var(--primary), 0.1), rgba(var(--accent), 0.1));
  border-radius: var(--radius);
  text-align: center;
}

.registration-reminder h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.registration-reminder p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Registration Page Styles */
.registration-section {
  padding: 3rem 0 4rem;
  background-color: var(--background);
  min-height: 100vh;
}

.registration-header {
  text-align: center;
  margin-bottom: 3rem;
}

.registration-header .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.registration-header .page-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.step.active {
  opacity: 1;
}

.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--muted);
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.step-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-align: center;
}

/* Step Cards */
.registration-step {
  display: none;
}

.registration-step.active {
  display: block;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 56rem;
  margin: 0 auto;
}

.step-header {
  text-align: center;
  margin-bottom: 2rem;
}

.step-header .step-icon {
  color: var(--primary);
  margin-bottom: 1rem;
}

.step-header h3 {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.step-header p {
  color: var(--muted-foreground);
  font-size: 1rem;
}

/* Registration Options */
.registration-options {
  margin-bottom: 2rem;
}

.option-group {
  margin-bottom: 2rem;
}

.group-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

.option-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.option-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.option-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.option-card.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary), hsl(221.2, 83.2%, 43.3%));
  color: var(--primary-foreground);
}

.option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.option-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.option-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.option-card.selected .option-price {
  color: var(--primary-foreground);
}

.option-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.detail-label {
  color: var(--muted-foreground);
  font-weight: 500;
}

.option-card.selected .detail-label {
  color: rgba(255, 255, 255, 0.8);
}

.detail-value {
  font-weight: 600;
}

.detail.highlight {
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin-top: 0.5rem;
}

.option-card.selected .detail.highlight {
  background: rgba(255, 255, 255, 0.2);
  color: var(--primary-foreground);
}

/* Weight Class Selection */
.weight-class-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.weight-class-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  text-align: center;
}

.weight-class-section p {
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: 1.5rem;
}

.weight-options {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.weight-option {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.weight-option:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.1);
}

.weight-option.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.weight-label {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.weight-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.weight-option.selected .weight-description {
  color: rgba(255, 255, 255, 0.8);
}

/* Registration Form */
.registration-form {
  margin-bottom: 2rem;
}

.form-section {
  margin-bottom: 2rem;
}

.form-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.form-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 500;
  color: var(--foreground);
  font-size: 0.875rem;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary), 0.1);
}

.form-input:invalid {
  border-color: var(--destructive);
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-style: italic;
}

.error-message {
  font-size: 0.75rem;
  color: var(--destructive);
  font-weight: 500;
  min-height: 1rem;
}

/* Checkbox Styles */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.5;
}

.checkbox-custom {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--border);
  border-radius: 0.25rem;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  margin-top: 0.125rem;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: "✓";
  color: var(--primary-foreground);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Order Summary */
.order-summary {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.order-summary h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.summary-row.total {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--primary);
}

/* Payment Section */
.payment-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.payment-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.payment-header h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 0.25rem 0;
}

.payment-header p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
}

#payment-element {
  margin-top: 1rem;
}

/* Waiver Section */
.waiver-section {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.waiver-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.waiver-text {
  max-height: 200px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.waiver-signature {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Step Actions */
.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.step-actions .btn {
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Success Message */
.registration-success {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.success-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  color: var(--primary-foreground);
}

.success-card h3 {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.success-card p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .registration-section {
    padding: 2rem 0;
  }
  
  .registration-header .page-title {
    font-size: 2rem;
  }
  
  .step-indicator {
    gap: 1rem;
  }
  
  .step-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .option-cards {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .step-actions {
    flex-direction: column;
  }
  
  .step-actions .btn {
    width: 100%;
  }
  
  .weight-options {
    grid-template-columns: 1fr;
  }
}

/* Animation for step transitions */
.registration-step {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.registration-step.active {
  opacity: 1;
  transform: translateY(0);
}