/**
 * Woo Smart Shipping – Delivery Estimate widget styles.
 */

.ccss-delivery-estimate {
	margin: 1em 0;
	font-size: 0.95em;
	line-height: 1.5;
}

.ccss-estimate-label {
	font-weight: 600;
	margin-bottom: 0.35em;
}

/* Postcode form */
.ccss-postcode-form {
	display: flex;
	gap: 0.5em;
	align-items: center;
	margin: 0.5em 0;
	flex-wrap: wrap;
}

.ccss-postcode-input {
	max-width: 160px;
	padding: 0.45em 0.65em;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 0.95em;
}

.ccss-estimate-btn {
	padding: 0.45em 1em;
	border: none;
	border-radius: 4px;
	background: #333;
	color: #fff;
	font-size: 0.9em;
	cursor: pointer;
	transition: background 0.2s;
}

.ccss-estimate-btn:hover {
	background: #555;
}

/* Result area */
.ccss-estimate-result {
	margin-top: 0.5em;
}

.ccss-estimate-price {
	font-weight: 700;
	color: #222;
}

.ccss-estimate-price.ccss-free {
	color: #2a7d2a;
}

.ccss-estimate-dates {
	display: block;
	font-size: 0.88em;
	color: #666;
	margin-top: 0.2em;
}

/* States */
.ccss-estimate-loading {
	color: #888;
	font-style: italic;
}

.ccss-estimate-unavailable,
.ccss-estimate-error {
	color: #b00;
	font-size: 0.9em;
}
