body.tasagram-sorgu {
	background: #fbf9f7 !important;
}

body.tasagram-sorgu .wd-page-title,
body.tasagram-sorgu .woocommerce-breadcrumb,
body.tasagram-sorgu .wd-footer,
body.tasagram-sorgu .wd-prefooter,
body.tasagram-sorgu .wd-toolbar,
body.tasagram-sorgu .wd-content-area > *:not(.tsg-app) {
	display: none !important;
}

body.tasagram-sorgu .wd-page-content,
body.tasagram-sorgu .wd-content-layout,
body.tasagram-sorgu .wd-content-area,
body.tasagram-sorgu .site-content,
body.tasagram-sorgu .main-page-wrapper {
	background: #fbf9f7 !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.tasagram-sorgu * {
	box-sizing: border-box !important;
}

.tsg-app {
	box-sizing: border-box;
	max-width: 480px;
	margin: 0 auto;
	padding: 16px 16px 80px;
	color: #1a1a1a;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.tsg-app *,
.tsg-app *::before,
.tsg-app *::after {
	box-sizing: border-box;
}

.tsg-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 16px;
	padding: 28px 24px;
	background: linear-gradient(135deg, #fef5f1 0%, #fdeee8 100%);
	border-radius: 20px;
	overflow: hidden;
}

.tsg-hero__content {
	flex: 1;
	min-width: 0;
}

.tsg-hero__badge {
	display: inline-block;
	margin: 0 0 8px;
	padding: 4px 10px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #c4866b;
	background: rgba(212, 168, 155, 0.15);
	border-radius: 6px;
}

.tsg-hero__title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
	color: #1a1a1a;
	letter-spacing: -0.02em;
}

.tsg-hero__subtitle {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #6b7280;
}

.tsg-hero__illustration {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tsg-card {
	margin: 0 0 16px;
	padding: 20px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tsg-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tsg-form__group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tsg-form__label {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	color: #6b7280;
}

.tsg-form__input-wrap {
	position: relative;
}

.tsg-form__input {
	display: block;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 44px 0 16px;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	background: #fff;
	color: #1a1a1a;
	font: inherit;
	font-size: 16px;
	transition: border-color 0.2s;
}

.tsg-form__input:focus {
	outline: none;
	border-color: #d1d5db;
}

.tsg-form__clear {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 20px;
	line-height: 1;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s;
}

.tsg-form__clear:hover {
	background: #e5e7eb;
}

.tsg-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 14px;
	background: #1a1a1a;
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.tsg-btn:hover {
	background: #2d2d2d;
}

.tsg-btn:active {
	background: #0a0a0a;
}

.tsg-alert {
	margin: 12px 0 0;
	padding: 14px 16px;
	border-radius: 12px;
	background: #fef3c7;
	color: #92400e;
	font-size: 14px;
	line-height: 1.4;
}

.tsg-result {
	margin: 0;
}

.tsg-result__header {
	padding-bottom: 16px;
	border-bottom: 1px solid #f3f4f6;
}

.tsg-result__label {
	margin: 0 0 8px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #9ca3af;
}

.tsg-result__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 6px;
}

.tsg-result__code {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #1a1a1a;
}

.tsg-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 10px;
	background: #d1fae5;
	color: #065f46;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.tsg-badge.status-active {
	background: #fef3c7;
	color: #92400e;
}

.tsg-result__updated {
	margin: 0;
	font-size: 12px;
	color: #9ca3af;
}

.tsg-progress {
	margin: 16px 0;
}

.tsg-progress__header {
	display: flex;
	justify-content: space-between;
	margin: 0 0 8px;
	font-size: 13px;
	color: #6b7280;
}

.tsg-progress__bar {
	position: relative;
	height: 8px;
	background: #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}

.tsg-progress__fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: #10b981;
	border-radius: 8px;
	transition: width 0.6s ease;
}

.tsg-meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 16px 0;
}

.tsg-meta__item {
	display: flex;
	gap: 10px;
}

.tsg-meta__icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	color: #9ca3af;
}

.tsg-meta__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.tsg-meta__label {
	margin: 0 0 2px;
	font-size: 11px;
	color: #9ca3af;
}

.tsg-meta__value {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
}

.tsg-timeline {
	margin: 20px 0 0;
	padding-top: 20px;
	border-top: 1px solid #f3f4f6;
}

.tsg-timeline__title {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
}

.tsg-timeline__list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.tsg-timeline__step {
	position: relative;
	display: flex;
	gap: 12px;
	padding: 0 0 20px;
}

.tsg-timeline__step:not(:last-child)::before {
	content: '';
	position: absolute;
	left: 15px;
	top: 32px;
	width: 2px;
	height: calc(100% - 12px);
	background: #e5e7eb;
}

.tsg-timeline__step.done::before {
	background: #10b981;
}

.tsg-timeline__icon {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #e5e7eb;
	color: #9ca3af;
	font-size: 14px;
	font-weight: 600;
}

.tsg-timeline__step.done .tsg-timeline__icon {
	background: #10b981;
	color: #fff;
}

.tsg-timeline__step.done .tsg-timeline__icon::before {
	content: '✓';
	display: block;
}

.tsg-timeline__step.active .tsg-timeline__icon {
	background: #fbbf24;
	color: #fff;
}

.tsg-timeline__icon svg {
	display: none;
}

.tsg-timeline__content {
	flex: 1;
	padding-top: 2px;
}

.tsg-timeline__title-step {
	margin: 0 0 2px;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
}

.tsg-timeline__date {
	margin: 0;
	font-size: 12px;
	color: #9ca3af;
}

.tsg-success {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0 0;
	padding: 16px;
	background: #ecfdf5;
	border-radius: 14px;
}

.tsg-success svg {
	flex: 0 0 24px;
	color: #10b981;
}

.tsg-success div {
	flex: 1;
}

.tsg-success strong {
	display: block;
	margin: 0 0 2px;
	font-size: 14px;
	color: #065f46;
}

.tsg-success p {
	margin: 0;
	font-size: 12px;
	color: #059669;
}

.tsg-success__fav {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: #fff;
	color: #ef4444;
	font-size: 18px;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s;
}

.tsg-success__fav:hover {
	background: #fef2f2;
}

.tsg-photo {
	margin: 20px 0 0;
	padding: 0;
}

.tsg-photo__label {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
}

.tsg-photo__img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #f3f4f6;
	border-radius: 14px;
	overflow: hidden;
}

@media (min-width: 768px) {
	.tsg-app {
		padding: 24px 16px 80px;
	}

	.tsg-hero {
		padding: 36px 32px;
	}

	.tsg-hero__illustration svg {
		width: 140px;
		height: 140px;
	}

	.tsg-card {
		padding: 24px;
	}

	.tsg-meta {
		grid-template-columns: repeat(2, 1fr);
	}
}
