#wrapper {
	overflow: unset;
}

.Container.page {
	max-width: 1300px;
	padding-bottom: 100px;
}

.tabs-container {
	display: flex;
	gap: 2rem;
	font-family: sans-serif;
}

.tabs-nav {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex: 2;
}

.tabs-nav .toggler {
	background: transparent;
	border: none;
	border-radius: 16px;
	text-align: left;
	font-size: 1rem;
	padding: clamp(1.25rem, 0.8523rem + 1.1364vw, 1.875rem)
		clamp(1.25rem, 0.7727rem + 1.3636vw, 2rem);
	cursor: pointer;
	display: flex;
	gap: 16px;
}

.tabs-nav .toggler.active {
	background: var(--sky-light);
}

/* External tabs */
.donation-external-container {
	background: var(--yellow-base);
	border-radius: 16px;
	padding: 46px 24px;
}
.tabs-nav_external {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}
.tabs-nav_external .toggler.toggler_external {
	background: transparent;
	padding: 8px 4px;
	align-items: center;
}
.tabs-nav_external .toggler.toggler_external:hover {
	transition: scale 0.2s ease-in-out;
	background: var(--yellow-warm);
}
.tabs-nav_external .toggler.toggler_external .toggler_external-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1;
}
.tabs-nav_external .toggler.toggler_external img {
	bottom: unset;
}
.tabs-nav_external .toggler.toggler_external i {
	flex-shrink: 0;
	font-size: 1.5rem;
}

/* End External tabs */

.tabs-nav .toggler p {
	margin: 0;
	line-height: 140%;
}

.tabs-nav img {
	flex: 0 0 68px;
	height: 68px;
	width: 68px;
	position: relative;
	bottom: -4px;
	border-radius: 14px;
}

.tabs-nav__subtext {
	font-size: 14px;
	font-weight: 500;
}

.tab-panel {
	display: none;
	flex-direction: column;
	gap: 32px;
}

.tab-panel.active {
	display: flex;
}

.tabs-content {
	border-radius: 16px;
	background: var(--sky-light);
	padding: clamp(1.25rem, 0.4545rem + 2.2727vw, 2.5rem);
	flex: 3;
	font-size: clamp(1rem, 0.8409rem + 0.4545vw, 1.25rem);
	color: var(--blue-dark);
	line-height: 140%;
}

.tabs-content p {
	margin: 0;
}

.tabs-content p b {
	font-weight: 600;
}

.tabs-content a:hover {
	color: var(--orange);
}

.donation-info {
	word-break: break-word;
	line-height: 1.5rem;
	text-wrap: auto;
}

p.donation-info__title {
	margin-bottom: 8px;
	font-weight: 700;
	color: var(--blue-dark);
}

.donation-info__value {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.donation-info span {
	display: block;
	font-weight: 500;
	line-height: 140%;
}

.donation-info button {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #005eb54d;
	border-radius: 4px;
	background: var(--sky);
	cursor: copy;
	font-size: 1.3rem;
	color: var(--blue-bright);
	position: relative;
	top: -2px;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.donation-info button:hover {
	scale: 1.05;
}

.copy-tooltip {
	opacity: 0;
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: calc(100% + 4px);
	transform: translateX(-50%);
	width: max-content;
	height: max-content;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2px 4px;
	font-size: 1rem !important;
	border-radius: 8px;
	color: #fff;
	background: rgb(41, 165, 41);
	animation: show-tooltip 0.2s forwards 0.2s;
}

@keyframes show-tooltip {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@media (width < 992px) {
	.Container.page {
		padding: 0 24px 30px;
	}

	.tabs-container {
		flex-direction: column;
	}

	.tabs-nav:not(.tabs-nav_external) {
		flex-direction: row;
		overflow-x: auto;
		gap: 0;
		padding-inline: 24px;
		margin-inline: -24px;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 24px;
		-webkit-overflow-scrolling: touch;
	}

	.tabs-nav::-webkit-scrollbar {
		display: none;
	}

	.tabs-nav:not(.tabs-nav_external) .toggler {
		width: 100%;
		max-width: min(380px, calc(100% - 20px));
		flex-shrink: 0;
		white-space: nowrap;
		scroll-snap-align: start;
	}
}

/* Контейнер форми */
.simpay-form-wrap {
	background: #ffffff;
	padding: 32px;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	max-width: 520px;
	margin: 0 auto;
	font-family: "Inter", "Segoe UI", sans-serif;
}

/* Поля вводу */
.simple-form-control {
	color: #30313d;
	font-weight: 400;
	line-height: 1.15;
}

.simpay-form-control input,
.simpay-form-control select {
	font-size: 16px;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid #ddd;
	width: 100%;
	box-sizing: border-box;
}

.donation-info span {
	font-weight: 400;
}

/* Лейбли */
.simpay-label-wrap label {
	display: flex;
	gap: 4px;
	align-items: center;
	color: #30313d;
	font-weight: 400;
	line-height: 1.15;
	font-size: 0.93rem;
}

/* Валюта біля поля */
.simpay-currency-symbol {
	font-weight: bold;
	font-size: 16px;
	margin-right: 4px;
	color: #333;
}

/* Кнопка */
.donation-info button.simpay-checkout-btn {
	padding: 6px 16px;
	font-weight: 600;
	border-radius: 8px;
	white-space: no-wrap;
	width: 100%;
	cursor: pointer;
	background-color: var(--yellow-base);
	border-color: var(--yellow-base);
	color: var(--blue-dark);
	height: 48px;
	font-size: 1.125rem;
}

.donation-info button.simpay-checkout-btn:hover {
	scale: 1;
}

/* Вирівнювання тексту на кнопці */
.donation-info button.simpay-checkout-btn span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

/* Помилки */
.simpay-errors {
	color: #d93025;
	font-size: 13px;
	margin-top: -12px;
	margin-bottom: 16px;
}
