.gtk-widget {
	--gtk-primary: #123a63;
	--gtk-primary-dark: #082746;
	--gtk-sticky-top: 40px;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 24px auto;
	color: #1e293b;
	font-family: inherit;
	line-height: 1.5;
}

.gtk-widget *,
.gtk-widget *::before,
.gtk-widget *::after {
	box-sizing: border-box;
}

.gtk-widget__header {
	margin: 0 0 32px;
	padding-left: 19px;
	border-left: 5px solid var(--gtk-primary);
}

.gtk-widget__main-title {
	margin: 0 0 12px;
	color: var(--gtk-primary-dark);
	font-family: inherit;
	font-size: clamp(1.8rem, 4vw, 2.35rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.17;
}

.gtk-widget__subtitle {
	max-width: 920px;
	margin: 0;
	color: #64748b;
	font-size: clamp(1rem, 2vw, 1.15rem);
	line-height: 1.65;
}

.gtk-widget__layout {
	display: flex;
	flex-direction: column;
	gap: 28px;
	align-items: stretch;
}

.gtk-widget__sidebar,
.gtk-widget__content {
	border-radius: 16px;
	box-shadow: 0 16px 38px -20px rgba(8, 39, 70, 0.34);
}

.gtk-widget__sidebar {
	position: relative;
	flex: 0 0 310px;
	align-self: flex-start;
	width: 100%;
	padding: 28px 25px 26px;
	overflow: hidden;
	border: 0;
	background:
		radial-gradient(circle at 100% 0, color-mix(in srgb, #fff 16%, transparent), transparent 34%),
		linear-gradient(145deg, var(--gtk-primary-dark), var(--gtk-primary));
}

.gtk-widget__sidebar::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 5px;
	background: color-mix(in srgb, #fff 38%, transparent);
	content: "";
}

.gtk-widget__sidebar-title {
	margin: 0 0 18px;
	color: #fff;
	font-family: inherit;
	font-size: 1.18rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.gtk-widget__select {
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 42px 12px 15px;
	appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: 10px;
	outline: 0;
	background-color: #fff;
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23123a63%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-position: right 15px top 50%;
	background-size: 12px auto;
	color: #1e293b;
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	box-shadow: 0 8px 20px -13px rgba(3, 20, 38, 0.65);
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gtk-widget__select:hover {
	border-color: #fff;
	background-color: #fff;
	transform: translateY(-1px);
}

.gtk-widget__select:focus-visible {
	border-color: var(--gtk-primary);
	background-color: #fff;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--gtk-primary) 18%, transparent);
}

.gtk-widget__select optgroup {
	color: var(--gtk-primary);
	font-style: normal;
	font-weight: 800;
}

.gtk-widget__select option {
	color: #1e293b;
	font-weight: 500;
}

.gtk-widget__content {
	flex: 1 1 auto;
	min-width: 0;
	padding: clamp(22px, 4vw, 32px);
	border: 1px solid #dce7f1;
	background: #fff;
}

.gtk-widget__content-title {
	margin: 0 0 10px;
	padding: 0 0 15px;
	border-bottom: 2px solid #e5edf5;
	color: var(--gtk-primary);
	font-family: inherit;
	font-size: clamp(1.45rem, 3vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.gtk-widget__section {
	margin: 38px 0 0;
}

.gtk-widget__section:first-child {
	margin-top: 20px;
}

.gtk-widget__section-header {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid #dde8f2;
	border-radius: 10px;
	background: #f6f9fc;
}

.gtk-widget__section-heading {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 5px 9px;
	align-items: baseline;
	min-width: 0;
}

.gtk-widget__section-title {
	margin: 0;
	padding: 0;
	color: var(--gtk-primary-dark);
	font-family: inherit;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.4;
}

.gtk-widget__section-notice {
	color: #c1121f;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.45;
}

.gtk-widget__field {
	position: relative;
	margin: 0 0 18px;
	padding: 21px 24px;
	border: 1px solid #dce7f1;
	border-left: 4px solid var(--gtk-primary);
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 6px 18px -15px rgba(8, 39, 70, 0.42);
}

.gtk-widget__field-title {
	margin: 0 0 11px;
	padding: 0 104px 0 0;
	color: var(--gtk-primary);
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.4;
}

.gtk-widget__field--no-copy .gtk-widget__field-title {
	padding-right: 0;
}

.gtk-widget__text {
	color: #334155;
	font-size: 1rem;
	line-height: 1.72;
	overflow-wrap: anywhere;
	white-space: pre-wrap;
}

.gtk-widget__copy {
	position: absolute;
	top: 17px;
	right: 18px;
	min-height: 34px;
	margin: 0;
	padding: 7px 14px;
	border: 0;
	border-radius: 8px;
	background: var(--gtk-primary);
	box-shadow: 0 2px 5px color-mix(in srgb, var(--gtk-primary) 32%, transparent);
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
	transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.gtk-widget__copy:hover {
	background: var(--gtk-primary-dark);
	box-shadow: 0 4px 8px color-mix(in srgb, var(--gtk-primary) 28%, transparent);
	transform: translateY(-1px);
}

.gtk-widget__copy:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--gtk-primary) 28%, transparent);
	outline-offset: 2px;
}

.gtk-widget__copy:active {
	box-shadow: none;
	transform: translateY(1px);
}

.gtk-widget__copy:disabled {
	cursor: default;
	opacity: 1;
}

.gtk-widget__copy.is-success {
	background: #10b981;
	box-shadow: 0 2px 5px rgba(16, 185, 129, 0.3);
}

.gtk-widget__copy--section {
	position: static;
	flex: 0 0 auto;
	min-height: 36px;
	margin: 0;
	white-space: nowrap;
}

.gtk-widget__empty {
	margin: 20px 0 0;
	padding: 20px;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
	color: #64748b;
	font-size: 1.05rem;
	line-height: 1.6;
	text-align: center;
}

@media (min-width: 768px) {
	.gtk-widget__layout {
		flex-direction: row;
		align-items: flex-start;
	}

	.gtk-widget__sidebar {
		position: sticky;
		top: var(--gtk-sticky-top);
		width: auto;
	}
}

@media (max-width: 520px) {
	.gtk-widget__sidebar {
		padding: 22px 18px;
	}

	.gtk-widget__content {
		padding: 20px 16px;
	}

	.gtk-widget__field {
		padding: 19px 17px;
	}

	.gtk-widget__field-title {
		padding-right: 0;
	}

	.gtk-widget__copy {
		position: static;
		width: 100%;
		margin-top: 16px;
	}

	.gtk-widget__section-header {
		align-items: stretch;
		flex-direction: column;
	}

	.gtk-widget__copy--section {
		margin-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gtk-widget *,
	.gtk-widget *::before,
	.gtk-widget *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
