.rpt-rush-options {
	margin: 12px 0;
	padding: 12px;
	border: 1px solid #ddd;
	background: #fafafa;
}

.rpt-rush-title {
	margin: 0 0 8px;
}

.rpt-rush-radio-row {
	margin: 4px 0;
}

.rpt-ship-date-preview {
	margin-top: 10px;
	font-weight: 600;
	color: #2c6e2f;
}

.rpt-order-ship-date {
	margin: 10px 0;
	padding: 10px 12px;
	background: #f6f7f7;
	border-left: 4px solid #7f54b3;
}

.rpt-order-ship-date .rpt-pending {
	color: #a06400;
	font-weight: 600;
}

.rpt-order-ship-date .rpt-confirmed {
	color: #2c6e2f;
	font-weight: 600;
}

.rpt-order-ship-date .rpt-notice {
	display: block;
	margin-top: 6px;
	font-size: 0.9em;
	color: #c0392b;
	font-weight: 600;
}

.rpt-conflict-inline {
	color: #c0392b;
	font-weight: 600;
}

.rpt-rush-select-notice {
	margin: 6px 0 0;
	color: #c0392b;
	font-weight: 600;
	font-size: 0.9em;
}

.rpt-cart-summary {
	margin: 12px 0;
	padding: 10px 12px;
	background: #f6f7f7;
	border-left: 4px solid #7f54b3;
}

.rpt-cart-ship-line,
.rpt-cart-delivery-line {
	margin: 0 0 4px;
}

.rpt-cart-conflict-notice {
	margin: 6px 0 0;
	color: #c0392b;
	font-weight: 600;
	font-size: 0.9em;
}

table.rpt-email-rush-table {
	width: 100%;
	border-collapse: collapse;
	margin: 10px 0 20px;
}

table.rpt-email-rush-table th,
table.rpt-email-rush-table td {
	border: 1px solid #e5e5e5;
	padding: 6px 10px;
	text-align: left;
	font-size: 13px;
}

/*
 * Product edit screen — "Rush Options" tab.
 * Scoped under the panel's own ID so these rules win over WooCommerce's
 * generic .options_group .form-field label { float:left; width:150px }
 * convention, which is meant for short field captions and otherwise
 * badly wraps full sentences and disrupts the rest of the panel's layout.
 */
#rpt_rush_options_data {
	overflow: hidden; /* Contain any residual floats from WC's own markup. */
}

#rpt_rush_options_data .options_group {
	padding: 12px;
}

#rpt_rush_options_data label {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

#rpt_rush_options_data .rpt-mode-heading {
	font-weight: 600;
	margin: 0 0 10px;
}

#rpt_rush_options_data .rpt-mode-row {
	margin: 6px 0;
}

#rpt_rush_options_data .rpt-mode-row label {
	display: block;
}

#rpt_rush_options_data .rpt-mode-section {
	margin: 10px 0 16px 24px;
	padding: 12px;
	background: #f6f7f7;
	border-left: 3px solid #ccc;
	max-width: 640px;
}

#rpt_rush_options_data .rpt-option-picker p {
	margin: 6px 0;
}

#rpt_rush_options_data select {
	max-width: 100%;
}

/* Pricing Groups admin page uses the same option-picker markup. */
.rpt-option-picker p {
	margin: 6px 0;
}

/* Action columns (Update/Delete/Edit buttons) across all admin tables —
 * centered both horizontally and vertically within their cell.
 * Element + class selector needed to out-specificity WooCommerce's own
 * .widefat td { vertical-align: top } rule. */
td.rpt-action-cell {
	text-align: center;
	vertical-align: middle;
}

/* Product page Ordered/Production/Shipped/Delivered timeline. */
.rpt-timeline {
	margin: 16px 0;
}

.rpt-timeline-text p {
	margin: 4px 0;
}

.rpt-timeline-visual {
	border: 1px solid #e0e0e0;
	border-radius: 3px;
	overflow: hidden;
}

.rpt-timeline-visual .rpt-timeline-row {
	display: flex;
}

.rpt-timeline-visual .rpt-timeline-row-ordered {
	border-bottom: 1px solid #e0e0e0;
}

.rpt-timeline-visual .rpt-timeline-cell {
	flex: 1 1 0;
	min-width: 0;
	text-align: center;
	padding: 16px 8px;
	border-right: 1px solid #e0e0e0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.rpt-timeline-visual .rpt-timeline-cell:last-child {
	border-right: none;
}

.rpt-timeline-visual .rpt-timeline-icon {
	color: #222;
	line-height: 0;
}

.rpt-timeline-visual .rpt-timeline-label {
	font-weight: bold;
	font-size: 14px;
}

.rpt-timeline-visual .rpt-timeline-date {
	color: #000000;
	font-size: 14px;
}
