/* temps-de-passage.css */

.split-inputs {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.input-group-separator {
  border-left: 1px solid var(--border-color, #e2e8f0);
  padding-left: 1.5rem;
}

@media (max-width: 640px) {
  .split-inputs {
    flex-direction: column;
    gap: 1rem;
  }
  .input-group-separator {
    border-left: none;
    border-top: 1px solid var(--border-color, #e2e8f0);
    padding-left: 0;
    padding-top: 1rem;
  }
}

.splits-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  text-align: center;
}

.splits-table th {
  background-color: var(--primary-color, #2563eb);
  color: white;
  padding: 12px;
  position: sticky;
  top: 0;
}

.splits-table td {
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.splits-table tr:nth-child(even) {
  background-color: #f8fafc;
}

.splits-table tr.milestone td {
  font-weight: bold;
  background-color: #e0f2fe;
}

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

.print-only {
  display: none;
}

@media print {
  .no-print {
    display: none !important;
  }
  
  .print-only {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
  }

  body {
    background: white;
    font-size: 12pt;
    color: black;
  }

  .splits-table th {
    background-color: #f1f5f9;
    color: black;
    border: 1px solid #cbd5e1;
  }
  
  .splits-table td {
    border: 1px solid #cbd5e1;
    padding: 6px;
  }
  
  /* Make table smaller for pace band */
  .splits-table {
    width: 60%;
    margin: 0 auto;
    font-size: 11pt;
  }
}
