.doga-modal {
	position: fixed;
	inset: 0;
	display: none;
	z-index: 90990;
	--do-modal-margin: 1.5rem;

	/* iOS safe-area (alt bar / çentik) */
	padding: env(safe-area-inset-top) env(safe-area-inset-right)
	env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.doga-modal.doga-is-open {
	display: block;
}
.doga-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}
.doga-modal__dialog {
	position: relative;
	z-index: 90991;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;

	/* Bootstrap mantığı: yüzdeyle yükseklik değil, güvenli padding */
	height: 100%;
	margin: 0;
	padding: var(--do-modal-margin);
}
.doga-modal__panel {
	width: 100%;
	max-width: 560px;
	
	/* DÜZELTME: max-height'ı daha güvenilir hale getiriyoruz. */
	/* Mobil Safari'de 100vh sorununa karşı 100% ve flex-direction'ı kullanıyoruz. */
	max-height: 100%;
	height: auto; /* İçeriğe göre yükseklik alır */
	
	background: #fff; /* Zaten var */
	border-radius: 14px; /* Zaten var */
	overflow: hidden; /* Zaten var */
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); /* Zaten var */
	display: flex; /* Zaten var */
	flex-direction: column; /* Zaten var */

}
.doga-modal--sm .doga-modal__panel {
	max-width: 520px;
}
.doga-modal--lg .doga-modal__panel {
	max-width: 860px;
}
.doga-modal--xl .doga-modal__panel {
	max-width: 1100px;
}
.doga-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.doga-modal__title {
	margin: 0;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 700;
}
.doga-modal__close {
	border: 0;
	background: transparent;
	cursor: pointer;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	outline: 0 !important;
	color: var(--doga-black);
}
.doga-modal__close:hover {
	background: rgba(0, 0, 0, 0.06);
}
.doga-modal__body {
	padding: 16px 30px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	flex-grow: 1;
}
.doga-modal__footer {
	padding: 14px 18px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}
.doga-modal__footer .btn {
	margin: 0px;
}
/* NO JUMP scroll lock */
body.doga-modal--open {
	position: fixed;
	width: 100%;
	left: 0;
	right: 0;
	overflow: hidden;
}
.select2-container--open {
	z-index: 100050 !important;
}
