.customer-orders {
  margin-top: 0;
  outline: none;
}

.customer-orders h1 {
  margin-bottom: 2rem;
}

.orders-list {
  display: grid;
  gap: 1.5rem;
  max-width: 1200px;
}

.order-card {
  width: 100%;
  box-sizing: border-box;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
}

.order-header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.order-number {
  grid-column: 1;
}

.invoice-number {
  grid-column: 2;
}

.order-state {
  grid-column: 4;
  justify-self: end;
}

.order-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.order-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.order-status.is-open {
  background: rgba(255, 0, 152, 0.1);
  color: #ff0098;
}

.order-status.is-done {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.order-status.is-cancelled {
  background: rgba(107, 114, 128, 0.12);
  color: #6b7280;
}

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

.order-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.order-info span {
  font-size: 0.9rem;
  color: #6b7280;
}

.order-info strong {
  font-weight: 600;
}

.order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.order-details {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.order-details svg {
  width: 16px;
  height: 16px;
  color: black;
}

.order-button.download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  box-sizing: border-box;
  padding: 0.9rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: #6b7280;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
}

.order-button.download svg {
  width: 16px;
  height: 16px;
  color: white;
}