#checkpointsList {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: white;
  max-width: 1000px;
  margin: 0 auto;
}

#checkpointsList * {
  box-sizing: border-box;
}

#checkpointsList .checkpoints-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#checkpointsList .checkpoint-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid #ddd;
  transition: background 0.2s;
}

#checkpointsList .checkpoint-item:hover {
  background: #fafafa;
}

#checkpointsList .checkpoint-item:focus-within {
  background: #fafafa;
  outline: 2px solid #1b5e20;
  outline-offset: -2px;
}

#checkpointsList .checkpoint-item:last-child {
  border-bottom: none;
}

#checkpointsList .checkpoint-info, #checkpointsList .checkpoint-wait {
  flex: 0 0 50%;
  line-height: normal;
}

#checkpointsList .checkpoint-name {
  color: #1b5e20;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 0;
}

#checkpointsList .checkpoint-options {
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

#checkpointsList .options-only-badge {
  display: inline-block;
  background: #1b5e20;
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

#checkpointsList .checkpoint-wait {
  text-align: right;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#checkpointsList .wait-time {
  color: #333;
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 4px;
}

#checkpointsList .wait-time.closed {
  color: #666;
  font-size: 28px;
}

#checkpointsList .wait-label {
  color: #666;
  font-size: 12px;
}

#checkpointsList .loading {
  padding: 40px;
  text-align: center;
  color: #333;
}

#checkpointsList .error {
  padding: 20px 30px;
  color: #b71c1c;
  background: #ffebee;
  margin: 20px;
  border-radius: 4px;
  border-left: 4px solid #b71c1c;
}

@media (max-width: 768px) {
  #checkpointsList .checkpoint-item {
    flex-direction: column;
    align-items: flex-start;
    /* Changed from default */
    padding: 20px;
    text-align: center;
    /* Center all content on mobile */
  }

  #checkpointsList .checkpoint-info {
    width: 100%;
    /* Full width on mobile */
    text-align: center;
    /* Center the info */
    margin-bottom: 15px;
  }

  #checkpointsList .checkpoint-name {
    text-align: center;
  }

  #checkpointsList .checkpoint-options {
    text-align: center;
  }

  #checkpointsList .checkpoint-wait {
    width: 100%;
    text-align: center;
    align-items: center;
  }

  #checkpointsList .wait-time {
    font-size: 24px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {

  #checkpointsList .wait-time,
  #checkpointsList .checkpoint-options,
  #checkpointsList .loading {
    color: #000;
  }

  #checkpointsList .options-only-badge {
    border: 1px solid white;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  #checkpointsList .checkpoint-item {
    transition: none;
  }
}
