/* =====================================================================
   YITH Booking Time Addon – Styles
   ===================================================================== */

/* ---- Wrapper for both time pickers ---------------------------------- */
.ybta-time-pickers {
	margin-top: 0;
}

/* ---- Individual time field ------------------------------------------ */
.ybta-time-field {
	margin-top: 12px;
}

/* ---- Time select ---------------------------------------------------- */
.ybta-time-select {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	background-color: #fff;
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M6 8L0 0h12z' fill='%23666'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 10px 7px;
	padding-right: 32px;
	transition: border-color 0.2s;
}

.ybta-time-select:focus {
	outline: none;
	border-color: #a0a0a0;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

/* Out-of-hours indicator on the select itself */
.ybta-time-select.ybta-ooh {
	border-color: #e8a000;
	background-color: #fffbf0;
}

/* ---- OOH badge ------------------------------------------------------ */
.ybta-ooh-badge {
	display: inline-block;
	margin-top: 4px;
	padding: 2px 8px;
	border-radius: 12px;
	background-color: #e8a000;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	transition: opacity 0.2s;
}

.ybta-ooh-badge--hidden {
	display: none;
}

/* ---- Notice area ---------------------------------------------------- */
.ybta-notices {
	margin-top: 12px;
}

.ybta-notice {
	margin: 0 0 8px;
	padding: 10px 14px;
	border-left: 4px solid #e8a000;
	background-color: #fffbf0;
	color: #5d4a00;
	font-size: 13px;
	line-height: 1.5;
	border-radius: 0 4px 4px 0;
}

.ybta-notice:last-child {
	margin-bottom: 0;
}

/* ---- Cart / checkout: time meta display ----------------------------- */
.woocommerce-cart-form .ybta-time-meta,
.cart_item .ybta-time-meta {
	font-size: 12px;
	color: #666;
}
