/* Support page — donations */

.support-section {
	padding: 40px 0 80px;
}

.support-section__wrap.wrapper-bg-lg {
	background: #f7f8f6;
	border-radius: 4px;
	padding: 40px 32px;
}

.support-section__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 48px 56px;
	align-items: start;
}

.support-section__info,
.support-section__donations,
.donations,
.donations__panels,
.donations__panel,
.donations__panel-body {
	min-width: 0;
	max-width: 100%;
}

.support-section__title {
	margin: 0 0 20px;
	color: #1c1c1c;
	font-size: 36px;
	line-height: 1.2;
	font-weight: 700;
}

.support-section__desc {
	color: #555;
	font-size: 16px;
	line-height: 1.6;
}

.support-section__desc p:last-child {
	margin-bottom: 0;
}

.support-section__img {
	margin-top: 28px;
}

.support-section__img-el {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

/* Tabs */

.donations__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin-bottom: 28px;
	border-bottom: 1px solid #e4e6e2;
}

.donations__tab {
	appearance: none;
	-webkit-appearance: none;
	background: transparent !important;
	background-color: transparent !important;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	margin-bottom: -1px;
	padding: 10px 0 14px !important;
	cursor: pointer;
	text-align: left;
	color: #777 !important;
	box-shadow: none !important;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.donations__tab:hover,
.donations__tab:focus,
.donations__tab:focus-visible {
	background: transparent !important;
	background-color: transparent !important;
	color: #1c1c1c !important;
	outline: none;
}

.donations__tab.is-active,
.donations__tab.is-active:hover,
.donations__tab.is-active:focus {
	background: transparent !important;
	background-color: transparent !important;
	color: #1c1c1c !important;
	border-bottom-color: #4cab59;
}

.donations__tab-num {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.04em;
	color: #4cab59 !important;
}

.donations__tab-title {
	display: block;
	max-width: 11em;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: inherit;
}

.donations__panel-title {
	margin: 0 0 20px;
	color: #1c1c1c;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 700;
}

.donations__panel-disclaimer {
	margin: 20px 0 0;
	color: #888;
	font-size: 13px;
	line-height: 1.45;
}

.donations__panel[hidden] {
	display: none !important;
}

/* Shared form bits */

.donations-liqpay__field,
.donations-swift__field {
	margin-bottom: 20px;
}

.donations-liqpay__label,
.donations-swift__label {
	display: block;
	margin-bottom: 10px;
	color: #333;
	font-size: 14px;
	font-weight: 600;
}

.donations-liqpay__period,
.donations-swift__currencies {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.donations-liqpay__radio,
.donations-swift__radio {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	max-width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 8px 16px;
	border: 1px solid #d9ddd6;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	color: #333;
	font-size: 14px;
	font-weight: 600;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.donations-liqpay__radio input,
.donations-swift__radio input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.donations-liqpay__radio-mark,
.donations-swift__radio-mark {
	width: 14px;
	height: 14px;
	border: 1.5px solid #b7bdb3;
	border-radius: 50%;
	flex: 0 0 auto;
}

.donations-liqpay__radio:has(input:checked),
.donations-swift__radio:has(input:checked) {
	border-color: #4cab59;
	background: rgba(76, 171, 89, 0.08);
	color: #1c1c1c;
}

.donations-liqpay__radio:has(input:checked) .donations-liqpay__radio-mark,
.donations-swift__radio:has(input:checked) .donations-swift__radio-mark {
	border-color: #4cab59;
	box-shadow: inset 0 0 0 3px #4cab59;
}

.donations-liqpay__amount {
	position: relative;
	display: flex;
	align-items: stretch;
	border: 1px solid #d9ddd6;
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
}

.donations-liqpay__amount-input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	border: 0 !important;
	background: transparent;
	padding: 12px 14px !important;
	font-size: 18px;
	font-weight: 700;
	color: #1c1c1c;
	line-height: 1.2;
}

.donations-liqpay__currency {
	position: relative;
	flex: 0 0 auto;
	border-left: 1px solid #e4e6e2;
}

.donations-liqpay__currency-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 100%;
	padding: 0 14px !important;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	background-color: transparent !important;
	cursor: pointer;
	color: #333 !important;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	box-shadow: none !important;
}

.donations-liqpay__currency-btn:hover,
.donations-liqpay__currency-btn:focus {
	background: transparent !important;
	background-color: transparent !important;
	color: #1c1c1c !important;
}

.donations-liqpay__currency-chevron {
	width: 16px;
	height: 16px;
}

.donations-liqpay__currency-list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 5;
	min-width: 100%;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #fff;
	border: 1px solid #e4e6e2;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	display: none;
}

.donations-liqpay__currency-list.is-open {
	display: block;
}

.donations-liqpay__currency-option {
	display: block;
	width: 100%;
	padding: 8px 14px !important;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	background-color: transparent !important;
	text-align: left;
	cursor: pointer;
	color: #333 !important;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	box-shadow: none !important;
}

.donations-liqpay__currency-option:hover,
.donations-liqpay__currency-option:focus,
.donations-liqpay__currency-option.is-active {
	background: rgba(76, 171, 89, 0.1) !important;
	background-color: rgba(76, 171, 89, 0.1) !important;
	color: #4cab59 !important;
}

.donations-liqpay__presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
}

.donations-liqpay__preset-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.donations-liqpay__preset-group[hidden] {
	display: none !important;
}

.donations-liqpay__preset {
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #d9ddd6 !important;
	border-radius: 999px;
	background: #fff !important;
	background-color: #fff !important;
	padding: 8px 14px !important;
	cursor: pointer;
	color: #333 !important;
	font-size: 13px;
	font-weight: 600;
	box-shadow: none !important;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.donations-liqpay__preset:hover,
.donations-liqpay__preset:focus {
	border-color: #4cab59 !important;
	color: #4cab59 !important;
	background: rgba(76, 171, 89, 0.08) !important;
	background-color: rgba(76, 171, 89, 0.08) !important;
}

.donations-liqpay__contacts {
	margin-top: 4px;
}

.donations-liqpay__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.donations-liqpay__input,
.donations-liqpay__email {
	width: 100%;
	border: 1px solid #d9ddd6 !important;
	border-radius: 4px;
	background: #fff;
	padding: 12px 14px !important;
	font-size: 15px;
	color: #1c1c1c;
	line-height: 1.3;
}

.donations-liqpay__input:focus,
.donations-liqpay__email:focus,
.donations-liqpay__amount-input:focus {
	border-color: #4cab59 !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(76, 171, 89, 0.15);
}

.donations-liqpay__error,
.donations-liqpay__form-error {
	margin: 6px 0 0;
	color: #c0392b;
	font-size: 13px;
	line-height: 1.35;
}

.donations-liqpay__error[hidden],
.donations-liqpay__form-error[hidden] {
	display: none !important;
}

.donations-liqpay__form-error {
	margin-bottom: 12px;
}

.donations-liqpay__submit {
	width: 100%;
	max-width: 100%;
}

.donations-liqpay__submit:disabled,
.donations-liqpay__submit.is-loading {
	opacity: 0.7;
	cursor: wait;
}

.donations-liqpay__cancel {
	margin: 0 0 16px;
	color: #777;
	font-size: 13px;
	line-height: 1.45;
}

.donations-liqpay__cancel[hidden] {
	display: none !important;
}

.donations-liqpay__submit,
.donations-monobank__btn,
.donations-other__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px !important;
	border: 0;
	border-radius: 4px;
	background: #4cab59 !important;
	background-color: #4cab59 !important;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none !important;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.donations-liqpay__submit:hover,
.donations-liqpay__submit:focus,
.donations-monobank__btn:hover,
.donations-monobank__btn:focus,
.donations-other__btn:hover,
.donations-other__btn:focus {
	background: #3f964b !important;
	background-color: #3f964b !important;
	color: #fff !important;
}

.donations-liqpay__submit svg,
.donations-monobank__btn-icon,
.donations-other__btn-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

/* Monobank / Other */

.donations-monobank__logo {
	margin-bottom: 20px;
}

.donations-monobank__logo-img {
	display: block;
	max-width: 220px;
	height: auto;
}

.donations-monobank__btns,
.donations-other__btns {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
}

/* SWIFT */

.donations-swift {
	min-width: 0;
	max-width: 100%;
}

.donations-swift__group[hidden] {
	display: none !important;
}

.donations-swift__groups,
.donations-swift__group {
	min-width: 0;
	max-width: 100%;
}

.donations-swift__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid #e4e6e2;
	min-width: 0;
}

.donations-swift__row:first-child {
	padding-top: 0;
}

.donations-swift__row-info {
	flex: 1 1 auto;
	min-width: 0;
}

.donations-swift__row-label {
	display: block;
	margin-bottom: 4px;
	color: #888;
	font-size: 12px;
	line-height: 1.3;
}

.donations-swift__row-value {
	display: block;
	color: #1c1c1c;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.donations-swift__copy {
	flex: 0 0 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0 !important;
	border: 1px solid #d9ddd6 !important;
	border-radius: 4px;
	background: #fff !important;
	background-color: #fff !important;
	color: #555 !important;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none !important;
}

.donations-swift__copy:hover,
.donations-swift__copy:focus,
.donations-swift__copy.is-copied {
	border-color: #4cab59 !important;
	color: #4cab59 !important;
	background: rgba(76, 171, 89, 0.08) !important;
	background-color: rgba(76, 171, 89, 0.08) !important;
}

.donations-swift__copy svg {
	width: 18px;
	height: 18px;
}

@media (max-width: 980px) {
	.support-section__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.support-section__wrap.wrapper-bg-lg {
		padding: 28px 20px;
	}

	.support-section__title {
		font-size: 28px;
	}

	.donations__tabs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
	}

	.donations__tab {
		padding: 12px 8px 14px;
	}

	.donations__tab-title {
		max-width: none;
	}
}

@media (max-width: 600px) {
	.support-section {
		padding: 24px 0 56px;
	}

	.support-section__wrap.wrapper-bg-lg {
		padding: 20px 14px;
	}

	.support-section__title {
		font-size: 24px;
	}

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

	.donations__tab-title {
		font-size: 13px;
	}

	.donations-liqpay__row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.donations-liqpay__period,
	.donations-swift__currencies {
		flex-direction: column;
	}

	.donations-liqpay__radio,
	.donations-swift__radio {
		width: 100%;
	}

	.donations-liqpay__amount-input {
		font-size: 16px;
	}

	.donations-liqpay__presets {
		gap: 8px;
	}

	.donations-liqpay__preset {
		flex: 1 1 calc(50% - 8px);
		text-align: center;
	}

	.donations-monobank__btn,
	.donations-other__btn {
		width: 100%;
	}
}
