/* wc-priority-delivery-fee/assets/wcpdf.css */

/* ── Panel cell ─────────────────────────────────────── */
.wcpdf-panel-cell {
	padding: 0 !important;
	border-top: none !important;
}

/* ── Panel wrapper ──────────────────────────────────── */
.wcpdf-panel {
	background: #fff3e0;
	border: 1px solid #e68a00;
	border-radius: 4px;
	padding: 14px 18px;
	margin: 8px 0 4px;
	font-size: 0.95em;
}

/* ── Row: label + input + cancel ────────────────────── */
.wcpdf-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.wcpdf-label {
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.wcpdf-optional {
	font-weight: normal;
	color: #777;
	font-size: 0.9em;
}

.wcpdf-datepicker {
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 6px 10px;
	font-size: 0.95em;
	min-width: 160px;
	cursor: pointer;
	background: #fff;
}

.wcpdf-datepicker:focus {
	outline: none;
	border-color: #96588a;
	box-shadow: 0 0 0 2px rgba(150, 88, 138, 0.15);
}

/* ── Cancel button ──────────────────────────────────── */
.wcpdf-cancel {
	background: transparent;
	border: 1px solid #cc0000;
	color: #cc0000;
	border-radius: 3px;
	padding: 5px 12px;
	font-size: 0.9em;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.wcpdf-cancel:hover {
	background: #cc0000;
	color: #fff;
}

.wcpdf-hidden {
	display: none !important;
}

/* ── Policy notice ──────────────────────────────────── */
.wcpdf-notice {
	margin: 8px 0 0;
	color: #555;
	font-size: 0.88em;
}

.wcpdf-notice a {
	color: #96588a;
	text-decoration: underline;
}

/* ── Fee preview strip ──────────────────────────────── */
.wcpdf-fee-preview {
	margin-top: 8px;
	padding: 7px 12px;
	background: #fff8e1;
	border-left: 3px solid #f0a500;
	border-radius: 2px;
	font-size: 0.9em;
	color: #6b4c00;
}

/* ── Responsive ─────────────────────────────────────── */
@media ( max-width: 600px ) {
	.wcpdf-row {
		flex-direction: column;
		align-items: flex-start;
	}
	.wcpdf-datepicker {
		width: 100%;
	}
}
