/* ReserveDaily Order Ops: My Account orders list and order view. Borderless, panels and spacing only. */

.rd-acc-heading { font-size: 16px; margin: 0 0 12px; }
.rd-order-cards { display: grid; gap: 14px; margin-bottom: 28px; }
.rd-order-card { display: block; background: #eff4f7; border-radius: 12px; padding: 18px 20px; color: #333; text-decoration: none; transition: box-shadow .15s; }
.rd-order-card:hover { box-shadow: 0 6px 20px rgba(8, 94, 131, .12); color: #333; }
.rd-order-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.rd-order-card-number { font-weight: 700; }
.rd-order-card-date { color: #5b7a8c; font-size: 13px; margin-left: 8px; }
.rd-order-card-items { color: #5b7a8c; font-size: 13px; margin-bottom: 12px; }
.rd-order-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; }
.rd-order-card-line { color: #333; }
.rd-order-card-total { font-weight: 700; }

.rd-stage { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #dbeefb; color: #085e83; white-space: nowrap; }
.rd-stage-rd-preparing, .rd-stage-rd-confirming { background: #fff3d6; color: #8a5a00; }
.rd-stage-rd-shipped, .rd-stage-rd-appointment { background: #085e83; color: #fff; }
.rd-stage-completed { background: #dff3e8; color: #1b5e3a; }
.rd-stage-cancelled, .rd-stage-refunded, .rd-stage-failed { background: #eceff2; color: #4a5560; }
.rd-stage-pending, .rd-stage-on-hold { background: #fff3d6; color: #8a5a00; }

.rd-progress { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; counter-reset: rd; }
.rd-progress li { flex: 1 1 0; position: relative; text-align: center; font-size: 12px; color: #8fa3b3; padding-top: 18px; }
.rd-progress li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 3px; background: #dce9f2; }
.rd-progress li:first-child::before { left: 50%; }
.rd-progress li:last-child::before { right: 50%; }
.rd-progress-dot { position: absolute; top: 0; left: 50%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: #dce9f2; }
.rd-progress li.is-done::before { background: #085e83; }
.rd-progress li.is-done .rd-progress-dot, .rd-progress li.is-current .rd-progress-dot { background: #085e83; }
.rd-progress li.is-current .rd-progress-dot { box-shadow: 0 0 0 4px rgba(8, 94, 131, .18); }
.rd-progress li.is-done, .rd-progress li.is-current { color: #333; }
.rd-progress li.is-current .rd-progress-label { font-weight: 700; }
.rd-order-card .rd-progress { margin: 4px 0 0; }

.rd-order-card-actions { margin: -6px 0 0; padding: 0 20px; font-size: 13px; }
.rd-order-card-actions a { color: #085e83; text-decoration: underline; }
.rd-order-history { list-style: none; margin: 0 0 20px; padding: 0; }
.rd-order-history li { display: flex; align-items: center; gap: 8px; }
.rd-order-history li > a:first-child { flex: 1; }
.rd-history-invoice { font-size: 13px; color: #085e83; text-decoration: underline; white-space: nowrap; padding: 0 14px 0 0; }
.rd-order-history li a { display: grid; grid-template-columns: 80px 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; color: #333; text-decoration: none; }
.rd-order-history li a:hover { background: #eff4f7; }
.rd-history-number { font-weight: 700; }
.rd-history-date { color: #5b7a8c; font-size: 13px; }
.rd-history-total { font-weight: 600; }

.rd-notice { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #eff4f7; color: #333; font-size: 13px; }
.rd-notice-delay { background: #fff3d6; color: #6b4e0b; }

.rd-view-order { margin-bottom: 28px; }
.rd-view-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.rd-view-title { margin: 0 0 2px; font-size: 20px; }
.rd-view-date { color: #5b7a8c; font-size: 13px; }
.rd-view-order .rd-progress { margin: 8px 0 20px; }
.rd-view-block { background: #eff4f7; border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; }
.rd-view-block h3 { margin: 0 0 10px; font-size: 15px; }
.rd-view-eta { margin: 0 0 8px; }
.rd-view-disclaimer { display: block; color: #5b7a8c; font-size: 12px; margin-top: 2px; }
.rd-view-kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; margin: 8px 0; font-size: 14px; }
.rd-view-kv dt { color: #5b7a8c; }
.rd-view-kv dd { margin: 0; }
.rd-track-button, .rd-view-order a.button.rd-track-button { display: inline-block; margin-top: 8px; background: #085e83; color: #fff; border: 0; border-radius: 8px; padding: 10px 18px; text-decoration: none; }
.rd-view-arrival { margin-top: 12px; font-size: 13px; }
.rd-view-appt { padding: 10px 0; }
.rd-view-appt + .rd-view-appt { border-top: 0; margin-top: 6px; }
.rd-view-prep { margin-top: 8px; font-size: 13px; }
.rd-view-points { background: #dff3e8; color: #1b5e3a; border-radius: 12px; padding: 12px 16px; font-weight: 600; margin-bottom: 14px; }
.rd-view-contact { color: #5b7a8c; font-size: 13px; margin-top: 20px; }

@media (max-width: 600px) {
	.rd-progress-label { display: block; font-size: 11px; line-height: 1.2; }
	.rd-order-history li a { grid-template-columns: 1fr auto; }
	.rd-history-date { grid-column: 1 / -1; }
	.rd-view-kv { grid-template-columns: 1fr; gap: 2px; }
	.rd-view-kv dt { margin-top: 6px; }
}
