.nt-share-box,
.nt-share-box * {
	box-sizing: border-box;
}

.nt-share-box {
	width: min(100%, 760px);
	margin: 44px auto 60px;
	padding: 34px 18px 28px;
	text-align: center;
	direction: rtl;
}

.nt-share-box__icon {
	display: block;
	margin-bottom: 15px;
	font-size: 80px;
	line-height: 1;
}

.nt-share-box h3 {
	margin: 0 0 8px;
	color: #18324f;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 600;
	line-height: 1.35;
	margin: 0.5em !important;
}

.nt-share-box p {
	max-width: 640px;
	margin: 0 auto 28px;
	color: #66758b;
	font-size: 17px;
	line-height: 1.9;
	margin-bottom: 10px !important;
}

.nt-share-box__buttons {
	width: 100%;
}

.nt-share-box__row {
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.nt-share-box__row--secondary {
	margin-bottom: 0;
}

.nt-share-box__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
	width: 116px;
	min-height: 88px;
	padding: 10px 12px;
	border: 1px solid #d5e7fb;
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.28);
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(24, 50, 79, 0.025);
	color: #18324f;
	cursor: pointer;
	font: inherit;
	text-decoration: none !important;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.nt-share-box__btn:hover:not(.is-copied):not(.is-hover-locked),
.nt-share-box__btn:focus-visible:not(.is-copied):not(.is-hover-locked) {
	border-color: color-mix(in srgb, var(--nt-share-color, #1877f2) 32%, #d5e7fb);
	background: color-mix(in srgb, var(--nt-share-color, #1877f2) 5%, #fff);
	box-shadow: 0 7px 16px color-mix(in srgb, var(--nt-share-color, #1877f2) 9%, rgba(24, 50, 79, 0.06));
	color: #18324f;
	transform: translateY(-1px);
}

.nt-share-box__btn svg {
	display: block;
	width: 40px;
	height: 40px;
	fill: var(--nt-share-color, #1877f2);
}

.nt-share-box__btn span {
	color: #26364b;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
	white-space: nowrap;
}

.nt-share-box__btn.is-facebook { --nt-share-color: #1877f2; }
.nt-share-box__btn.is-x { --nt-share-color: #050505; }
.nt-share-box__btn.is-linkedin { --nt-share-color: #0a66c2; }
.nt-share-box__btn.is-whatsapp { --nt-share-color: #25d366; }
.nt-share-box__btn.is-telegram { --nt-share-color: #229ed9; }
.nt-share-box__btn.is-email { --nt-share-color: #ea4335; }
.nt-share-box__btn.is-copy { --nt-share-color: #64748b; }

.nt-share-box__btn.is-copy::after {
	content: attr(data-copy-success);
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	background: #fff;
	color: #18324f;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.3;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.16s ease;
}

.nt-share-box__btn.is-copy.is-copied {
	border-color: #d5e7fb;
	background: rgba(255, 255, 255, 0.28);
	box-shadow: 0 4px 10px rgba(24, 50, 79, 0.025);
	color: #18324f;
	transform: none;
}

.nt-share-box__btn.is-copy.is-copied::after {
	opacity: 1;
}

.nt-share-box__btn.is-copy.is-copied svg,
.nt-share-box__btn.is-copy.is-copied span {
	opacity: 0;
}

@media (max-width: 760px) {
	.nt-share-box {
		width: 100%;
		margin-block: 34px 20px;
		padding-inline: 8px;
	}

	.nt-share-box__row {
		display: contents;
	}

	.nt-share-box__row--secondary {
		margin-bottom: 0;
	}

	.nt-share-box__buttons {
		display: grid;
		grid-template-columns: repeat(3, 94px);
		gap: 10px;
		justify-content: center;
		align-items: center;
		margin-inline: auto;
	}

	.nt-share-box__btn {
		width: 94px;
		min-height: 76px;
		gap: 6px;
		padding: 8px 7px;
	}

	.nt-share-box__btn svg {
		width: 34px;
		height: 34px;
	}

	.nt-share-box__btn span {
		font-size: 12px;
	}

	.nt-share-box__row--secondary .is-copy {
		grid-column: 2;
	}
}

@media (max-width: 420px) {
	.nt-share-box h3 {
		font-size: 22px;
	}

	.nt-share-box p {
		font-size: 14px;
	}

	.nt-share-box__icon {
		font-size: 60px;
	}

	.nt-share-box__buttons {
		grid-template-columns: repeat(3, 86px);
		gap: 8px;
	}

	.nt-share-box__btn {
		width: 86px;
		min-height: 72px;
	}

	.nt-share-box__btn svg {
		width: 32px;
		height: 32px;
	}
}
