/* Teklif Al — modern layout (sayfa içi CSS yok) */
:root{
	--ta-accent: #1f9d55;
	--ta-accent-soft: rgba(31,157,85,.12);
	--ta-surface: #ffffff;
	--ta-muted: #f3f5f7;
	--ta-border: #e4e8ec;
	--ta-text: #1c2430;
	--ta-text-soft: #667085;
	--ta-radius: 18px;
	--ta-radius-sm: 12px;
	--ta-shadow: 0 10px 30px rgba(16,24,40,.08);
	--ta-shadow-hover: 0 14px 34px rgba(16,24,40,.14);
}

.teklif-page-bg{
	background: url(../img/svg/pattern-2.svg) no-repeat center bottom fixed;
	background-size: cover;
	min-height: 100vh;
	padding-bottom: 96px;
}

.teklif-shell{
	max-width: 1180px;
	margin: 0 auto;
	padding: 1.25rem 1rem 2rem;
}

.teklif-ust{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
	min-height: 88px;
}
.teklif-ust-logo{
	flex: 0 0 auto;
	z-index: 2;
}
.teklif-ust-logo img{
	height: 72px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
	display: block;
}
.teklif-ust-steps{
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 0;
}
.teklif-steps{
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: nowrap;
	gap: .15rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding: .25rem .15rem;
	scrollbar-width: none;
}
.teklif-steps::-webkit-scrollbar{ display: none; }

.step-circle{
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 auto;
}
.circle-icon{
	width: 52px;
	height: 52px;
	background-color: #e9eef2;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	color: #5b6674;
	transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, transform .2s ease;
}
.step-label{
	margin-top: 6px;
	font-weight: 600;
	font-size: .78rem;
	color: var(--ta-text-soft);
	text-align: center;
	max-width: 84px;
	line-height: 1.2;
}
.step-circle.active .circle-icon,
.step-circle.completed .circle-icon{
	background-color: var(--ta-accent);
	color: #fff;
	box-shadow: 0 8px 18px rgba(31,157,85,.28);
}
.step-circle.active .step-label,
.step-circle.completed .step-label{
	color: var(--ta-text);
}
.step-line{
	width: 56px;
	height: 3px;
	background-color: #e0e6eb;
	margin-top: 24px;
	border-radius: 100px;
	flex: 0 0 auto;
	transition: background-color .3s ease, width .3s ease;
}
.step-line.completed{
	background-color: var(--ta-accent);
}

.main-container{
	background: var(--ta-surface) !important;
	border: 1px solid rgba(255,255,255,.55);
	box-shadow: var(--ta-shadow);
	border-radius: var(--ta-radius) !important;
	min-height: 420px;
	padding: 1.75rem !important;
	margin-left: 0 !important;
	max-width: 100%;
	flex: 0 0 100%;
}

.fade-step{
	display: none;
	opacity: 0;
	transition: opacity .35s ease;
}
.fade-step.show{
	display: block;
	opacity: 1;
}

.teklif-urun-grid{
	display: flex;
	flex-wrap: wrap;
	margin: 0 -.5rem;
}
.teklif-urun-kol{
	padding: .5rem;
	width: 50%;
}
@media (min-width: 576px){
	.teklif-urun-kol{ width: 33.333%; }
}
@media (min-width: 992px){
	.teklif-urun-kol{ width: 20%; }
}
@media (min-width: 1200px){
	.teklif-urun-kol{ width: 16.666%; }
}

.btn_urun_sec,
.btn_musteri_tipi_sec{
	display: block;
	width: 100%;
	max-width: 100%;
	text-decoration: none !important;
	color: inherit;
}
.teklif-kart{
	height: 100%;
	border: 1px solid var(--ta-border);
	border-radius: var(--ta-radius-sm) !important;
	background: var(--ta-surface);
	box-shadow: 0 4px 14px rgba(16,24,40,.05);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
	overflow: hidden;
}
.teklif-kart .card-body{
	padding: 1rem .75rem;
}
.teklif-kart .card-body img{
	height: 72px !important;
	width: 72px !important;
	object-fit: contain;
	margin-bottom: .65rem !important;
}
.teklif-kart .card-title{
	font-size: .88rem;
	margin-bottom: 0;
	line-height: 1.25;
}
.btn_urun_sec:hover .teklif-kart,
.btn_musteri_tipi_sec:hover .teklif-kart,
.btn_urun_sec:focus .teklif-kart,
.btn_musteri_tipi_sec:focus .teklif-kart{
	transform: translateY(-4px);
	box-shadow: var(--ta-shadow-hover);
	border-color: rgba(31,157,85,.35);
	background-color: #f4fff7;
}
.btn_urun_sec:active .teklif-kart,
.btn_musteri_tipi_sec:active .teklif-kart{
	transform: translateY(-1px);
}

.teklif-musteri-wrap{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 1.5rem 0;
}
.teklif-musteri-kol{
	width: 100%;
	max-width: 340px;
}
.teklif-musteri-kol .teklif-kart .card-body img{
	height: 120px !important;
	width: 120px !important;
}
.teklif-urun-secili .teklif-kart .card-body img{
	height: 80px !important;
	width: auto !important;
	max-width: 120px;
}

.teklif-form-panel{
	background: var(--ta-muted);
	border: 1px solid var(--ta-border);
	border-radius: var(--ta-radius) !important;
	padding: 1.25rem !important;
	margin: 1rem auto !important;
	max-width: 920px;
}
.step-3 .teklif-form-panel{
	max-width: 720px;
}
.teklif-form-panel .form-label{
	font-weight: 600;
	color: var(--ta-text);
	margin-bottom: .35rem;
}
.teklif-form-panel .form-control,
.teklif-form-panel .select2-container--default .select2-selection--single{
	border-radius: 10px;
	min-height: 42px;
}
.teklif-form-panel .input-group-text{
	border-radius: 10px 0 0 10px;
}

.teklif-ozel-cta{
	width: 100%;
	max-width: 560px;
	white-space: normal;
	line-height: 1.35;
	border-radius: 12px;
	padding: .85rem 1rem;
}

.teklif-actions{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: .75rem;
	margin-top: 1.25rem;
	padding-bottom: .5rem;
}
.teklif-actions .btn-geri,
.teklif-actions .btn-ileri{
	min-width: 132px;
	height: 46px;
	border-radius: 12px;
	font-weight: 600;
}
#btnTeklifAl,
.btn-teklif-gonder{
	min-width: 180px;
	height: 48px;
	border-radius: 12px;
	font-weight: 700;
	width: auto !important;
	max-width: 100%;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.seyahat-tarih-kol .form-control{ min-width: 0; }
.seyahat-bitis-kilit,
.seyahat-bitis-kilit input{ cursor: not-allowed; }
.seyahat-bitis-kilit input{ pointer-events: none; }
.seyahat-kimlik-tip-grup{
	gap: 4px 2px;
}
.seyahat-kimlik-tip-grup .form-check-inline{
	padding-left: 0 !important;
	margin-right: 1rem;
	display: inline-flex;
	align-items: center;
}
.seyahat-kimlik-tip-grup .form-check-inline .form-check-input{
	position: static !important;
	margin: 0 .45rem 0 0 !important;
	float: none;
}
.seyahat-kimlik-tip-grup .form-check-label{
	display: inline !important;
	margin: 0;
	padding: 0;
	line-height: 1.3;
}
.seyahat-police-tip{
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}
.seyahat-yurt-toggle{
	display: inline-flex;
	align-items: center;
	margin: 0;
	cursor: pointer;
	user-select: none;
}
.seyahat-yurt-toggle input{
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.seyahat-yurt-toggle-govde{
	display: inline-flex;
	align-items: center;
	background: #e6b325;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .2px;
	border-radius: 3px;
	min-width: 118px;
	height: 34px;
	padding: 3px 12px 3px 3px;
	line-height: 1;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.seyahat-yurt-toggle-kol{
	width: 16px;
	height: 28px;
	background: #fff;
	border-radius: 2px;
	margin-right: 10px;
	flex-shrink: 0;
	box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}
.seyahat-yurt-toggle input:not(:checked) + .seyahat-yurt-toggle-govde{
	background: #8a8f98;
	flex-direction: row-reverse;
	padding: 3px 3px 3px 12px;
}
.seyahat-yurt-toggle input:not(:checked) + .seyahat-yurt-toggle-govde .seyahat-yurt-toggle-kol{
	margin-right: 0;
	margin-left: 10px;
}
.seyahat-yurt-toggle input:disabled + .seyahat-yurt-toggle-govde{
	opacity: .55;
	cursor: not-allowed;
}
.seyahat-cinsiyet-satir{
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 38px;
}

.table th, .table td{ vertical-align: baseline !important; }
.saglik-kisi-kart{ background: #f8f9fa; border-radius: var(--ta-radius-sm); }
.saglik-kisi-spinner .btn{
	min-width: 38px;
	font-size: 1.1rem;
	line-height: 1;
}
.saglik_tablo_alani{ display: none !important; }

#loader{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	background: #f8f9fa url('../img/svg/pattern-2.svg') no-repeat center bottom fixed !important;
	background-size: cover !important;
	transition: opacity .4s ease !important;
	opacity: 1;
	will-change: opacity;
	transform: translateZ(0);
	backface-visibility: hidden;
}
#loader.loader-hidden{
	opacity: 0 !important;
	pointer-events: none !important;
}

.teklif-footer{
	color: rgba(255,255,255,.85);
	font-size: .85rem;
}

@media (max-width: 991.98px){
	.teklif-ust{
		flex-direction: column;
		align-items: center;
		min-height: 0;
		gap: .75rem;
	}
	.teklif-ust-logo img{ height: 56px; }
	.step-line{
		width: 18px;
		margin-top: 18px;
	}
	.circle-icon{
		width: 40px;
		height: 40px;
		font-size: .95rem;
	}
	.step-label{
		font-size: .62rem;
		max-width: 58px;
	}
	.seyahat-yeni-alan .seyahat-police-tip-kol,
	.seyahat-yeni-alan .seyahat-yurt-satir,
	.seyahat-yeni-alan .seyahat-sure-kol,
	.seyahat-yeni-alan .seyahat-tarih-kol{
		flex: 0 0 100%;
		max-width: 100%;
	}
}

@media (max-width: 767.98px){
	.teklif-page-bg{ padding-bottom: 88px; }
	.teklif-shell{ padding: .75rem .65rem 1.25rem; }
	.main-container{
		padding: 1rem !important;
		border-radius: 16px !important;
		min-height: 320px;
	}
	.teklif-form-panel{
		padding: .9rem !important;
		margin: .35rem 0 !important;
		border-radius: 14px !important;
	}
	.step-3 .col-md-6.offset-md-3,
	.step-4 .col-md-10.offset-md-1{
		max-width: 100%;
		flex: 0 0 100%;
		margin-left: 0 !important;
		padding-left: 0;
		padding-right: 0;
	}
	.teklif-kart .card-body{ padding: .85rem .5rem; }
	.teklif-kart .card-body img{
		height: 56px !important;
		width: 56px !important;
	}
	.teklif-kart .card-title{ font-size: .8rem; }
	.teklif-musteri-kol .teklif-kart .card-body img{
		height: 96px !important;
		width: 96px !important;
	}
	.saglik-kisi-spinner{
		width: 100% !important;
		max-width: 150px;
	}
	.saglik-repeater [data-repeater-create]{ width: 100%; }
	.saglik-kisi-kart{ padding: .85rem !important; }
	.saglik-kisi-kart .form-label{
		font-size: .8rem;
		margin-bottom: .2rem;
	}
	#btnTeklifAl,
	.btn-teklif-gonder{
		width: 100% !important;
		min-width: 0;
	}
	.teklif-actions{
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1040;
		margin: 0;
		padding: .7rem .85rem calc(.7rem + env(safe-area-inset-bottom));
		background: rgba(255,255,255,.96);
		backdrop-filter: blur(10px);
		border-top: 1px solid var(--ta-border);
		box-shadow: 0 -8px 24px rgba(16,24,40,.08);
	}
	.teklif-actions .btn-geri,
	.teklif-actions .btn-ileri{
		flex: 1 1 0;
		min-width: 0;
		height: 48px;
	}
	.teklif-footer{
		position: static !important;
		padding: 1rem .5rem 5.5rem !important;
		color: rgba(255,255,255,.8);
	}
}

.teklif-basari-panel{
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52vh;
	padding: 1.5rem .75rem;
}
.teklif-basari-kart{
	width: 100%;
	max-width: 520px;
	background: var(--ta-surface);
	border: 1px solid var(--ta-border);
	border-radius: var(--ta-radius);
	box-shadow: var(--ta-shadow);
	padding: 2.25rem 1.5rem;
	text-align: center;
}
.teklif-basari-ikon{
	width: 72px;
	height: 72px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ta-accent-soft);
	color: var(--ta-accent);
	font-size: 2.1rem;
}
.teklif-basari-baslik{
	margin: 0 0 .65rem;
	color: var(--ta-text);
	font-size: 1.35rem;
	font-weight: 700;
}
.teklif-basari-mesaj{
	margin: 0;
	color: var(--ta-text-soft);
	font-size: 1.05rem;
	line-height: 1.55;
}
