.od-card {
	--od-primary: #2563eb;
	--od-secondary: #0f172a;
	box-sizing: border-box;
	max-width: 640px;
	margin: 1rem auto;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border: 1px solid #dbe2ea;
	border-radius: 18px;
	background: #fff;
	color: var(--od-secondary);
	box-shadow: 0 14px 40px rgba(15, 23, 42, 0.09);
	font: inherit;
}

.od-card * {
	box-sizing: border-box;
}

.od-card h2 {
	margin: 0.5rem 0;
}

.od-card h3 {
	font-size: 1.15rem;
}

.od-logo {
	display: block;
	max-width: 180px;
	max-height: 72px;
	object-fit: contain;
}

.od-progress {
	display: flex;
	gap: 0.5rem;
	margin: 1.5rem 0;
}

.od-progress span {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #e5e7eb;
}

.od-progress .is-active {
	background: var(--od-primary);
	color: #fff;
}

.od-amounts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
	margin: 1rem 0;
}

.od-amounts button,
.od-frequency label,
.od-gateways label {
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #fff;
	padding: 0.8rem;
	cursor: pointer;
}

.od-amounts button.is-selected {
	border-color: var(--od-primary);
	box-shadow: 0 0 0 2px var(--od-primary);
}

.od-card label {
	display: grid;
	gap: 0.35rem;
	margin: 0.8rem 0;
	font-weight: 600;
}

.od-card input {
	width: 100%;
	min-height: 44px;
	padding: 0.65rem 0.75rem;
	border: 1px solid #94a3b8;
	border-radius: 8px;
	font: inherit;
}

.od-money {
	display: flex;
	align-items: center;
	border: 1px solid #94a3b8;
	border-radius: 8px;
	padding-left: 0.75rem;
}

.od-money input {
	border: 0;
}

.od-frequency,
.od-gateways {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 1rem 0;
}

.od-frequency label,
.od-gateways label {
	display: flex;
	align-items: center;
	margin: 0;
	font-weight: 500;
}

.od-frequency input,
.od-gateways input {
	width: auto;
	min-height: auto;
}

.od-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.od-primary,
.od-back,
.od-cancel button {
	min-height: 46px;
	padding: 0.75rem 1.1rem;
	border: 0;
	border-radius: 9px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.od-primary,
.od-cancel button {
	background: var(--od-primary);
	color: #fff;
}

.od-primary:disabled {
	opacity: 0.6;
}

.od-actions {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
}

.od-back {
	background: #e2e8f0;
	color: #0f172a;
}

.od-error {
	color: #b91c1c;
	min-height: 1.5em;
}

.od-payment-element.is-loading,
.od-payment-element.is-ready {
	display: block !important;
	min-height: 180px;
	margin: 1rem 0;
}

.od-payment-element.is-loading {
	border-radius: 8px;
	background: linear-gradient(90deg, #f8fafc 25%, #eef2f7 50%, #f8fafc 75%);
	background-size: 200% 100%;
	animation: od-payment-loading 1.5s infinite;
}

@keyframes od-payment-loading {

	to {
		background-position: -200% 0;
	}
}

.od-honeypot {
	position: absolute !important;
	left: -10000px !important;
}

.od-success {
	padding: 1rem;
	border-radius: 10px;
	background: #ecfdf5;
	color: #065f46;
}

.od-cancel {
	max-width: 560px;
	margin: 10vh auto;
	padding: 2rem;
	font-family: system-ui, sans-serif;
}

.od-card button:focus-visible,
.od-card input:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--od-primary), #fff 35%);
	outline-offset: 2px;
}

@media (max-width: 560px) {

	.od-grid {
		grid-template-columns: 1fr;
	}

	.od-amounts {
		grid-template-columns: 1fr;
	}

	.od-card {
		border-radius: 12px;
	}
}
