.triexis-mp-payment-fields {
	margin-top: 10px;
}

.triexis-mp-payment-fields .form-row label {
	font-weight: 600;
}

.triexis-mp-payment-fields .form-row .required {
	color: #e2401c;
}

.triexis-mp-payment-fields input[type='text'] {
	width: 100%;
}

.triexis-mp-notice {
	display: flex;
	gap: 10px;
	background: #eef6ff;
	border-left: 4px solid #0d6efd;
	padding: 16px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 14px;
}

.triexis-mp-notice-icon {
	font-size: 18px;
	flex-shrink: 0;
	line-height: 1.4;
}

.triexis-mp-notice-content p {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.6;
	color: #1a1a1a;
}

.triexis-mp-notice-content p:last-child {
	margin-bottom: 0;
}

.triexis-mp-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	padding: 18px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.triexis-mp-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.triexis-mp-bkash-card.active {
	border: 2px solid #E2136E;
	background: #FFF5F9;
}

.triexis-mp-nagad-card.active {
	border: 2px solid #F7941D;
	background: #FFF8F2;
}

.triexis-mp-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.triexis-mp-logo {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #fff;
	padding: 2px;
	object-fit: contain;
}

.triexis-mp-card-title {
	font-size: 16px;
	font-weight: 700;
	color: #23282d;
}

.triexis-mp-card-body {
	padding: 0;
}

.triexis-mp-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px dashed #eee;
}

.triexis-mp-row:last-of-type {
	border-bottom: 0;
}

.triexis-mp-label {
	font-size: 13px;
	color: #6b7280;
	flex-shrink: 0;
}

.triexis-mp-value {
	font-size: 13.5px;
	font-weight: 600;
	color: #23282d;
	text-align: right;
}

.triexis-mp-value.triexis-mp-number {
	font-size: 15px;
	font-weight: 700;
	color: #d63384;
	letter-spacing: 0.4px;
}

.triexis-mp-nagad-card .triexis-mp-value.triexis-mp-number {
	color: #d97c0d;
}

.triexis-mp-number-row {
	position: relative;
}

.triexis-mp-number-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.triexis-mp-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex-shrink: 0;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	color: #ad0e56;
	background: #fff;
	border: 1px solid rgba(226, 19, 110, 0.35);
	border-radius: 999px;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
	user-select: none;
}

.triexis-mp-nagad-card .triexis-mp-copy-btn {
	color: #b3660f;
	border-color: rgba(247, 148, 29, 0.4);
}

.triexis-mp-copy-btn:hover,
.triexis-mp-copy-btn:focus-visible {
	background: rgba(226, 19, 110, 0.08);
	border-color: rgba(226, 19, 110, 0.55);
	box-shadow: 0 2px 8px rgba(226, 19, 110, 0.18);
	transform: translateY(-1px);
}

.triexis-mp-nagad-card .triexis-mp-copy-btn:hover,
.triexis-mp-nagad-card .triexis-mp-copy-btn:focus-visible {
	background: rgba(247, 148, 29, 0.1);
	border-color: rgba(247, 148, 29, 0.55);
	box-shadow: 0 2px 8px rgba(247, 148, 29, 0.2);
}

.triexis-mp-copy-btn:active {
	transform: translateY(0) scale(0.95);
}

.triexis-mp-copy-btn.is-copied {
	color: #1a9c53 !important;
	background: rgba(26, 156, 83, 0.09) !important;
	border-color: rgba(26, 156, 83, 0.45) !important;
}

.triexis-mp-copy-icon {
	display: inline-block;
	font-size: 14px;
	line-height: 1;
}

.triexis-mp-copy-label {
	font-size: 12px;
}

.triexis-mp-card-footer {
	padding: 12px 0 0;
	margin-top: 12px;
	border-top: 1px solid #f0f0f0;
}

.triexis-mp-card-footer p {
	margin: 0 0 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: #444;
}

.triexis-mp-card-footer p:last-child {
	margin-bottom: 0;
}

.triexis-mp-instructions {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: #666;
}

.triexis-mp-instructions p {
	margin: 0 0 4px;
	font-weight: 400 !important;
}

.triexis-mp-txn-field {
	margin-top: 14px;
}

.triexis-mp-txn-field input.triexis-mp-invalid {
	border-color: #e2401c !important;
	box-shadow: 0 0 0 1px #e2401c;
}

.triexis-mp-txn-field .triexis-mp-field-error {
	display: none;
	margin-top: 4px;
	font-size: 12.5px;
	color: #e2401c;
}

.triexis-mp-invalid-row .triexis-mp-field-error {
	display: block;
}

.triexis-mp-thankyou-notice {
	margin: 20px 0;
	padding: 14px 18px;
}

.triexis-mp-thankyou-notice p {
	margin: 0 0 6px;
}

.triexis-mp-thankyou-notice p:last-child {
	margin-bottom: 0;
}

.triexis-mp-transaction-table {
	margin-bottom: 24px;
}

.triexis-mp-transaction-table th {
	text-align: left;
	width: 40%;
}

/* ---------------------------------------------------------------- */
/* Payment verification details (thank-you / view order)             */
/* ---------------------------------------------------------------- */

.triexis-mp-verification-details {
	margin: 20px 0;
}

.triexis-mp-verification-table th {
	text-align: left;
	width: 40%;
}

.triexis-mp-verification-table td {
	vertical-align: middle;
}

.triexis-mp-verification-table td strong {
	font-weight: 700;
}

.triexis-mp-verification-table img {
	vertical-align: middle;
	margin-right: 6px;
	border-radius: 4px;
}

.triexis-mp-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
}

.triexis-mp-status-badge.triexis-mp-status-pending {
	background: #fff3e0;
	color: #e65100;
}

.triexis-mp-status-badge.triexis-mp-status-verified {
	background: #e8f5e9;
	color: #2e7d32;
}

.triexis-mp-status-badge.triexis-mp-status-rejected {
	background: #ffebee;
	color: #c62828;
}

/* ---------------------------------------------------------------- */
/* Payment method list row - premium alignment                        */
/* ---------------------------------------------------------------- */

.payment_method_triexis_bkash,
.payment_method_triexis_nagad {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
}

.payment_method_triexis_bkash .input-radio,
.payment_method_triexis_nagad .input-radio {
	margin-top: 0;
	flex-shrink: 0;
}

.payment_method_triexis_bkash label,
.payment_method_triexis_nagad label {
	display: inline-flex !important;
	align-items: center !important;
	gap: 12px;
	flex-direction: row-reverse !important;
	justify-content: flex-end;
	margin: 0 !important;
	padding: 0 !important;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: #23282d;
	line-height: 1;
	vertical-align: middle;
}

.triexis-mp-method-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 2px;
	box-sizing: border-box;
}

.triexis-mp-method-icon-img {
	width: 36px;
	height: 36px;
	object-fit: contain;
	display: block;
	border-radius: 6px;
}

.payment_method_triexis_bkash .payment_box,
.payment_method_triexis_nagad .payment_box {
	flex-basis: 100%;
	margin-top: 10px;
}

/* ---------------------------------------------------------------- */
/* Collapsible payment details card                                   */
/* ---------------------------------------------------------------- */

.triexis-mp-collapse-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 0 6px;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.triexis-mp-chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	width: 20px;
	height: 20px;
	transition: transform 0.3s ease;
	flex-shrink: 0;
	color: #6b7280;
	transform: rotate(180deg);
}

.triexis-mp-chevron.collapsed {
	transform: rotate(0deg);
}

.triexis-mp-collapse-title {
	font-size: 14px;
	font-weight: 600;
	color: #23282d;
}

.triexis-mp-collapse-content {
	max-height: 800px;
	overflow: hidden;
	transition: max-height 0.35s ease, opacity 0.3s ease;
	opacity: 1;
}

.triexis-mp-collapse-content.collapsed {
	max-height: 0;
	opacity: 0;
}

/* ---------------------------------------------------------------- */
/* Block checkout payment method icon alignment                      */
/* ---------------------------------------------------------------- */

.wc-block-components-radio-control-accordion-option--triexis_bkash img,
.wc-block-components-radio-control-accordion-option--triexis_nagad img {
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.triexis-mp-block-label {
	font-weight: 500;
}

.wc-block-components-radio-control-accordion-content .triexis-mp-payment-fields {
	margin-top: 8px;
}

@media (max-width: 480px) {
	.triexis-mp-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.triexis-mp-value,
	.triexis-mp-value.triexis-mp-number {
		text-align: left;
	}

	.triexis-mp-number-actions {
		flex-wrap: wrap;
	}

	.triexis-mp-notice {
		flex-direction: column;
		gap: 6px;
	}
}
