/**
 * UWA Delivery Fee Addon — front-end styles.
 * The bid-form delivery panel: a grouped dark card (matching the site's black/red
 * theme) with the method select, preferred-date field, instruction note, required
 * labels and validation message. Forced visible and full-width on mobile, in the
 * bidding area, before the bid button.
 */

.uwa-df-panel {
	margin: 16px 0;
	/* Keep the panel visible everywhere (some themes hide widgets on mobile). */
	display: block !important;
	visibility: visible !important;
}

.uwa-df-card {
	background: #141414;
	border: 1px solid #2a2a2a;
	border-radius: 14px;
	padding: 18px;
	box-sizing: border-box;
}

/* Header */
.uwa-df-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.uwa-df-ico {
	width: 30px;
	height: 30px;
	flex: none;
	border-radius: 8px;
	background: #e4002b;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.uwa-df-title {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
}

.uwa-df-req-pill {
	margin-left: auto;
	background: #2a0d12;
	color: #ff6b7f;
	border: 1px solid #5a1622;
	font-size: 11px;
	padding: 3px 9px;
	border-radius: 20px;
	white-space: nowrap;
}

/* Instruction note */
.uwa-df-note {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	background: #1e1410;
	border: 1px solid #4a2a12;
	border-radius: 10px;
	padding: 10px 12px;
	margin-bottom: 16px;
	color: #e9d9cf;
	font-size: 13px;
	line-height: 1.5;
}

.uwa-df-note svg {
	color: #ffb27a;
	flex: none;
	margin-top: 1px;
}

/* Fields */
.uwa-df-field {
	margin-bottom: 16px;
}

.uwa-df-field label {
	display: block;
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 7px;
}

.uwa-df-star {
	color: #ff5b73;
}

.uwa-df-panel .uwa-df-method-select,
.uwa-df-panel #uwa_df_date {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	color: #1d2327;
	border: 1px solid #cfd2d6;
	border-radius: 9px;
	padding: 12px 13px;
	font-size: 14.5px;
	line-height: 1.4;
	min-height: 46px;
}

.uwa-df-panel .uwa-df-method-select:focus,
.uwa-df-panel #uwa_df_date:focus {
	outline: none;
	border-color: #e4002b;
	box-shadow: 0 0 0 2px rgba(228, 0, 43, 0.25);
}

.uwa-df-help {
	display: block;
	color: #9aa0a6;
	font-size: 12px;
	margin-top: 7px;
}

.uwa-df-no-methods {
	color: #ff9b9b;
	margin: 0;
}

/* Validation error */
.uwa-df-error {
	gap: 10px;
	align-items: flex-start;
	background: #2a0d12;
	border: 1px solid #5a1622;
	border-left: 3px solid #e4002b;
	border-radius: 9px;
	padding: 11px 13px;
	margin-top: 4px;
	color: #ffb3bd;
	font-size: 13.5px;
	line-height: 1.5;
}

.uwa-df-error svg {
	color: #ff6b7f;
	flex: none;
	margin-top: 1px;
}

/* Mobile: full-width, visible, before the bid button. */
@media (max-width: 768px) {
	.uwa-df-panel {
		display: block !important;
		visibility: visible !important;
		width: 100%;
	}
	.uwa-df-card {
		padding: 16px;
	}
	.uwa-df-req-pill {
		font-size: 10px;
		padding: 3px 8px;
	}
}
