.assanpay-checkout-ui {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.assanpay-checkout-ui * {
	box-sizing: border-box;
}

.payment_method_assanpay_checkout{
	background: #f9fafa;
	padding: 12px 0px;
    margin: 10px 0px;
}

/* Branded header now lives on the payment-method label row (from get_icon()). */
.payment_method_assanpay_checkout > label {
	display: inline;
	width: 100%;
	cursor: pointer;
}

.payment_method_assanpay_checkout > label img {
	float: none;
	max-height: none;
}

.assanpay-header {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 90%;
	margin: 0;
	flex-wrap: wrap;
}

.assanpay-brand {
	display: inline-flex;
	/* align-items: center; */
	gap: 10px;
	min-width: 0;
}

.assanpay-logo {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	display: block;
	/* background: #fff; */
	border-radius: 10px;
	padding: 4px;
	object-fit: contain;
}


.assanpay-powered-by .assanpay-logo{
	background: #fff;
}

.assanpay-brand-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.assanpay-title {
	color: #E09145;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.assanpay-subtitle {
	color: #6b7280;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
}

.assanpay-icons {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	margin-left: -10px;
	margin-top: 10px;
}

/* Force uniform icon sizing so themes' `img { height:auto }` can't blow them up. */
.assanpay-icons img {
	height: 28px !important;
	width: auto !important;
	max-height: 28px !important;
	max-width: 52px !important;
	display: block;
	object-fit: contain;
}

.assanpay-icons img.assanpay-icon-bg,
.assanpay-icons img.assanpay-icon-visa {
	/* background: #fff; */
	width: 40px !important;
	max-width: 40px !important;
	padding: 3px 5px;
}

.assanpay-icons img.assanpay-icon-bg {
	border-radius: 0px;
}

.assanpay-icons img.assanpay-icon-visa {
	border-radius: 0;
}

.assanpay-info-box {
	background: #e8e4ef;
	border-radius: 8px;
	padding: 16px 18px 14px;
	position: relative;
}

.assanpay-info-text {
	color: #374151;
	font-size: 13px;
	line-height: 1.55;
	margin: 0 0 28px;
}

.assanpay-powered-by {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	color: #6b7280;
	font-size: 12px;
	line-height: 1;
}

.assanpay-powered-by strong {
	color: #E09145;
	font-weight: 600;
}

.assanpay-powered-by .assanpay-logo {
	width: 32px;
	height: 32px;
	padding: 4px;
	border-radius: 10px;
}

/* Hide default WooCommerce description when custom UI is present */
.payment_method_assanpay_checkout .payment_box > p:first-child {
	display: none;
}

.assanpay-powered-by a, .assanpay-powered-by a:visited, .assanpay-powered-by a:hover, .assanpay-powered-by a:active {
 color: inherit !important; 
 text-decoration: none !important;
}


@media (max-width: 480px) {
	.assanpay-header {
		flex-direction: column;
	}

	.assanpay-icons {
		width: 100%;
	}

	.assanpay-title {
		font-size: 16px;
	}

	.assanpay-subtitle {
		font-size: 10px;
	}
}
