.slideit-bnpl-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: auto;
	max-width: 450px;
	margin-top: 12px;
	padding: 20px 24px;
	background: #fff;
	color: #333;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.slideit-bnpl-button:hover {
	border-color: #d0d0d0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	color: #333;
}
.slideit-bnpl-button-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	text-align: left;
}
.slideit-bnpl-button-brand {
	font-size: 14px;
	font-weight: 700;
	color: #333;
	margin-bottom: 4px;
	line-height: 1.2;
}
.slideit-bnpl-button-text {
	font-size: 14px;
	font-weight: 400;
	color: #666;
	line-height: 1.3;
}
.slideit-bnpl-button-installment {
	font-size: 14px;
	font-weight: 400;
	color: #333;
	line-height: 1.3;
	margin-top: 0;
}
.slideit-bnpl-button-installment strong {
	font-weight: 700;
}
.slideit-bnpl-button-features {
	font-size: 12px;
	font-weight: 400;
	color: #666;
	line-height: 1.3;
	margin-top: 4px;
}
.slideit-bnpl-button-more-options {
	text-decoration: underline;
}
.slideit-bnpl-button-logo {
	width: 120px;
	height: auto;
	object-fit: contain;
	margin-left: 16px;
	flex-shrink: 0;
}
/* Cart page button - increased size */
.slideit-bnpl-cart-button-wrapper .slideit-bnpl-button {
	width: 100%;
	max-width: 100%;
	min-height: 80px;
	padding: 24px 28px;
}
.slideit-bnpl-cart-button-wrapper {
	width: 100%;
	max-width: 100%;
	margin-bottom: 20px;
}
.slideit-bnpl-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999999;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.slideit-bnpl-modal-overlay.active {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}
.slideit-bnpl-modal {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	transform: scale(0.9);
	transition: transform 0.3s ease;
}
.slideit-bnpl-modal-overlay.active .slideit-bnpl-modal {
	transform: scale(1);
}
.slideit-bnpl-modal-header {
	padding: 24px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 12px 12px 0 0;
	position: relative;
}
.slideit-bnpl-modal-header-content {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 12px;
}
.slideit-bnpl-modal-logo {
	width: 80px;
	height: 80px;
	object-fit: contain;
	flex-shrink: 0;
}
.slideit-bnpl-modal-header-text {
	flex: 1;
}
.slideit-bnpl-modal-header h3 {
	margin: 0 0 4px 0;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
}
.slideit-bnpl-modal-subheading {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 300;
}
.slideit-bnpl-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(255, 255, 255, 0.2);
	border: none;
	font-size: 24px;
	color: #fff;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
}
.slideit-bnpl-modal-close:hover {
	background: rgba(255, 255, 255, 0.3);
	color: #fff;
}
.slideit-bnpl-modal-tabs {
	display: flex;
	gap: 12px;
	padding: 20px 24px;
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
}
.slideit-bnpl-tab {
	flex: 1;
	padding: 12px 20px;
	background: #f8f9fa;
	border: 2px solid #e5e5e5;
	border-radius: 8px;
	color: #666;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
}
.slideit-bnpl-tab:hover {
	background: #f0f0f0;
	border-color: #667eea;
	color: #667eea;
}
.slideit-bnpl-tab.active {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-color: #667eea;
	color: #fff;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.slideit-bnpl-modal-body {
	padding: 20px 24px;
}
.slideit-bnpl-plan-content {
	display: none;
}
.slideit-bnpl-plan-content.active {
	display: block;
}
.slideit-bnpl-payment-summary {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 12px;
	margin-bottom: 16px;
	text-align: center;
}
.slideit-bnpl-payment-summary .total-label {
	font-size: 12px;
	color: #666;
	margin-bottom: 4px;
}
.slideit-bnpl-payment-summary .total-amount {
	font-size: 20px;
	font-weight: 700;
	color: #333;
}
.slideit-bnpl-payment-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.slideit-bnpl-payment-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px;
	border-bottom: 1px solid #e5e5e5;
}
.slideit-bnpl-payment-item:last-child {
	border-bottom: none;
}
.slideit-bnpl-payment-item:hover {
	background: #f8f9fa;
}
.slideit-bnpl-payment-date {
	font-size: 14px;
	color: #333;
	font-weight: 500;
}
.slideit-bnpl-payment-label {
	font-size: 12px;
	color: #999;
	margin-top: 2px;
}
.slideit-bnpl-payment-amount {
	font-size: 16px;
	font-weight: 700;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.slideit-bnpl-payment-amount .amount {
	font-size: 16px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.slideit-bnpl-payment-amount .period {
	font-size: 12px;
	font-weight: 500;
	color: #999;
	margin-left: 2px;
}
.slideit-bnpl-modal-footer {
	padding: 14px 24px;
	border-top: 1px solid #e5e5e5;
	text-align: center;
}
.slideit-bnpl-modal-footer p {
	margin: 0;
	font-size: 13px;
	color: gray;
}
.slideit-bnpl-modal-footer .icon {
	display: inline-block;
	margin-right: 6px;
}
/* Checkout page payment method icon */
#payment_method_slideit_bnpl img,
.woocommerce-checkout #payment_method_slideit_bnpl img {
	max-width: 100px;
	height: auto;
	margin-right: 10px;
	vertical-align: middle;
}

/* Block Checkout payment method icon - larger size */
.wc-block-components-payment-method img[src*="slideit_logo"],
.wc-block-components-payment-method-icon--slideit_bnpl {
	max-width: 150px !important;
	height: auto;
	margin-right: 10px;
	vertical-align: middle;
}

@media (max-width: 600px) {
	.slideit-bnpl-modal {
		width: 95%;
		margin: 20px;
	}
	.slideit-bnpl-modal-header,
	.slideit-bnpl-modal-body,
	.slideit-bnpl-modal-footer {
		padding: 20px;
	}
}
