/* Track Service Page Specific Styles */

.page-header {
  background-color: hsl(var(--secondary));
  padding: 3rem 0;
  border-bottom: 1px solid hsl(var(--border));
  margin-bottom: 0;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }
}

.page-header p {
  color: hsl(var(--muted-foreground));
}

.track-container {
  max-width: 42rem;
  margin: 0 auto;
}

.track-form-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.track-form-card:hover {
  box-shadow: var(--shadow-xl);
}

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

.form-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--accent) / 0.15), hsl(var(--accent) / 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--accent));
}

.form-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.form-header p {
  color: hsl(var(--muted-foreground));
  font-size: 0.9375rem;
  margin: 0;
}

.track-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper svg {
  position: absolute;
  left: 1rem;
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--muted-foreground));
  pointer-events: none;
  z-index: 1;
}

.input-wrapper input {
  width: 100%;
  padding: 0.875rem 1rem;
  padding-left: 3rem;
  border: 2px solid hsl(var(--border));
  border-radius: 0.5rem;
  font-size: 1rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: all 0.3s ease;
  font-family: inherit;
}

.input-wrapper input::placeholder {
  color: hsl(var(--muted-foreground));
  opacity: 0.7;
}

.input-wrapper input:focus {
  outline: none;
  border-color: hsl(var(--accent));
  box-shadow: 0 0 0 4px hsl(var(--accent) / 0.1);
}

.input-wrapper:focus-within svg {
  color: hsl(var(--accent));
}

.track-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px hsl(var(--accent) / 0.3);
  transition: all 0.3s ease;
}

.track-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsl(var(--accent) / 0.4);
}

.track-btn svg {
  width: 20px;
  height: 20px;
}

.search-input-wrapper button {
  margin: 0.5rem;
  white-space: nowrap;
}

/* Results Section */
/* .track-results-section {
  padding: 2rem 0 4rem;
} */

.track-result-card {
  background-color: hsl(var(--card));
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid hsl(var(--border));
}

.result-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid hsl(var(--border));
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.result-badge svg {
  width: 16px;
  height: 16px;
}

.result-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
}

.result-content {
  margin-top: 2rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.info-section {
  background-color: hsl(var(--secondary));
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
}

.info-section:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.info-section.full-width {
  grid-column: 1 / -1;
}

.info-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid hsl(var(--border));
}

.info-section-title svg {
  color: hsl(var(--accent));
  flex-shrink: 0;
}

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

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: hsl(var(--card));
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
}

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

.info-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-align: right;
}

.info-text {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  margin: 0;
  padding: 1rem;
  background-color: hsl(var(--card));
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
}

/* Status Timeline */
.status-timeline-section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid hsl(var(--border));
}

.timeline-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 2rem;
}

.timeline-title svg {
  color: hsl(var(--accent));
}

.status-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 3rem 0 2rem;
  padding: 0 1.5rem;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .status-timeline {
    padding: 0 0.5rem;
  }
}

.status-timeline::before {
  content: '';
  position: absolute;
  top: 1.25rem;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, hsl(var(--accent)), hsl(var(--border)));
  border-radius: 2px;
  z-index: 1;
}

.timeline-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: hsl(var(--border));
  border: 4px solid hsl(var(--background));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.timeline-item.active .timeline-marker {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border-color: hsl(var(--background));
  box-shadow: 0 0 0 4px hsl(var(--accent) / 0.2);
  animation: pulse 2s infinite;
  transform: scale(1.1);
}

.timeline-item.completed .timeline-marker {
  background-color: hsl(142 76% 36%);
  color: hsl(var(--background));
  border-color: hsl(var(--background));
  box-shadow: 0 0 0 4px hsl(142 76% 36% / 0.1);
}

.timeline-item.completed .timeline-marker svg {
  width: 16px;
  height: 16px;
}

.timeline-item:not(:last-child).completed::after {
  content: '';
  position: absolute;
  top: 1.25rem;
  left: calc(50% + 1.25rem);
  width: calc(100% - 2.5rem);
  height: 3px;
  background: hsl(142 76% 36%);
  z-index: 1;
  border-radius: 2px;
}

.pulse-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: hsl(var(--accent));
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.timeline-content {
  background-color: hsl(var(--secondary));
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  border: 2px solid hsl(var(--border));
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-item.active .timeline-content {
  background-color: hsl(var(--accent) / 0.05);
  border-color: hsl(var(--accent) / 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.timeline-item.completed .timeline-content {
  background-color: hsl(142 76% 36% / 0.05);
  border-color: hsl(142 76% 36% / 0.2);
}

.timeline-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.timeline-item:not(.active):not(.completed) .timeline-content h3 {
  color: hsl(var(--muted-foreground));
}

.timeline-content p {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.timeline-date {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

.timeline-badge-current {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: hsl(var(--accent) / 0.15);
  color: hsl(var(--accent));
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge-container {
  margin-top: 1.5rem;
  text-align: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge svg {
  width: 16px;
  height: 16px;
}

.status-badge.status-under-booking {
  background-color: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
}

.status-badge.status-under-service {
  background-color: hsl(217 91% 60% / 0.1);
  color: hsl(217 91% 60%);
}

.status-badge.status-job-compiled {
  background-color: hsl(142 76% 36% / 0.1);
  color: hsl(142 76% 36%);
}

.status-badge.status-delivered {
  background-color: hsl(142 76% 36% / 0.1);
  color: hsl(142 76% 36%);
}

.status-badge.status-waiting {
  background-color: hsl(38 92% 50% / 0.1);
  color: hsl(38 92% 50%);
}

.status-badge.status-rejected {
  background-color: hsl(0 84% 60% / 0.1);
  color: hsl(0 84% 60%);
}

.estimated-time-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.8));
  border-radius: 0.75rem;
  text-align: center;
}

.estimated-time-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  margin-bottom: 0.75rem;
}

.estimated-time-title svg {
  color: hsl(var(--accent));
}

.estimated-time-text {
  font-size: 1rem;
  color: hsl(var(--primary-foreground) / 0.9);
  margin: 0;
  line-height: 1.6;
}

/* Waiting/Rejected Sections */
.status-waiting-section,
.status-rejected-section {
  text-align: center;
  padding: 3rem 2rem;
  background-color: hsl(var(--secondary));
  border-radius: 0.75rem;
  border: 2px solid hsl(var(--border));
  margin-top: 2rem;
}

.waiting-icon,
.rejected-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-color: hsl(var(--accent) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--accent));
}

.rejected-icon {
  background-color: hsl(0 84% 60% / 0.1);
  color: hsl(0 84% 60%);
}

.waiting-title,
.rejected-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.waiting-text,
.rejected-text {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Payment Section */
.payment-section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid hsl(var(--border));
}

.payment-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.payment-title svg {
  color: hsl(var(--accent));
}

.payment-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  background-color: hsl(var(--secondary));
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
}

.payment-item.total {
  background-color: hsl(var(--accent) / 0.1);
  border-color: hsl(var(--accent) / 0.3);
}

.payment-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.payment-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.payment-item.total .payment-value {
  color: hsl(var(--accent));
  font-size: 1.25rem;
}

.payment-success {
  color: hsl(142 76% 36%) !important;
}

.payment-action {
  text-align: center;
  margin-top: 1.5rem;
}

.payment-success-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background-color: hsl(142 76% 36% / 0.1);
  color: hsl(142 76% 36%);
  border-radius: 0.5rem;
  border: 1px solid hsl(142 76% 36% / 0.3);
  font-weight: 500;
}

.payment-success-alert svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* No Results */
.track-no-results {
  padding: 4rem 0;
}

.no-results-card {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  background-color: hsl(var(--card));
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid hsl(var(--border));
}

.no-results-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-color: hsl(var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
}

.no-results-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.no-results-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px hsl(var(--accent) / 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px hsl(var(--accent) / 0.1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .track-search-card {
    padding: 1.5rem;
  }
  
  .track-result-card {
    padding: 1.5rem;
  }
  
  .result-grid {
    grid-template-columns: 1fr;
  }
  
  .status-timeline {
    flex-direction: column;
    padding: 0 0 0 3rem;
    margin: 2rem 0;
  }
  
  .status-timeline::before {
    top: 0;
    bottom: 0;
    left: 1.5rem;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(to bottom, hsl(var(--accent)), hsl(var(--border)));
  }
  
  .timeline-item {
    flex: none;
    width: 100%;
    align-items: flex-start;
    margin-bottom: 2.5rem;
  }
  
  .timeline-item:last-child {
    margin-bottom: 0;
  }
  
  .timeline-marker {
    position: absolute;
    left: -2.25rem;
    top: 0.5rem;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0;
  }
  
  .timeline-item.completed::before {
    top: 2.5rem;
    left: -1.5rem;
    width: 3px;
    height: calc(100% + 1rem);
    transform: none;
  }
  
  .timeline-content {
    text-align: left;
    margin-top: 0;
    padding-left: 2rem;
  }
  
  .track-form-card {
    padding: 1.5rem;
  }
  
  .track-status {
    padding: 1.5rem;
  }
  
  .service-summary {
    grid-template-columns: 1fr;
  }
}

/* Track Status Card */
.track-status {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
  animation: fadeInUp 0.5s ease-out;
}

.status-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid hsl(var(--border));
}

.status-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(142 76% 36% / 0.15), hsl(142 76% 36% / 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(142 76% 36%);
}

.status-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.status-badge-large {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge-large.status-under-booking {
  background-color: hsl(var(--accent) / 0.15);
  color: hsl(var(--accent));
  border: 2px solid hsl(var(--accent) / 0.3);
}

.status-badge-large.status-under-service {
  background-color: hsl(217 91% 60% / 0.15);
  color: hsl(217 91% 60%);
  border: 2px solid hsl(217 91% 60% / 0.3);
}

.status-badge-large.status-job-compiled {
  background-color: hsl(142 76% 36% / 0.15);
  color: hsl(142 76% 36%);
  border: 2px solid hsl(142 76% 36% / 0.3);
}

.status-badge-large.status-delivered {
  background-color: hsl(142 76% 36% / 0.15);
  color: hsl(142 76% 36%);
  border: 2px solid hsl(142 76% 36% / 0.3);
}

/* Service Summary */
.service-summary {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid hsl(var(--border));
}

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

.summary-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background-color: hsl(var(--secondary));
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
}

.summary-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: hsl(var(--accent) / 0.3);
}

.summary-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--accent) / 0.15), hsl(var(--accent) / 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--accent));
  flex-shrink: 0;
}

.summary-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.summary-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summary-value {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

/* Status Message Styles */
.status-message {
  padding: 3rem 2rem;
  text-align: center;
  background-color: hsl(var(--secondary));
  border-radius: 1rem;
  border: 2px solid hsl(var(--border));
  margin-top: 2rem;
}

.status-message.waiting {
  background: linear-gradient(135deg, hsl(38 92% 50% / 0.1), hsl(38 92% 50% / 0.05));
  border-color: hsl(38 92% 50% / 0.3);
}

.status-message.error {
  background: linear-gradient(135deg, hsl(0 84% 60% / 0.1), hsl(0 84% 60% / 0.05));
  border-color: hsl(0 84% 60% / 0.3);
}

.message-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--accent));
}

.status-message.waiting .message-icon {
  background: linear-gradient(135deg, hsl(38 92% 50% / 0.15), hsl(38 92% 50% / 0.05));
  color: hsl(38 92% 50%);
}

.status-message.error .message-icon {
  background: linear-gradient(135deg, hsl(0 84% 60% / 0.15), hsl(0 84% 60% / 0.05));
  color: hsl(0 84% 60%);
}

.status-message h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.status-message.error h3 {
  color: hsl(0 84% 60%);
}

.status-message p {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.message-note {
  font-size: 0.875rem;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  opacity: 0.8;
}

.rejection-reason {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: hsl(var(--card));
  border-radius: 0.5rem;
  border: 1px solid hsl(0 84% 60% / 0.2);
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* No Results */
.no-results-card {
  background-color: hsl(var(--card));
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid hsl(var(--border));
  margin-top: 2rem;
}

.no-results-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-color: hsl(var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
}

.no-results-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.no-results-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Track Search Section */
/* .track-search-section {
  padding: 2rem 0;
} */

.track-search-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  max-width: 42rem;
  margin: 0 auto;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: hsl(var(--background));
  border: 2px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
  border-color: hsl(var(--accent));
  box-shadow: 0 0 0 4px hsl(var(--accent) / 0.1);
}

.search-icon {
  position: absolute;
  left: 1rem;
  color: hsl(var(--muted-foreground));
  pointer-events: none;
  z-index: 1;
}

.search-input {
  flex: 1;
  padding: 0.875rem 1rem;
  padding-left: 3rem;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: hsl(var(--foreground));
  outline: none;
}

.search-input::placeholder {
  color: hsl(var(--muted-foreground));
  opacity: 0.7;
}

.search-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(var(--accent)) 100%);
  color: hsl(var(--accent-foreground));
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px hsl(var(--accent) / 0.3);
}

.search-btn svg {
  width: 16px;
  height: 16px;
}

/* Result Column */
.result-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Timeline Labels */
.timeline-label {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .timeline-label {
    font-size: 1.125rem;
  }
}

.timeline-sublabel {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  display: block;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .timeline-sublabel {
    font-size: 0.9375rem;
  }
}

.timeline-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: hsl(var(--accent) / 0.15);
  color: hsl(var(--accent));
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* Track No Results Section */
.track-no-results-section {
  padding: 2rem 0 4rem;
}

.no-results-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.no-results-text {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Spinner Animation */
.spinner {
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

