
  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-weight: 500;
  }

  .back-link:hover {
    text-decoration: underline;
  }

  .order-header {
    background: var(--card-solid);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .header-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
  }

  .order-title {
    font-size: 1.5rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .order-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
  }

  .status-badge {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: capitalize;
  }

  .status-pending { background: #fef3c7; color: #92400e; }
  .status-confirmed { background: #dbeafe; color: #1e40af; }
  .status-processing { background: #e0e7ff; color: #3730a3; }
  .status-printing { background: #e0e7ff; color: #4338ca; }
  .status-printed { background: #ddd6fe; color: #5b21b6; }
  .status-shipped { background: #d1fae5; color: #065f46; }
  .status-delivered { background: #d1fae5; color: #047857; }
  .status-cancelled { background: #fee2e2; color: #991b1b; }
  .status-refunded { background: #fee2e2; color: #b91c1c; }

  .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .info-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
  }

  .info-value {
    color: var(--text);
    font-weight: 500;
  }

  .tracking-link {
    color: #667eea;
    text-decoration: none;
  }

  .tracking-link:hover {
    text-decoration: underline;
  }

  .content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
  }

  .section {
    background: var(--card-solid);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.5rem;
  }

  .document-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .document-item {
    padding: 1rem;
    background: var(--card-background);
    border-radius: 0.5rem;
  }

  .document-name {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
  }

  .order-document-pages { margin-top: 1.25rem; }

  .document-specs {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .spec-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .address-block {
    color: var(--text);
    line-height: 1.6;
  }

  .timeline {
    position: relative;
    padding-left: 2rem;
  }

  .timeline-item {
    position: relative;
    padding-bottom: 2rem;
  }

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

  .timeline-dot {
    position: absolute;
    left: -2rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--border);
  }

  .timeline-dot.active {
    background: #667eea;
  }

  .timeline-line {
    position: absolute;
    left: -1.5rem;
    top: 1rem;
    width: 2px;
    height: calc(100% - 1rem);
    background: var(--border-subtle);
  }

  .timeline-content {
    margin-bottom: 0.25rem;
  }

  .timeline-title {
    font-weight: 500;
    color: var(--text);
  }

  .timeline-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
  }

  .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
  }

  .summary-row.total {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
  }

  .summary-label {
    color: var(--text-secondary);
  }

  .summary-value {
    color: var(--text);
    font-weight: 500;
  }

  .loading-state {
    text-align: center;
    padding: 3rem;
  }

  .spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid var(--border-subtle);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
  }

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

  @media (max-width: 768px) {
    .content-grid {
      grid-template-columns: 1fr;
    }

    .info-grid {
      grid-template-columns: 1fr;
    }
  }

.container .order-header { gap: 1rem; }
.container .header-top { gap: 1rem; flex-wrap: wrap; }
.container .order-title { font-size: 1.75rem; }
.container .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.container .timeline-dot.active { background: var(--primary); }
@media (max-width: 760px) {
.container .order-title { font-size: 1.5rem; }
.container .info-grid { gap: 1rem; }
}

.container .order-header { flex-wrap: wrap; }
