/*
 * PayPal Payment Form
 * Styled to match .section-form .form in assets/scss/sections/form.scss:
 * gray rounded card, borderless padded inputs, primary→secondary buttons.
 */

.ubti-paypal-form {
	max-width: 640px;
	margin: 3rem auto;
	background-color: var(--gray, #e7eaf0);
	padding: 50px;
	border-radius: 20px;
	font-family: var(--body-font, "Poppins", sans-serif);
	box-sizing: border-box;
}

.ubti-paypal-form h2 {
	margin-bottom: 0.5rem;
}

.ubti-paypal-form > p {
	color: var(--black-lt, #333);
	margin-bottom: 2rem;
}

.ubti-field {
	margin-bottom: 1.25rem;
}

.ubti-field label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	font-size: 0.9em;
	color: var(--black, #131212);
}

.ubti-required {
	color: var(--color-4, #eb008b);
}

.ubti-field input {
	width: 100%;
	box-sizing: border-box;
	border: 0;
	padding: 14px;
	border-radius: 6px;
	font-family: var(--body-font, "Poppins", sans-serif);
	font-size: 0.9em;
	background: var(--white, #fff);
	color: var(--black, #131212);
}

.ubti-field input:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 87, 144, 255), 0.35);
}

/* Hide number-input spinners for a cleaner look */
.ubti-field input[type="number"]::-webkit-outer-spin-button,
.ubti-field input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.ubti-field input[type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
}

.ubti-total {
	font-size: 1.2rem;
	color: var(--black, #131212);
	margin: 1.5rem 0 0.5rem;
}

.ubti-fee-message {
	color: var(--black-lt, #333);
	font-size: 0.9em;
	margin-bottom: 1.5rem;
}

#ubti-paypal-buttons {
	min-height: 45px;
}

.ubti-message {
	margin-top: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 6px;
	font-size: 0.9em;
	display: none;
}

.ubti-message:not(:empty) {
	display: block;
}

.ubti-message--error {
	background: #fdecea;
	color: #a12a1f;
	border: 1px solid #f5c6c2;
}

.ubti-message--info {
	background: var(--white, #fff);
	color: var(--black-lt, #333);
	border: 1px solid var(--gray-dk, #a9a9a9);
}

@media (max-width: 720px) {
	.ubti-paypal-form {
		padding: 40px;
	}
}

@media (max-width: 550px) {
	.ubti-paypal-form {
		padding: 30px 20px;
		margin: 1.5rem auto;
	}
}
