/* Account pages: sign-in/sign-up and customer dashboard */
.account-sec { padding-top: 64px; min-height: 60vh; }
.account-card { max-width: 560px; margin: 0 auto; }
.tabs { display: flex; gap: 8px; margin-bottom: 22px; background: rgba(16,37,68,.07); padding: 6px; border-radius: 12px; }
.tab { flex: 1; padding: 10px; border: none; border-radius: 8px; background: transparent; font: 600 1rem var(--font); color: var(--navy-800); cursor: pointer; }
.tab.active { background: #fff; box-shadow: 0 2px 8px rgba(16,37,68,.12); color: var(--navy-900); }
.alert { padding: 12px 14px; border-radius: 10px; font-size: .95rem; margin: 0 0 4px; font-weight: 500; }
.alert.error { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c0; }
.alert.ok { background: #e7f6ec; color: #1e7b3c; border: 1px solid #bfe6cc; }
.dash-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.dash-head h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.dash-sub { color: var(--muted); margin: 0; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .dash-grid { grid-template-columns: 1fr; } }
.ship-panel { background: var(--paper); border-radius: 20px; padding: 28px; border: 1px solid var(--line); }
.ship-panel h3 { margin: 0 0 18px; color: var(--navy-900); font-size: 1.3rem; }
.ship-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ship-item { border: 1px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s; background: #fff; text-align: start; width: 100%; font: inherit; }
.ship-item:hover, .ship-item.selected { border-color: var(--gold); box-shadow: 0 8px 20px rgba(16,37,68,.08); }
.ship-item .code { font-weight: 700; color: var(--navy-900); direction: ltr; display: inline-block; }
.ship-item .route { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.status-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(201,162,75,.16); color: var(--navy-900); font-size: .85rem; font-weight: 600; margin-top: 8px; }
.status-pill.delivered { background: #e7f6ec; color: #1e7b3c; }
.status-pill.exception { background: #fdecea; color: #b3261e; }
#detail-route { color: var(--navy-800); margin: 0 0 4px; font-weight: 600; }
#detail-cargo { color: var(--muted); margin: 0; font-size: .95rem; }
.timeline { list-style: none; margin: 20px 0 0; padding: 0; }
.timeline li { position: relative; padding-inline-start: 26px; padding-bottom: 18px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.timeline li::after { content: ""; position: absolute; inset-inline-start: 5px; top: 20px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.current::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,75,.25); }
.timeline .t-status { font-weight: 600; color: var(--navy-900); }
.timeline .t-note { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.timeline .t-date { color: var(--muted); font-size: .8rem; direction: ltr; display: inline-block; margin-top: 2px; }
