/* MTT Banking — Frontend styles */

/* ===== Bank card grid ===== */
.mtt-banking-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

/* Single card — center with max-width */
.mtt-banking-grid:has(.mtt-bank-card:only-child) {
	grid-template-columns: 1fr;
	width: 100%;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.mtt-bank-card {
	background: #fff;
	border: 1px solid #e4e7ef;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 12px 40px -16px rgba(38, 55, 101, 0.25);
	transition: box-shadow 0.25s;
}

.mtt-bank-card:hover {
	box-shadow: 0 24px 60px -24px rgba(38, 55, 101, 0.35);
}

.mtt-bank-card-header {
	background: #263765;
	padding: 28px 32px;
	display: flex;
	align-items: center;
	gap: 18px;
}

.mtt-bank-logo-wrap {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mtt-bank-card-header h3 {
	color: #fff;
	font-size: 22px;
	font-weight: 500;
	font-family: 'Fraunces', Georgia, serif;
	margin: 0;
}

.mtt-bank-card-header span {
	display: block;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
	margin-top: 3px;
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 500;
}

.mtt-bank-card-body {
	padding: 28px 32px;
}

/* ===== Detail rows ===== */
.mtt-bank-detail-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	border-bottom: 1px solid #e4e7ef;
}

.mtt-bank-detail-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.mtt-bank-detail-label {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #5b6479;
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

.mtt-bank-detail-value {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 20px;
	font-weight: 500;
	color: #263765;
	letter-spacing: 0.04em;
	display: flex;
	align-items: center;
	gap: 10px;
}

.mtt-bank-detail-value.account-name {
	font-size: 17px;
}

/* ===== Copy button ===== */
.mtt-bank-copy-btn {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: #f3f5fb;
	color: #263765;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: none;
	transition: all 0.2s;
	flex-shrink: 0;
	font-family: inherit;
}

.mtt-bank-copy-btn:hover {
	background: #263765;
	color: #fff;
}

.mtt-bank-copy-btn.copied {
	background: #16a34a;
	color: #fff;
}

/* ===== Bank note ===== */
.mtt-bank-note {
	margin-top: 42px;
	display: flex;
	align-items: flex-start;
	gap: 28px;
	padding: 22px 26px;
	background: #f3f5fb;
	border-radius: 16px;
}

/* Single card — narrow the note to match */
.mtt-banking-grid:has(.mtt-bank-card:only-child) + .mtt-bank-note {
	width: 100%;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.mtt-bank-note svg {
	color: #263765;
	flex-shrink: 0;
	margin-top: 2px;
}

.mtt-bank-note p {
	font-size: 14px;
	color: #5b6479;
	line-height: 1.6;
	margin: 0;
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

.mtt-bank-note p strong {
	color: #1c2236;
	font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	.mtt-banking-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (max-width: 640px) {
	.mtt-bank-card-header {
		padding: 22px 24px;
	}

	.mtt-bank-card-body {
		padding: 22px 24px;
	}

	.mtt-bank-note {
		gap: 16px;
		padding: 18px 20px;
	}

	.mtt-bank-card:hover {
		box-shadow: 0 12px 40px -16px rgba(38, 55, 101, 0.25);
	}
}
