.aurora-freight-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(8, 115, 84, .14);
  border-radius: 8px;
  background: #f8fcfa;
  color: #064235;
}

.aurora-freight-head,
.aurora-freight-form {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.aurora-freight-head div {
  display: grid;
  gap: 4px;
}

.aurora-freight-head strong {
  font-size: 1.02rem;
}

.aurora-freight-head span {
  color: #087354;
  font-size: .78rem;
  font-weight: 850;
}

.aurora-freight-form label {
  display: grid;
  gap: 6px;
  margin: 0;
  color: #064235;
  font-size: .72rem;
  font-weight: 950;
}

.aurora-freight-form input,
.aurora-freight-form select {
  min-width: 132px;
  min-height: 38px;
  border: 1px solid rgba(8, 115, 84, .2);
  border-radius: 8px;
  background: #fff;
  color: #053f32;
  padding: 0 10px;
  font-weight: 850;
}

.aurora-freight-form select {
  min-width: 230px;
}

.aurora-freight-panel button,
.aurora-freight-panel a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 115, 84, .2);
  border-radius: 8px;
  background: #e5f8ef;
  color: #064235;
  padding: 0 12px;
  font-size: .78rem;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.aurora-freight-form button {
  background: #087354;
  color: #fff;
}

.aurora-freight-status {
  min-height: 18px;
  color: #087354;
  font-size: .78rem;
  font-weight: 900;
}

.aurora-freight-batch {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(8, 115, 84, .12);
  border-radius: 8px;
  background: #fff;
}

.aurora-freight-batch-title {
  display: grid;
  gap: 4px;
}

.aurora-freight-batch-title span {
  color: #087354;
  font-size: .76rem;
  font-weight: 850;
}

.aurora-freight-batch-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.aurora-freight-batch-controls input[type="file"] {
  display: none;
}

.aurora-freight-batch-drop {
  min-height: 50px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(8, 115, 84, .35);
  border-radius: 8px;
  background: #f8fcfa;
  color: #087354;
  font-size: .78rem;
  font-weight: 900;
  text-align: center;
  padding: 10px;
}

.aurora-freight-batch-drop.active {
  border-color: #087354;
  background: #e5f8ef;
}

.aurora-freight-batch-results {
  display: grid;
  gap: 6px;
  max-height: 180px;
  overflow: auto;
}

.aurora-freight-batch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #f8fcfa;
  border: 1px solid rgba(8, 115, 84, .1);
  font-size: .78rem;
  font-weight: 850;
}

.aurora-freight-batch-row span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aurora-freight-batch-row small {
  color: #087354;
  font-weight: 950;
}

.aurora-freight-batch-row.error small {
  color: #b91c1c;
}

.aurora-freight-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.aurora-freight-totals span {
  display: grid;
  gap: 5px;
  min-height: 68px;
  align-content: center;
  padding: 12px;
  border: 1px solid rgba(8, 115, 84, .12);
  border-radius: 8px;
  background: #fff;
}

.aurora-freight-totals small {
  color: #087354;
  font-size: .68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.aurora-freight-totals strong {
  color: #053f32;
  font-size: 1.02rem;
}

.aurora-freight-list {
  display: grid;
  gap: 8px;
}

.aurora-freight-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(8, 115, 84, .1);
  border-radius: 8px;
  background: #fff;
}

.aurora-freight-row div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.aurora-freight-row span {
  color: #087354;
  font-size: .74rem;
  font-weight: 850;
}

.aurora-freight-row .revenue {
  color: #047857;
}

.aurora-freight-row .neutral {
  color: #6b7280;
}

.aurora-freight-empty {
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  color: #087354;
  font-size: .78rem;
  font-weight: 900;
}

@media (max-width: 760px) {
  .aurora-freight-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}
