/**
 * Styles for Ginih payment fields in WooCommerce Blocks checkout
 *
 * @package Ginih_WooCommerce
 */

.ginih-payment-fields,
.ginih-payment-fields-test {
	display: block !important;
	padding: 10px 0;
	margin: 10px 0;
	visibility: visible !important;
	opacity: 1 !important;
}

.ginih-payment-fields-test {
	padding: 20px !important;
	background: #ffff00 !important;
	border: 2px solid red !important;
	margin: 10px 0 !important;
}

.ginih-payment-fields .wc-block-components-text-input-wrapper {
	margin-bottom: 15px;
}

.ginih-payment-fields .wc-block-components-text-input-label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
}

.ginih-payment-fields .wc-block-components-text-input {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
}

.ginih-payment-fields .wc-block-components-text-input:focus {
	border-color: #0073aa;
	outline: none;
	box-shadow: 0 0 0 1px #0073aa;
}

.ginih-payment-fields .required {
	color: #d63638;
	margin-left: 3px;
}

.ginih-payment-fields select.wc-block-components-text-input {
	padding-right: 30px;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	appearance: none;
}

/* Specific styling for expiry month/year dropdowns */
#ginih-card-expiry-month.wc-block-components-text-input,
#ginih-card-expiry-year.wc-block-components-text-input {
	min-height: 40px;
	line-height: 18px;
	padding-top: 8px;
	padding-bottom: 8px;
	background-color: #fff;
	border-radius: 4px;
	font-size: 14px;
}

#ginih-card-expiry-month.wc-block-components-text-input:focus,
#ginih-card-expiry-year.wc-block-components-text-input:focus {
	border-color: #0073aa;
	box-shadow: 0 0 0 1px #0073aa;
}
