/**
 * WPKit Custom Payment Gateway - Front-end styles.
 * All rules are scoped under .wpkit-* classes. No global selectors.
 */

.wpkit-payment-gateway {
	margin-top: 12px;
	padding: 16px;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	background: #fafafa;
	box-sizing: border-box;
}

.wpkit-payment-description {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.6;
	color: #3c3c3c;
}

.wpkit-payment-description p {
	margin: 0 0 8px;
}

.wpkit-payment-description p:last-child {
	margin-bottom: 0;
}

.wpkit-payment-qr {
	display: flex;
	justify-content: center;
	margin: 0 0 16px;
}

.wpkit-payment-qr img {
	max-width: 100%;
	height: auto;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	background: #fff;
	padding: 8px;
	box-sizing: border-box;
}

.wpkit-payment-details {
	margin: 0 0 16px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 6px;
}

.wpkit-payment-details-title,
.wpkit-payment-instructions-title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #1d2327;
}

.wpkit-payment-details-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpkit-payment-details-list li {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px 0;
	font-size: 14px;
	line-height: 1.5;
	border-bottom: 1px dashed #eee;
}

.wpkit-payment-details-list li:last-child {
	border-bottom: none;
}

.wpkit-detail-label {
	font-weight: 600;
	color: #1d2327;
}

.wpkit-detail-value {
	color: #3c3c3c;
	word-break: break-word;
}

.wpkit-payment-instructions {
	margin: 0 0 16px;
	padding: 12px 14px;
	background: #fff8ec;
	border: 1px solid #f0e2c0;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.6;
	color: #4a4030;
}

.wpkit-payment-instructions-content p {
	margin: 0 0 8px;
}

.wpkit-payment-instructions-content p:last-child {
	margin-bottom: 0;
}

.wpkit-whatsapp-wrap {
	display: flex;
	justify-content: center;
	margin-top: 4px;
}

.wpkit-whatsapp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	background: #25d366;
	color: #ffffff !important;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	border-radius: 999px;
	transition: background-color 0.15s ease-in-out;
	text-align: center;
}

.wpkit-whatsapp-button:hover,
.wpkit-whatsapp-button:focus {
	background: #1ebe5b;
	color: #ffffff !important;
}

.wpkit-thankyou-section,
.wpkit-vieworder-section {
	margin: 24px 0;
	max-width: 480px;
}

.wpkit-thankyou-title,
.wpkit-vieworder-section h2 {
	margin: 0 0 12px;
	font-size: 18px;
}

/* Tablet */
@media ( max-width: 782px ) {
	.wpkit-payment-gateway {
		padding: 14px;
	}

	.wpkit-payment-details-list li {
		flex-direction: column;
		gap: 2px;
	}
}

/* Mobile */
@media ( max-width: 480px ) {
	.wpkit-payment-gateway {
		padding: 12px;
	}

	.wpkit-whatsapp-button {
		width: 100%;
	}

	.wpkit-thankyou-section,
	.wpkit-vieworder-section {
		max-width: 100%;
	}
}
