.payment_method_oipagodirecto > label::before {
	content: "Pago en Bolívares ";
}

.payment_method_oipagodirecto img {
	max-height: 24px;
	width: auto;
}

.oi-pd-testmode {
	color: #fbbf24;
	font-size: 0.9rem;
	margin-bottom: 12px;
}

.oi-pd-amount {
	margin: 0 0 16px;
	color: #fff;
}

.oi-pd-method-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.oi-pd-method {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 140px;
	min-height: 52px;
	padding: 10px 12px;
	border: 1px solid #151A24;
	border-radius: 10px;
	background: #1F2937;
	color: #fff;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.oi-pd-method input {
	margin: 0;
}

.oi-pd-method.is-selected {
	border-color: var(--pd-color, #ef4444);
	box-shadow: 0 0 0 1px var(--pd-color, #ef4444);
}

.oi-pd-method-icon {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.oi-pd-info {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 12px;
	color: #fff;
}

.oi-pd-info p {
	margin: 0 0 4px;
	color: #fff;
}

.oi-pd-info ul {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.oi-pd-info li {
	margin: 0;
	padding: 2px 0;
	line-height: 1.3;
	color: #fff;
	border: none;
}

.oi-pd-panel .form-row {
	margin-bottom: 8px;
}

.oi-pd-fields .form-row label {
	color: #fff;
}

.oi-pd-receipt {
	margin: 20px 0 0;
	padding: 28px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 15px;
	color: #fff;
}

.oi-pd-receipt h2 {
	margin-top: 0;
}

.oi-pd-otp-form .input-text,
.oi-pd-fields .input-text,
.oi-pd-fields select {
	width: 100%;
	background: #1F2937;
	border: 1px solid #151A24;
	border-radius: 8px;
	color: #fff;
	padding: 12px 15px;
}

.oi-pd-otp-form .button.alt,
#oi-pd-submit {
	width: 100%;
	padding: 16px 24px;
	background: #ef4444;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.oi-pd-otp-form .button.alt:disabled,
#oi-pd-submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.oi-pd-link {
	background: none;
	border: 0;
	color: #93c5fd;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
}

.oi-pd-alert {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 8px;
}

.woocommerce-error:not(:has(li:not([data-oi-pd-error]))),
.woocommerce-NoticeGroup-checkout:not(:has(li:not([data-oi-pd-error]))) {
	display: none !important;
}

.woocommerce-error li[data-oi-pd-error] {
	display: none !important;
}

.oi-pd-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.oi-pd-modal[hidden] {
	display: none !important;
}

.oi-pd-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 12, 20, 0.72);
}

.oi-pd-modal__dialog {
	position: relative;
	width: min(440px, 100%);
	padding: 28px 24px 22px;
	background: #fff;
	color: #151a24;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.oi-pd-modal__dialog h2 {
	margin: 0 0 12px;
	font-size: 1.25rem;
	line-height: 1.3;
	color: #151a24;
}

.oi-pd-modal__dialog p {
	margin: 0 0 20px;
	white-space: pre-line;
	line-height: 1.45;
	color: #374151;
}

.oi-pd-modal__close {
	width: 100%;
	padding: 14px 20px;
	background: #ef4444;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

body.oi-pd-modal-open {
	overflow: hidden;
}

.oi-pd-alert.is-error {
	background: rgba(239, 68, 68, 0.2);
	color: #fecaca;
}

.oi-pd-alert.is-success {
	background: rgba(34, 197, 94, 0.2);
	color: #bbf7d0;
}

@media (max-width: 600px) {
	.oi-pd-method-list {
		flex-direction: column;
	}
}

.oi-pd-adjust-page {
	margin: 0;
	background: #0f141c;
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.oi-pd-adjust {
	max-width: 520px;
	margin: 0 auto;
	padding: 32px 20px 48px;
}

.oi-pd-adjust h1 {
	margin: 0 0 12px;
	font-size: 1.6rem;
}

.oi-pd-adjust label {
	display: block;
	margin-bottom: 6px;
}

.oi-pd-adjust .input-text,
.oi-pd-adjust select {
	width: 100%;
	box-sizing: border-box;
	background: #1f2937;
	border: 1px solid #151a24;
	border-radius: 8px;
	color: #fff;
	padding: 12px 15px;
}

.oi-pd-adjust-button {
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
	padding: 16px 24px;
	background: #ef4444;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
