/*
 * Kanga Pay Frontend Styles
 * These styles apply to the checkout page payment methods.
 */

/* Main container for each Kanga Pay payment method list item */
.wc_payment_method[class*="payment_method_kanga_pay_"] {
	display: flex !important;
	align-items: center !important;
	margin-bottom: 10px !important;
	padding: 15px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.wc_payment_method[class*="payment_method_kanga_pay_"]:hover {
	border-color: #b0b0b0;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* The label containing the method name and logo */
.wc_payment_method[class*="payment_method_kanga_pay_"] label {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	flex: 1 !important;
	margin-bottom: 0 !important;
	font-size: 16px;
	font-weight: 500;
	color: #333;
}

/* The logo image for the payment method */
.wc_payment_method[class*="payment_method_kanga_pay_"] label img {
	max-width: 90px;
	height: auto;
	margin-left: 15px;
	border-radius: 5px;
}

/* The radio button for selecting the payment method */
.wc_payment_method[class*="payment_method_kanga_pay_"] input[type="radio"] {
	margin-right: 15px !important;
	flex-shrink: 0;
}

/* Hide the default payment method description box if it's empty */
.wc_payment_method[class*="payment_method_kanga_pay_"] .payment_box {
	display: none;
}

.payment_method_kanga_pay img {
	height: 100px !important;
	margin: 0 !important;
}
