/**handles:zd-givewp-donation**/
/**
 * GiveWP donation form — campaign embed (Figma: zapazi-dobroto node 10-418).
 * Loaded inside the GiveWP v3 iframe via givewp_donation_form_enqueue_scripts.
 */

/* Fallback when SCF toggle is off. */
body.single-campaign.zd-no-online-donation #zd-online-donation {
	display: none !important;
}

body.single-campaign #where-to-donate .root-data-givewp-embed,
body.single-campaign #zd-online-donation .root-data-givewp-embed {
	display: block;
	width: 100%;
}

body.single-campaign #where-to-donate .root-data-givewp-embed iframe,
body.single-campaign #zd-online-donation .root-data-givewp-embed iframe {
	display: block;
	width: 100% !important;
	max-width: 100%;
	border: 0;
	min-height: 420px;
}

/* --- Design tokens --- */
.givewp-donation-form,
#root-givewp-donation-form {
	--zd-give-blue: #1dabe2;
	--zd-give-blue-dark: #006689;
	--zd-give-red: #9e1712;
	--zd-give-text: #191c1d;
	--zd-give-body: #3e484f;
	--zd-give-muted: #3e484f;
	--zd-give-line: #bdc8d0;
	--zd-give-input: #f3f3f4;
	--zd-give-selected-bg: rgba(29, 171, 226, 0.09);
	--zd-give-radius-pill: 999px;
	--zd-give-radius-input: 38px;
	--zd-give-radius-button: 32px;
	--zd-give-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--zd-give-display: "Stampatello Faceto", "Stampatello_Faceto", Georgia, serif;

	font-family: var(--zd-give-font);
	color: var(--zd-give-text);
}

/* Strip default Give card chrome inside Elementor card. */
.givewp-donation-form__steps {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.givewp-donation-form__steps-header,
.givewp-donation-form__steps-footer-secure,
.givewp-form-secure-badge {
	display: none !important;
}

.givewp-donation-form__steps-body {
	padding: 0 !important;
}

.givewp-donation-form__steps-footer {
	padding: 0 !important;
}

/* Form header (title + description from Give builder). */
.givewp-layouts-headerTitle h2,
.givewp-layouts-headerTitle h3 {
	margin: 0 0 8px !important;
	color: var(--zd-give-text) !important;
	font-family: var(--zd-give-font) !important;
	font-size: 24px !important;
	font-weight: 700 !important;
	line-height: 28px !important;
	letter-spacing: -0.5px !important;
}

.givewp-layouts-headerDescription {
	margin: 0 0 20px !important;
	color: var(--zd-give-body) !important;
	font-size: 14px !important;
	line-height: 20px !important;
}

/* Hide GiveWP blue header bar when present (classic design). */
.givewp-layouts-header:not(.givewp-layouts-header__templates) {
	background: transparent !important;
	color: var(--zd-give-text) !important;
	box-shadow: none !important;
	padding: 0 !important;
}

/* --- Amount levels (pill grid) --- */
.givewp-fields-amount__levels-container {
	gap: 12px !important;
	margin: 0 0 20px !important;
}
.givewp-layouts.givewp-layouts-multiStepForm {
    padding-bottom: 20px;
}

.givewp-fields-amount__level {
	min-height: 60px !important;
	padding: 18px 16px !important;
	border: 2px solid var(--zd-give-line) !important;
	border-radius: var(--zd-give-radius-pill) !important;
	background: #fff !important;
	color: var(--zd-give-text) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 24px !important;
	box-shadow: none !important;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.givewp-fields-amount__level:hover {
	border-color: var(--zd-give-blue) !important;
	background: #fff !important;
	color: var(--zd-give-text) !important;
}

.givewp-fields-amount__level--selected,
.givewp-fields-amount__level--selected:hover {
	border: 2px solid var(--zd-give-blue) !important;
	border-radius: var(--zd-give-radius-input) !important;
	background: var(--zd-give-selected-bg) !important;
	color: var(--zd-give-blue-dark) !important;
}

.givewp-fields-amount__level:focus,
.givewp-fields-amount__level:focus-visible {
	outline: 2px solid var(--zd-give-blue) !important;
	outline-offset: 2px !important;
}

.givewp-fields-amount__level--selected:focus,
.givewp-fields-amount__level--selected:focus-visible {
	outline: none !important;
}

/* Give places the custom-amount label above levels — hide it; JS adds label above input. */
.givewp-fields-amount__input-label-container {
	display: none !important;
}

.givewp-fields-amount__currency-container,
.givewp-fields-amount__currency-select-container,
.givewp-fields-amount__currency-switcher-message {
	display: none !important;
}

/* --- Custom amount label + field --- */
.zd-give-custom-amount-label {
	display: block;
	margin: 8px 0 8px;
	color: var(--zd-give-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	opacity: 0.6;
}

.givewp-fields-amount__input-container {
	margin: 0 0 32px !important;
}

.givewp-fields-amount__input-container.invalid {
	border-radius: var(--zd-give-radius-input);
}

.givewp-fields-amount__input,
.givewp-fields-amount__input-custom,
#amount-custom {
	width: 100% !important;
	height: 56px !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: var(--zd-give-radius-input) !important;
	background: var(--zd-give-input) !important;
	color: var(--zd-give-text) !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: normal !important;
	text-align: left !important;
	box-shadow: none !important;
}

.givewp-fields-amount__input::placeholder,
.givewp-fields-amount__input-custom::placeholder,
#amount-custom::placeholder {
	color: #6b7280 !important;
	opacity: 1 !important;
}

.givewp-fields-amount__input:focus,
.givewp-fields-amount__input-custom:focus,
#amount-custom:focus {
	outline: 2px solid var(--zd-give-blue) !important;
	outline-offset: 0 !important;
	border-color: transparent !important;
}

/* --- Primary CTA: submit + multi-step next (ДАРЕТЕ ОНЛАЙН + heart) --- */
.givewp-donation-form button[type="submit"],
.givewp-donation-form .givewp-donation-form__steps-button-next,
#root-givewp-donation-form button[type="submit"],
#root-givewp-donation-form .givewp-donation-form__steps-button-next {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 12px !important;
	width: 100% !important;
	min-height: 60px !important;
	margin: 6px 0 0 !important;
	padding: 18px 35px !important;
	border: 0 !important;
	border-radius: var(--zd-give-radius-button) !important;
	background-color: #ed1e79;
	box-shadow:
		0 20px 25px -5px rgba(190, 15, 9, 0.2),
		0 8px 10px -6px rgba(190, 15, 9, 0.2) !important;
	color: #fff !important;
	font-family: var(--zd-give-display) !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	line-height: 28px !important;
	letter-spacing: 2px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
}

/* GiveWP default arrow on next-step buttons. */
.givewp-donation-form .givewp-donation-form__steps-button-next::after,
#root-givewp-donation-form .givewp-donation-form__steps-button-next::after {
	display: none !important;
	content: none !important;
	background: none !important;
}

.givewp-donation-form button[type="submit"]:hover,
.givewp-donation-form button[type="submit"]:focus-visible,
.givewp-donation-form .givewp-donation-form__steps-button-next:hover,
.givewp-donation-form .givewp-donation-form__steps-button-next:focus-visible,
#root-givewp-donation-form button[type="submit"]:hover,
#root-givewp-donation-form button[type="submit"]:focus-visible,
#root-givewp-donation-form .givewp-donation-form__steps-button-next:hover,
#root-givewp-donation-form .givewp-donation-form__steps-button-next:focus-visible {
	background: #D01969 !important;
	color: #fff !important;
	outline: none !important;
}

.givewp-donation-form button[type="submit"]:disabled,
.givewp-donation-form .givewp-donation-form__steps-button-next:disabled,
#root-givewp-donation-form button[type="submit"]:disabled,
#root-givewp-donation-form .givewp-donation-form__steps-button-next:disabled {
	opacity: 0.7 !important;
	cursor: wait !important;
}

.givewp-donation-form .zd-give-heart,
#root-givewp-donation-form .zd-give-heart {
	flex-shrink: 0;
	width: 22px;
	height: 18px;
	color: #fff;
}


.givewp-donation-form input#givewp-fields-text-firstName-input, .givewp-donation-form input#givewp-fields-text-lastName-input, .givewp-donation-form input[type="email"] {
    border-radius: 38px;
}
.givewp-section-nodes {
    gap:0px !important;
}

.givewp-elements.givewp-elements-paragraph.givewp-elements-paragraph-paragraph-0 p {
    font-family: 'Inter';
    font-weight: 700;
    color: #191C1D;
    font-size: 24px !important;
	margin-bottom:8px;
}
.givewp-elements.givewp-elements-paragraph.givewp-elements-paragraph-paragraph-1 p {
    font-family: 'Inter';
    font-size: 14px;
    color: #3E484F;
    margin-bottom: 32px;
}
/* Phones: the campaign card already pads the form; drop Give's own 8px + 32px so the fields get the width. */
@media (max-width: 575px) {
	.givewp-donation-form {
		padding: 0 !important;
	}

	.givewp-layouts.givewp-layouts-multiStepForm {
		padding: 16px 8px 16px !important;
	}

	/* Give stacks the six amounts in one column below 576px; two columns keep the form short. */
	.givewp-fields-amount__levels-container {
		grid-template-columns: repeat(2, 1fr) !important;
		grid-template-rows: none !important;
		gap: 8px !important;
	}

	.givewp-fields-amount__level {
		min-height: 52px !important;
		padding: 12px !important;
	}
}