.ebp-card-choice,
.ebp-box,
.ebp-transfer-panel,
.ebp-status-card,
.ebp-block-content {
	font-family: Tahoma, "Segoe UI", system-ui, sans-serif;
}

.ebp-card-choice {
	border: 0;
	margin: 14px 0 4px;
	padding: 0;
	display: grid;
	gap: 12px;
}
.ebp-bank-card-option {
	display: block;
	cursor: pointer;
}
.ebp-bank-card-option > input {
	position: absolute;
	opacity: 0;
}
.ebp-bank-card-content,
.ebp-bank-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	border: 1px solid #dbe4ee;
	border-radius: 18px;
	padding: 18px 20px;
	background:
		linear-gradient(135deg, #16324f 0%, #0f6e5d 62%, #14a37d 130%);
	color: #fff;
	box-shadow: 0 10px 28px rgba(15, 40, 55, .16);
	transition: transform .2s, box-shadow .2s, outline-color .2s;
	position: relative;
	overflow: hidden;
	min-height: 148px;
}
.ebp-bank-card-content:before,
.ebp-bank-card:before {
	content: "";
	position: absolute;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	left: -36px;
	bottom: -48px;
}
.ebp-bank-card-option > input:focus-visible + .ebp-bank-card-content {
	outline: 3px solid rgba(20, 155, 120, .35);
	outline-offset: 3px;
}
.ebp-bank-card-option > input:checked + .ebp-bank-card-content {
	box-shadow: 0 0 0 3px #14a37d, 0 14px 30px rgba(15, 40, 55, .2);
	transform: translateY(-1px);
}
.ebp-bank-card-top {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: rgba(255, 255, 255, .78);
	font-size: 12px;
	font-weight: 700;
	position: relative;
	z-index: 1;
}
.ebp-bank-card-top strong {
	color: #fff;
	font-size: 14px;
}
.ebp-card-number,
.ebp-bank-card b {
	font: 750 18px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace;
	letter-spacing: 2px;
	color: #fff;
	position: relative;
	z-index: 1;
}
.ebp-card-holder,
.ebp-bank-card small {
	color: rgba(255, 255, 255, .82);
	position: relative;
	z-index: 1;
	font-size: 12px;
}

.ebp-box,
.ebp-status-card {
	border: 1px solid #dce5ee;
	border-radius: 16px;
	padding: 16px 18px;
	margin: 12px 0;
	background: #fff;
	box-shadow: 0 8px 24px rgba(16, 34, 53, .05);
}
.ebp-box p,
.ebp-status-card p {
	margin: 8px 0 0;
	color: #667085;
}
.ebp-box code {
	direction: ltr;
	display: inline-block;
	letter-spacing: 1px;
	background: #f2f4f7;
	padding: 3px 8px;
	border-radius: 8px;
	font-weight: 700;
}
.ebp-success,
.ebp-status-card.is-success {
	border-color: #aae0c5;
	background: linear-gradient(180deg, #f3fbf7, #fff);
}
.ebp-warning,
.ebp-status-card.is-warning {
	border-color: #f5d9a8;
	background: linear-gradient(180deg, #fff9ee, #fff);
}
.ebp-status-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}
.ebp-status-actions .button {
	border-radius: 12px !important;
	min-height: 42px;
}
#ebp-status-result {
	display: inline-block;
	margin-top: 8px;
	color: #667085;
	font-size: 13px;
}

.ebp-connect {
	display: grid;
	gap: 10px;
}
.ebp-connect-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 12px;
	background: #0f9d7a;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 800;
}

.ebp-transfer-panel {
	max-width: 720px;
	margin: 24px 0;
	padding: 26px;
	border: 1px solid #dce5ee;
	border-radius: 22px;
	background: linear-gradient(180deg, #f7fbfa 0%, #fff 46%);
	box-shadow: 0 14px 40px rgba(16, 34, 53, .06);
}
.ebp-transfer-head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 16px;
}
.ebp-transfer-head h3 {
	margin: 0 0 5px;
	font-size: 17px;
}
.ebp-transfer-head p {
	margin: 0;
	color: #667085;
}
.ebp-step {
	display: grid;
	place-items: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: #e6f6f0;
	color: #0f6b4f;
	font-weight: 800;
}
.ebp-bank-card {
	margin: 12px 0 8px;
}
.ebp-amount-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 16px 4px 8px;
}
.ebp-amount-row strong {
	font-size: 18px;
	color: #101828;
}
.ebp-upload-head {
	margin-top: 22px;
}
.ebp-receipt-form {
	display: grid;
	gap: 14px;
}
.ebp-file-drop {
	min-height: 128px;
	border: 1.5px dashed #c5d3ce;
	border-radius: 18px;
	background: #fff;
	display: grid;
	place-content: center;
	text-align: center;
	cursor: pointer;
	padding: 20px;
	transition: border-color .18s, background .18s;
}
.ebp-file-drop:hover {
	border-color: #0f9d7a;
	background: #f6fbf9;
}
.ebp-file-drop input {
	max-width: 100%;
}
.ebp-file-drop span {
	font-weight: 800;
	margin-top: 8px;
}
.ebp-file-drop small {
	color: #667085;
}
.ebp-submit-receipt {
	min-height: 48px !important;
	border-radius: 14px !important;
	background: #0f9d7a !important;
	border-color: #0f9d7a !important;
	color: #fff !important;
	font-weight: 800 !important;
}

.ebp-alert,
.ebp-result-card {
	padding: 16px 18px;
	border-radius: 16px;
	margin: 14px 0;
	border: 1px solid transparent;
}
.ebp-alert-success,
.ebp-result-card.is-success {
	background: #e9f7f1;
	color: #17684f;
	border-color: #b7ead2;
}
.ebp-alert-warning {
	background: #fff6df;
	color: #805b13;
	border-color: #f5d9a8;
}
.ebp-alert-error {
	background: #fff0f0;
	color: #9c2d2d;
	border-color: #f4c7c2;
}

.ebp-block-content {
	display: grid;
	gap: 8px;
}
.ebp-block-content a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 10px;
	background: #0f9d7a;
	color: #fff;
	text-decoration: none;
	font-weight: 800;
	width: fit-content;
}

@media (max-width: 560px) {
	.ebp-transfer-panel {
		padding: 18px;
		border-radius: 18px;
	}
	.ebp-bank-card-top,
	.ebp-amount-row {
		align-items: flex-start;
		flex-direction: column;
	}
	.ebp-card-number,
	.ebp-bank-card b {
		font-size: 15px;
		letter-spacing: .7px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ebp-bank-card-content,
	.ebp-bank-card {
		transition: none;
	}
}
