:root {
  --navy: #10233f;
  --blue: #1e65ff;
  --light: #f5f7fb;
  --white: #ffffff;
  --muted: #667085;
  --border: #d9e2ef;
  --success: #0f7a45;
  --danger: #b42318;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--light);
  color: var(--navy);
}

.wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 720px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 18px 45px rgba(16, 35, 63, 0.08);
}

.brand {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--blue);
  margin-bottom: 14px;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 10px;
  font-size: 34px;
}

.lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.status {
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
}

.status.good {
  background: #ecfdf3;
  color: var(--success);
}

.status.bad {
  background: #fef3f2;
  color: var(--danger);
}

pre {
  white-space: pre-wrap;
  background: #111827;
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  overflow-x: auto;
}

.page-wrap {
  min-height: 100vh;
  padding: 28px;
}

.dashboard-card {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 18px 45px rgba(16, 35, 63, 0.08);
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.button.secondary {
  background: var(--light);
  color: var(--navy);
  border: 1px solid var(--border);
}

.empty-state {
  margin-top: 20px;
  padding: 32px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  text-align: center;
  background: var(--light);
}

.empty-state h2 {
  margin: 0 0 8px;
}

.empty-state p {
  margin: 0 0 20px;
  color: var(--muted);
}

.job-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: var(--white);
}

.job-number {
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 6px;
}

.job-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.job-card p {
  margin: 0;
  color: var(--muted);
}

.job-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.job-side small {
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  background: var(--light);
  color: var(--navy);
  border: 1px solid var(--border);
}

.badge-approved {
  background: #ecfdf3;
  color: var(--success);
  border-color: #abefc6;
}

.badge-changes_requested {
  background: #fef3f2;
  color: var(--danger);
  border-color: #fecdca;
}

.badge-proof_sent,
.badge-artwork,
.badge-production {
  background: #eff4ff;
  color: var(--blue);
  border-color: #c7d7fe;
}

.form-card {
  max-width: 760px;
  margin: 0 auto;
}

.form {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.form label {
  font-weight: 800;
  margin-top: 8px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  color: var(--navy);
  background: var(--white);
}

.form textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 720px) {
  .topbar,
  .job-card,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .job-side {
    align-items: flex-start;
  }
}

.button.small {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
}

.button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mini-line,
.muted {
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.detail-card,
.approval-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: var(--white);
}

.detail-card h2,
.approval-card h2,
.section-head h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.copy-field {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  margin: 8px 0 14px;
  color: var(--navy);
  background: var(--light);
  font: inherit;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  margin-bottom: 12px;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: var(--white);
}

.proof-row p {
  margin: 6px 0 0;
  color: var(--muted);
}

.badge-pending {
  background: #eff4ff;
  color: var(--blue);
  border-color: #c7d7fe;
}

.badge-superseded {
  background: var(--light);
  color: var(--muted);
}

.proof-page {
  max-width: 1180px;
}

.proof-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.proof-viewer {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--light);
  margin-bottom: 22px;
}

.proof-viewer img {
  display: block;
  width: 100%;
  height: auto;
}

.proof-viewer iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
}

.approval-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 820px) {
  .detail-grid,
  .approval-grid {
    grid-template-columns: 1fr;
  }

  .button-row,
  .section-head,
  .proof-row {
    flex-direction: column;
    align-items: stretch;
  }

  .proof-viewer iframe {
    height: 520px;
  }
}


.comment-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: var(--white);
}

.comment-row + .comment-row {
  margin-top: 12px;
}

.comment-main p {
  margin: 8px 0 0;
  color: var(--navy);
  line-height: 1.5;
}

.comment-row small {
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .comment-row {
    flex-direction: column;
  }

  .comment-row small {
    white-space: normal;
  }
}

.current-proof-label {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  background: #ecfdf3;
  color: var(--success);
  border: 1px solid #abefc6;
}


.upload-status {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #c7d7fe;
  border-radius: 14px;
  background: #eff4ff;
}

.upload-status-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--navy);
  margin-bottom: 10px;
}

.upload-progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}

.upload-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--blue);
  transition: width 0.2s ease;
}

.upload-status p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.upload-status.upload-error {
  border-color: #fecdca;
  background: #fef3f2;
}

.upload-status.upload-error .upload-progress-fill {
  background: var(--danger);
}

.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.disabled-link {
  opacity: 0.55;
  pointer-events: none;
}

.note-panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: var(--light);
}

.compact-form {
  margin-top: 0;
  margin-bottom: 16px;
}

.compact-form textarea {
  background: var(--white);
}

.small-empty {
  margin-top: 12px;
  padding: 18px;
}

.note-list {
  margin-top: 14px;
}

.internal-note-row {
  background: var(--white);
  border-left: 5px solid var(--blue);
}


.timeline-list {
  position: relative;
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: var(--white);
}

.timeline-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 4px #eff4ff;
}

.timeline-content {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

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

.timeline-content strong {
  color: var(--navy);
  line-height: 1.35;
}

.timeline-content small {
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .timeline-content {
    flex-direction: column;
    gap: 4px;
  }

  .timeline-content small {
    white-space: normal;
  }
}

.due-line {
  font-weight: 700;
}

.due-small {
  color: var(--blue) !important;
  font-weight: 800;
}

.due-date-form {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.compact-actions {
  justify-content: flex-start;
  margin-top: 8px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0 18px;
}

.metric-card {
  display: block;
  min-height: 98px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--light);
  text-decoration: none;
  color: var(--navy);
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 8px;
}

.metric-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.metric-card.active {
  border-color: #c7d7fe;
  background: #eff4ff;
}

.metric-card.danger-metric {
  background: #fef3f2;
  border-color: #fecdca;
}

.metric-card.danger-metric strong,
.metric-card.danger-metric span {
  color: var(--danger);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.filter-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--light);
  color: var(--muted);
  font-size: 12px;
}

.filter-pill.active {
  border-color: #c7d7fe;
  background: #eff4ff;
  color: var(--blue);
}

.filter-pill.active span {
  background: var(--blue);
  color: var(--white);
}

.filter-overdue.active,
.filter-overdue:hover {
  border-color: #fecdca;
  background: #fef3f2;
  color: var(--danger);
}

.dashboard-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 0;
}

.dashboard-heading-row h2 {
  margin: 0;
  font-size: 22px;
}

.dashboard-heading-row p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.job-overdue {
  border-color: #fecdca;
  background: #fffafa;
}

.job-due-soon:not(.job-overdue) {
  border-color: #c7d7fe;
}

.overdue-text {
  color: var(--danger) !important;
  font-weight: 800;
}

@media (max-width: 980px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .dashboard-heading-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.status-update-form {
  margin-top: 14px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--light);
}

.inline-form-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.inline-form-row select {
  flex: 1;
}

@media (max-width: 720px) {
  .inline-form-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.calendar-page-card {
  max-width: 1280px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--light);
}

.calendar-nav h2 {
  margin: 0;
  font-size: 24px;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  gap: 8px;
  margin-bottom: 8px;
}

.calendar-weekdays div {
  padding: 10px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.calendar-days {
  gap: 8px;
}

.calendar-day {
  min-height: 170px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.calendar-day.muted-day {
  background: #fafbfc;
  opacity: 0.62;
}

.calendar-day.today-day {
  border-color: #c7d7fe;
  background: #eff4ff;
}

.calendar-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.calendar-day-head strong {
  font-size: 16px;
}

.calendar-day-head span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
}

.calendar-jobs {
  display: grid;
  gap: 7px;
}

.calendar-job {
  display: block;
  padding: 8px 8px 8px 10px;
  border: 1px solid var(--border);
  border-left-width: 5px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
}

.calendar-job:hover {
  border-color: #c7d7fe;
  box-shadow: 0 8px 18px rgba(16, 35, 63, 0.08);
}

.calendar-job-number,
.calendar-job small,
.calendar-job em {
  display: block;
}

.calendar-job-number {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 3px;
}

.calendar-job strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
}

.calendar-job small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.calendar-job em {
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}

.badge-left-approved { border-left-color: var(--success); }
.badge-left-changes_requested { border-left-color: var(--danger); }
.badge-left-proof_sent,
.badge-left-artwork,
.badge-left-production { border-left-color: var(--blue); }
.badge-left-new { border-left-color: var(--muted); }
.badge-left-completed { border-left-color: var(--success); opacity: 0.72; }

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

  .calendar-weekdays {
    display: none;
  }

  .calendar-day {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .top-actions,
  .calendar-nav {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Customer Portal Phase 2 */
.customer-portal-wrap {
  max-width: 1120px;
}
.customer-dashboard-card {
  padding: 36px;
}
.customer-topbar {
  align-items: flex-start;
}
.portal-section-head {
  margin-top: 34px;
  margin-bottom: 14px;
}
.portal-section-head h2 {
  margin-bottom: 4px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.product-card,
.order-card,
.reorder-request-card,
.reorder-summary-card {
  border: 1px solid #d8e1f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(25, 43, 74, 0.06);
}
.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  min-height: 180px;
}
.product-card h3,
.order-card h3 {
  margin: 0 0 8px;
  color: #15213d;
}
.product-card p,
.order-card p,
.reorder-request-card p,
.reorder-summary-card p {
  margin: 0 0 10px;
  color: #5b6680;
}
.product-actions,
.order-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.order-card-list,
.reorder-request-list {
  display: grid;
  gap: 12px;
}
.order-card,
.reorder-request-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}
.reorder-side {
  text-align: right;
  display: grid;
  gap: 8px;
}
.soft-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #d8e1f1;
  background: #f7f9fe;
  color: #15213d;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 13px;
}
.portal-empty h3 {
  margin-top: 0;
}
.reorder-summary-card {
  padding: 22px;
  margin-bottom: 22px;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.choice-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #d8e1f1;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  background: #fff;
}
.choice-card strong,
.choice-card small {
  display: block;
}
.choice-card small {
  color: #5b6680;
  margin-top: 4px;
}
.customer-product-admin-card textarea {
  min-height: 84px;
}
@media (max-width: 700px) {
  .customer-dashboard-card {
    padding: 24px;
  }
  .order-card,
  .reorder-request-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .reorder-side {
    text-align: left;
  }
}


/* Customer portal Phase 3 repair/polish */
.portal-logo,
.customer-logo {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 80px;
  height: auto;
  margin-bottom: 14px;
}
.customer-dashboard-card .portal-logo,
.customer-dashboard-card .customer-logo {
  max-width: 210px;
}
.customer-portal-wrap {
  background: #f5f7fb;
}
.customer-dashboard-card {
  overflow: hidden;
}
.customer-topbar {
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 22px;
}
.portal-eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}
.portal-success {
  margin: 0 0 24px;
}
.quick-reorder-panel {
  border: 1px solid #c7d7fe;
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  margin-bottom: 28px;
}
.quick-reorder-panel h2 {
  margin: 0 0 6px;
  font-size: 24px;
}
.quick-reorder-panel p {
  margin: 0 0 16px;
  color: var(--muted);
}
.quick-reorder-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.quick-reorder-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.quick-reorder-chip:hover {
  border-color: #9bb8ff;
}
.portal-section-head {
  margin-top: 24px;
}
.portal-section-head h2 {
  margin-bottom: 4px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(16,35,63,.06);
}
.product-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.product-icon {
  display: none;
}

.product-reference {
  margin: 2px 0 0 !important;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}
.product-card p {
  margin: 0 0 8px;
  color: var(--muted);
}
.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.order-card-list,
.reorder-request-list {
  display: grid;
  gap: 12px;
}
.order-card,
.reorder-request-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.order-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.order-card p,
.reorder-request-card p {
  margin: 0 0 8px;
  color: var(--muted);
}
.order-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.reorder-side {
  text-align: right;
  display: grid;
  gap: 8px;
}
.soft-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f7f9fe;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}
.badge-completed,
.badge-approved {
  background: #ecfdf3;
  color: var(--success);
  border-color: #abefc6;
}
.badge-new {
  background: #fff7ed;
  color: #b54708;
  border-color: #fed7aa;
}
.badge-production {
  background: #fff7ed;
  color: #b54708;
  border-color: #fed7aa;
}
.badge-proof_sent,
.badge-artwork {
  background: #eff4ff;
  color: var(--blue);
  border-color: #c7d7fe;
}
@media (max-width: 720px) {
  .customer-topbar,
  .order-card,
  .reorder-request-card {
    flex-direction: column;
    align-items: stretch;
  }
  .order-actions {
    justify-content: flex-start;
  }
  .reorder-side {
    text-align: left;
  }
  .portal-logo,
  .customer-logo,
  .customer-dashboard-card .portal-logo,
  .customer-dashboard-card .customer-logo {
    max-width: 180px;
  }
}
