.jkr-orders .checkout-step { max-width: 960px; margin: 0 auto; }
.jkr-orders__wrap { overflow-x: auto; }
.jkr-orders__table { width: 100%; border-collapse: collapse; }
.jkr-orders__table thead th {
	text-align: left; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
	color: #6b7280; font-weight: 600; padding: .55rem .75rem; border-bottom: 2px solid #e5e7eb;
}
.jkr-orders__table tbody td { padding: .95rem .75rem; border-bottom: 1px solid #eef0f2; vertical-align: middle; }
.jkr-orders__table tbody tr:last-child td { border-bottom: 0; }
.jkr-orders__no { font-weight: 600; }
.jkr-orders__num { text-align: right; white-space: nowrap; }
.jkr-orders__act { text-align: right; white-space: nowrap; }
.jkr-orders__status {
	display: inline-block; padding: .25rem .65rem; border-radius: 999px;
	font-size: .8rem; font-weight: 600; background: #eef0f2; color: #374151;
}
/* abgeschlossen / bezahlt -> gruen */
.jkr-orders__status[data-status="signed"], .jkr-orders__status[data-status="paid"], .jkr-orders__status[data-status="sent"] { background: #e6f4ea; color: #1e7e34; }
/* storniert / abgelehnt -> rot */
.jkr-orders__status[data-status="canceled"], .jkr-orders__status[data-status="cancelled"], .jkr-orders__status[data-status="declined"] { background: #fde8e8; color: #b02a37; }
/* in Bearbeitung / Unterlagen ausstehend -> gelb */
.jkr-orders__status[data-status="awaiting_upload"], .jkr-orders__status[data-status="prepared"], .jkr-orders__status[data-status="pending"], .jkr-orders__status[data-status="open"] { background: #fef3cd; color: #8a6d00; }
/* Anfrage eingegangen -> blau/neutral */
.jkr-orders__status[data-status="requested"] { background: #e7f0fb; color: #1f5fae; }
.jkr-orders__detail {
	display: inline-block; white-space: nowrap;
	padding: .3rem .75rem; font-size: .85rem; line-height: 1.4;
	background: #000; color: #fff; border: 0; border-radius: 4px;
	text-decoration: none; transition: background-color .15s ease;
}
.jkr-orders__detail:hover, .jkr-orders__detail:focus { background: #333; color: #fff; text-decoration: none; }
.jkr-orders__empty { padding: 2.5rem 1rem; text-align: center; color: #6b7280; }
@media (max-width: 640px) {
	.jkr-orders__table thead { display: none; }
	.jkr-orders__table, .jkr-orders__table tbody, .jkr-orders__table tr, .jkr-orders__table td { display: block; width: 100%; }
	.jkr-orders__table tr { border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: .85rem; padding: .35rem .65rem; }
	.jkr-orders__table td { border: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem .25rem; }
	.jkr-orders__table td::before { content: attr(data-label); font-weight: 600; color: #6b7280; }
	.jkr-orders__num, .jkr-orders__act { text-align: right; }
}

/* Detailansicht */
.jkr-orders__backrow { margin-bottom: 1rem; }
.jkr-orders__back { font-size: .9rem; text-decoration: none; color: #374151; }
.jkr-orders__back:hover { text-decoration: underline; }
.jkr-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .85rem 1.5rem; margin: 0 0 1.75rem; }
.jkr-detail-grid > div { display: flex; flex-direction: column; gap: .15rem; }
.jkr-detail-grid dt { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: #6b7280; font-weight: 600; margin: 0; }
.jkr-detail-grid dd { margin: 0; }
.jkr-detail-h4 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 .65rem; }
.jkr-detail-address { font-size: .95rem; line-height: 1.55; color: #374151; }
.jkr-detail-address__row { display: flex; gap: .5rem; }
.jkr-detail-address__label { min-width: 160px; color: #6b7280; }
.jkr-detail-custom { font-size: .85rem; color: #6b7280; margin-top: .2rem; }
.jkr-orders__totalrow td { border-top: 2px solid #e5e7eb; padding-top: .8rem; }
.jkr-detail-buttons { margin-top: 1.5rem; }
@media (max-width: 640px) {
	.jkr-orders__foot-spacer { display: none; }
	.jkr-detail-address__row { flex-direction: column; gap: 0; }
	.jkr-detail-address__label { min-width: 0; }
}
