/* Customer (signed-in) area — light mode */

.nav--account { background: rgba(255,255,255,.92); }

main.account { min-height: calc(100vh - 240px); padding: 60px 0; }

/* ---------- auth cards ---------- */
.auth { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth__card {
  width: 100%; max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 6px 6px 0 rgba(115, 79, 252, 0.16);
}
.auth__card h1 { font-size: 1.8rem; margin-bottom: 6px; text-shadow: var(--tshadow-sm); }
.auth__sub { color: var(--text-2); margin-bottom: 24px; }
.auth__alt { margin-top: 22px; color: var(--text-2); font-size: .9rem; text-align: center; }
.auth__alt a { color: var(--text); border-bottom: 2px solid var(--c-purple); }

/* ---------- dashboard ---------- */
.dash { padding: 60px 0; }
.dash__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 36px; flex-wrap: wrap; }
.dash__header h1 { text-shadow: var(--tshadow-md); }

.orders-table {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--bshadow-sm);
}
.orders-table__head, .orders-table__row {
  display: grid; grid-template-columns: 1.5fr .8fr .8fr 40px;
  gap: 14px; align-items: center;
  padding: 14px 20px;
}
.orders-table__head { background: var(--bg-2); color: var(--muted); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--border); }
.orders-table__row { border-top: 1px solid var(--border); transition: background .15s; color: var(--text); }
.orders-table__row:first-of-type { border-top: 0; }
.orders-table__row:hover { background: var(--bg-2); color: var(--text); }
.orders-table__title { display: flex; flex-direction: column; gap: 2px; }
.orders-table__title small { color: var(--muted); font-size: .8rem; font-weight: 500; }
.orders-table__title strong { font-weight: 700; }
.orders-table__arrow { color: var(--muted); }

.empty { padding: 60px 28px; text-align: center; border: 2px dashed var(--border-strong); border-radius: var(--radius-lg); }
.empty h2 { font-size: 1.4rem; margin-bottom: 6px; text-shadow: var(--tshadow-sm); }

/* ---------- order detail ---------- */
.order-detail { padding: 50px 0; }
.order-detail__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.order-detail__head h1 { text-shadow: var(--tshadow-md); }

.status-track {
  display: flex; gap: 6px; margin: 30px 0 40px;
  flex-wrap: wrap; padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--bshadow-sm);
}
.status-track__node { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 110px; opacity: .55; }
.status-track__node.is-active { opacity: 1; }
.status-track__dot { height: 5px; border-radius: 99px; background: var(--bg-3); }
.status-track__node.is-active .status-track__dot { background: var(--accent-grad); }
.status-track__label { font-size: .8rem; color: var(--text-2); }

.panel {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 24px;
  margin-bottom: 22px;
  box-shadow: var(--bshadow-sm);
}
.panel h2 { font-size: 1.05rem; margin-bottom: 14px; text-shadow: none; }
.panel h3 { font-size: .9rem; margin-top: 18px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

.file-list { list-style: none; padding: 0; margin: 0; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.file-list li:last-child { border-bottom: 0; }
.file-list a { color: var(--text); border-bottom: 2px solid var(--c-purple); }
.file-list small { color: var(--muted); font-size: .82rem; }

.messages { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 12px; }
.msg {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.msg--staff {
  border-color: var(--c-purple);
  background: rgba(115, 79, 252, 0.06);
  box-shadow: 3px 3px 0 rgba(115, 79, 252, 0.10);
}
.msg header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.msg header small { color: var(--muted); font-size: .78rem; }

.form--reply {
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 16px;
}
