/* WC Age Verification ─ age-verification.css */

.wc-age-field {
	position: relative;
}

/* Label row */
.wc-age-field label {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.wc-age-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #ec6624;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 20px;
	line-height: 1.6;
	vertical-align: middle;
}

/* Input wrapper */
.wc-age-input-wrap {
	position: relative;
	display: block;
}

.wc-age-input-wrap input[type="date"] {
	width: 100%;
	padding-right: 44px !important; /* room for icon */
	box-sizing: border-box;
}

/* Calendar icon */
.wc-age-icon {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #999;
	pointer-events: none;
	display: flex;
	align-items: center;
}

/* Hint text */
.wc-age-hint {
	display: block;
	font-size: 12.5px;
	color: #888;
	margin-top: 5px;
	line-height: 1.5;
}

/* Inline validation error */
.wc-age-error {
	display: block;
	font-size: 13px;
	color: #cc0000;
	margin-top: 4px;
	min-height: 18px;
	font-weight: 500;
}

/* Valid state */
.wc-age-input-wrap input[type="date"].wc-age--valid {
	border-color: #3a9e6a !important;
	box-shadow: 0 0 0 2px rgba(58, 158, 106, 0.15) !important;
}

/* Invalid state */
.wc-age-input-wrap input[type="date"].wc-age--invalid {
	border-color: #cc0000 !important;
	box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.12) !important;
}
