/**
 * Akademi Eğitim Başvuru Formu - ön yüz stilleri
 * Tüm seçiciler .aeb- öneki ile izole edilmiştir.
 */

.aeb-wrap {
	--aeb-accent: #2f6fed;
	--aeb-accent-dark: #1d4fc4;
	--aeb-max: 900px;
	--aeb-text: #1f2937;
	--aeb-muted: #6b7280;
	--aeb-line: #e5e7eb;
	--aeb-bg: #ffffff;
	--aeb-soft: #f7f9fc;
	--aeb-radius: 14px;
	--aeb-danger: #dc2626;
	--aeb-success: #16a34a;

	max-width: var(--aeb-max);
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--aeb-text);
	font-size: 15px;
	line-height: 1.5;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

.aeb-wrap *,
.aeb-wrap *::before,
.aeb-wrap *::after {
	box-sizing: border-box;
}

/* display:flex/grid kuralları [hidden] özniteliğini ezmesin. */
.aeb-wrap [hidden] {
	display: none !important;
}

/* ---------- Kart ---------- */

.aeb-form,
.aeb-success {
	background: var(--aeb-bg);
	border: 1px solid var(--aeb-line);
	border-radius: var(--aeb-radius);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .12);
	overflow: hidden;
}

/* ---------- Başlık ---------- */

.aeb-head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 28px 32px;
	background: linear-gradient(135deg, var(--aeb-accent) 0%, var(--aeb-accent-dark) 100%);
	color: #fff;
	overflow: hidden;
}

.aeb-head::after {
	content: "";
	position: absolute;
	top: -60px;
	right: -40px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	pointer-events: none;
}

.aeb-head-txt {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.aeb-eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	opacity: .85;
	margin-bottom: 6px;
}

.aeb-wrap .aeb-title {
	margin: 0;
	padding: 0;
	font-size: 26px;
	line-height: 1.25;
	font-weight: 700;
	color: #fff;
	letter-spacing: .2px;
}

.aeb-wrap .aeb-sub {
	margin: 8px 0 0;
	font-size: 14px;
	opacity: .9;
	color: #fff;
}

.aeb-head-badge {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .16);
	display: flex;
	align-items: center;
	justify-content: center;
}

.aeb-head-badge .aeb-ico {
	width: 28px;
	height: 28px;
	fill: #fff;
}

/* ---------- Gövde ---------- */

.aeb-body {
	padding: 28px 32px 32px;
}

.aeb-section + .aeb-section {
	margin-top: 30px;
	padding-top: 26px;
	border-top: 1px solid var(--aeb-line);
}

.aeb-section-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.aeb-wrap .aeb-section-head h3 {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--aeb-text);
	letter-spacing: .2px;
}

.aeb-step {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: color-mix(in srgb, var(--aeb-accent) 12%, #fff);
	color: var(--aeb-accent);
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

@supports not (background: color-mix(in srgb, red 10%, white)) {
	.aeb-step {
		background: #eef3fe;
	}
}

.aeb-optional {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: var(--aeb-muted);
	background: var(--aeb-soft);
	border: 1px solid var(--aeb-line);
	border-radius: 20px;
	padding: 3px 9px;
}

/* ---------- Izgara ---------- */

.aeb-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
}

.aeb-col-1 {
	grid-column: span 1;
}

.aeb-col-2 {
	grid-column: span 1;
}

/* ---------- Alanlar ---------- */

.aeb-field {
	min-width: 0;
}

.aeb-wrap .aeb-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin: 0 0 7px;
	letter-spacing: .1px;
}

.aeb-req {
	color: var(--aeb-danger);
	margin-left: 3px;
}

.aeb-control {
	position: relative;
	display: block;
}

.aeb-wrap .aeb-input {
	width: 100%;
	height: 48px;
	padding: 10px 44px 10px 14px;
	font-size: 15px;
	font-family: inherit;
	color: var(--aeb-text);
	background: var(--aeb-soft);
	border: 1.5px solid var(--aeb-line);
	border-radius: 10px;
	outline: none;
	box-shadow: none;
	transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	line-height: normal;
}

.aeb-wrap .aeb-input::placeholder {
	color: #9ca3af;
	opacity: 1;
}

.aeb-wrap .aeb-input:hover {
	border-color: #d1d5db;
}

.aeb-wrap .aeb-input:focus {
	background: #fff;
	border-color: var(--aeb-accent);
	box-shadow: 0 0 0 4px rgba(47, 111, 237, .13);
}

.aeb-icon {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	pointer-events: none;
	display: flex;
}

.aeb-icon .aeb-ico {
	width: 18px;
	height: 18px;
	fill: #9ca3af;
	transition: fill .18s ease;
}

.aeb-control:focus-within .aeb-ico {
	fill: var(--aeb-accent);
}

.aeb-error {
	display: none;
	font-size: 12.5px;
	color: var(--aeb-danger);
	margin-top: 6px;
	font-weight: 500;
}

.aeb-field.has-error .aeb-input,
.aeb-input.has-error {
	border-color: var(--aeb-danger);
	background: #fef2f2;
}

.aeb-field.has-error .aeb-error,
.aeb-error.is-visible {
	display: block;
}

.aeb-hint {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--aeb-muted);
}

/* ---------- Katılımcılar ---------- */

.aeb-katilimcilar:not(:empty) {
	display: grid;
	gap: 14px;
	margin-bottom: 14px;
}

.aeb-katilimci {
	position: relative;
	padding: 18px;
	border: 1.5px dashed var(--aeb-line);
	border-radius: 12px;
	background: var(--aeb-soft);
	animation: aeb-in .22s ease;
}

@keyframes aeb-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.aeb-katilimci .aeb-input {
	background: #fff;
}

.aeb-katilimci-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.aeb-katilimci-no {
	font-size: 13px;
	font-weight: 600;
	color: var(--aeb-accent);
	text-transform: uppercase;
	letter-spacing: .6px;
}

.aeb-wrap .aeb-katilimci-sil {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: transparent;
	border: 0;
	padding: 4px 6px;
	margin: 0;
	font-size: 12.5px;
	font-family: inherit;
	font-weight: 600;
	color: var(--aeb-danger);
	cursor: pointer;
	border-radius: 6px;
	transition: background .15s ease;
	box-shadow: none;
	text-transform: none;
	line-height: 1.4;
}

.aeb-wrap .aeb-katilimci-sil:hover {
	background: #fee2e2;
}

.aeb-katilimci-sil .aeb-ico {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.aeb-wrap .aeb-add {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: color-mix(in srgb, var(--aeb-accent) 8%, #fff);
	border: 1.5px solid color-mix(in srgb, var(--aeb-accent) 30%, #fff);
	color: var(--aeb-accent);
	border-radius: 10px;
	padding: 11px 18px;
	margin: 0;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: .4px;
	cursor: pointer;
	transition: background .16s ease, border-color .16s ease, transform .16s ease;
	box-shadow: none;
	text-transform: none;
	line-height: 1.2;
}

@supports not (background: color-mix(in srgb, red 10%, white)) {
	.aeb-wrap .aeb-add {
		background: #eef3fe;
		border-color: #c7d8fb;
	}
}

.aeb-wrap .aeb-add:hover {
	background: var(--aeb-accent);
	border-color: var(--aeb-accent);
	color: #fff;
}

.aeb-wrap .aeb-add:hover .aeb-ico {
	fill: #fff;
}

.aeb-add .aeb-ico {
	width: 17px;
	height: 17px;
	fill: var(--aeb-accent);
	transition: fill .16s ease;
}

/* ---------- Dosya ---------- */

.aeb-drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	padding: 28px 20px;
	border: 2px dashed #cbd5e1;
	border-radius: 12px;
	background: var(--aeb-soft);
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease;
}

.aeb-drop:hover,
.aeb-drop.is-over {
	border-color: var(--aeb-accent);
	background: #fff;
}

.aeb-drop .aeb-file {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.aeb-drop-ico {
	display: flex;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--aeb-line);
	align-items: center;
	justify-content: center;
	margin-bottom: 4px;
}

.aeb-drop-ico .aeb-ico {
	width: 22px;
	height: 22px;
	fill: var(--aeb-accent);
}

.aeb-drop-txt {
	font-size: 14.5px;
	color: var(--aeb-muted);
}

.aeb-drop-txt strong {
	color: var(--aeb-accent);
	font-weight: 700;
}

.aeb-drop-meta {
	font-size: 12px;
	color: #9ca3af;
}

.aeb-file-selected {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding: 12px 14px;
	border: 1.5px solid color-mix(in srgb, var(--aeb-success) 35%, #fff);
	background: #f0fdf4;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	color: #166534;
	word-break: break-all;
}

@supports not (background: color-mix(in srgb, red 10%, white)) {
	.aeb-file-selected {
		border-color: #bbf7d0;
	}
}

.aeb-wrap .aeb-file-remove {
	flex: 0 0 auto;
	background: transparent;
	border: 0;
	padding: 2px;
	margin: 0;
	cursor: pointer;
	line-height: 0;
	box-shadow: none;
}

.aeb-file-remove .aeb-ico {
	width: 18px;
	height: 18px;
	fill: #166534;
}

/* ---------- KVKK ---------- */

.aeb-kvkk {
	margin-top: 26px;
	padding: 16px 18px;
	background: var(--aeb-soft);
	border: 1px solid var(--aeb-line);
	border-radius: 12px;
}

.aeb-check {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	cursor: pointer;
	margin: 0;
	font-size: 14px;
	color: #374151;
}

.aeb-check input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
}

.aeb-check-box {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border: 2px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .16s ease, border-color .16s ease;
	margin-top: 1px;
}

.aeb-check-box .aeb-ico {
	width: 14px;
	height: 14px;
	fill: #fff;
	opacity: 0;
	transform: scale(.6);
	transition: opacity .16s ease, transform .16s ease;
}

.aeb-check input:checked + .aeb-check-box {
	background: var(--aeb-accent);
	border-color: var(--aeb-accent);
}

.aeb-check input:checked + .aeb-check-box .aeb-ico {
	opacity: 1;
	transform: scale(1);
}

.aeb-check input:focus-visible + .aeb-check-box {
	box-shadow: 0 0 0 4px rgba(47, 111, 237, .18);
}

.aeb-check-txt {
	line-height: 1.55;
}

.aeb-wrap .aeb-link,
.aeb-check-txt a {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	color: var(--aeb-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
	box-shadow: none;
}

.aeb-wrap .aeb-link:hover,
.aeb-check-txt a:hover {
	color: var(--aeb-accent-dark);
}

.aeb-kvkk.has-error {
	border-color: var(--aeb-danger);
	background: #fef2f2;
}

.aeb-kvkk.has-error .aeb-check-box {
	border-color: var(--aeb-danger);
}

/* ---------- Uyarı ---------- */

.aeb-alert {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 20px;
	padding: 13px 16px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
}

.aeb-alert-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
}

.aeb-alert .aeb-ico {
	width: 18px;
	height: 18px;
	fill: currentColor;
	flex: 0 0 auto;
	margin-top: 1px;
}

/* ---------- Gönder ---------- */

.aeb-actions {
	margin-top: 26px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.aeb-wrap .aeb-submit {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 260px;
	padding: 15px 34px;
	margin: 0;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--aeb-accent) 0%, var(--aeb-accent-dark) 100%);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .6px;
	cursor: pointer;
	box-shadow: 0 8px 20px -8px rgba(47, 111, 237, .7);
	transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
	text-transform: none;
	line-height: 1.2;
}

.aeb-wrap .aeb-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 26px -8px rgba(47, 111, 237, .8);
}

.aeb-wrap .aeb-submit:active {
	transform: translateY(0);
}

.aeb-wrap .aeb-submit[disabled] {
	opacity: .7;
	cursor: not-allowed;
	transform: none;
}

.aeb-spinner {
	display: none;
	width: 17px;
	height: 17px;
	border: 2.5px solid rgba(255, 255, 255, .4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: aeb-spin .7s linear infinite;
}

.aeb-form.is-loading .aeb-spinner {
	display: block;
}

@keyframes aeb-spin {
	to {
		transform: rotate(360deg);
	}
}

.aeb-secure {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 12.5px;
	color: var(--aeb-muted);
}

.aeb-secure .aeb-ico {
	width: 14px;
	height: 14px;
	fill: var(--aeb-muted);
}

/* ---------- Geliştirici imzası ---------- */

.aeb-credit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 0;
	padding: 16px 24px;
	background: linear-gradient(135deg, var(--aeb-accent) 0%, var(--aeb-accent-dark) 100%);
	color: #fff;
	text-align: center;
}

.aeb-credit-ico {
	display: flex;
	flex: 0 0 auto;
}

.aeb-credit .aeb-ico {
	width: 19px;
	height: 19px;
	fill: #fff;
	opacity: .9;
}

.aeb-credit-txt {
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .5px;
	line-height: 1.45;
}

.aeb-wrap .aeb-credit a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
	font-weight: 700;
}

.aeb-success .aeb-credit {
	margin: 40px -32px -56px;
}

/* ---------- Bal küpü ---------- */

.aeb-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Başarı ---------- */

.aeb-success {
	text-align: center;
	padding: 56px 32px;
}

.aeb-success-ico {
	width: 72px;
	height: 72px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: #dcfce7;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: aeb-pop .35s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes aeb-pop {
	from {
		transform: scale(.4);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

.aeb-success-ico .aeb-ico {
	width: 36px;
	height: 36px;
	fill: var(--aeb-success);
}

.aeb-wrap .aeb-success h3 {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	color: var(--aeb-text);
}

.aeb-wrap .aeb-success p {
	margin: 0 auto;
	max-width: 460px;
	font-size: 15px;
	color: var(--aeb-muted);
}

.aeb-wrap .aeb-again {
	margin-top: 24px;
	padding: 11px 24px;
	border-radius: 10px;
	border: 1.5px solid var(--aeb-line);
	background: #fff;
	color: var(--aeb-text);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .16s ease, color .16s ease;
	box-shadow: none;
}

.aeb-wrap .aeb-again:hover {
	border-color: var(--aeb-accent);
	color: var(--aeb-accent);
}

/* ---------- Modal ---------- */

.aeb-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.aeb-modal[hidden] {
	display: none;
}

.aeb-modal-bg {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .55);
	backdrop-filter: blur(2px);
}

.aeb-modal-box {
	position: relative;
	width: 100%;
	max-width: 680px;
	max-height: 86vh;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 24px 60px -12px rgba(15, 23, 42, .4);
	animation: aeb-in .2s ease;
}

.aeb-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	border-bottom: 1px solid var(--aeb-line);
}

.aeb-wrap .aeb-modal-head h4 {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
}

.aeb-wrap .aeb-modal-x {
	background: transparent;
	border: 0;
	padding: 4px;
	cursor: pointer;
	line-height: 0;
	box-shadow: none;
}

.aeb-modal-x .aeb-ico {
	width: 20px;
	height: 20px;
	fill: var(--aeb-muted);
}

.aeb-modal-body {
	padding: 22px;
	overflow-y: auto;
	font-size: 14.5px;
	line-height: 1.7;
	color: #374151;
}

.aeb-modal-body p {
	margin: 0 0 14px;
}

.aeb-modal-foot {
	padding: 16px 22px;
	border-top: 1px solid var(--aeb-line);
	text-align: right;
	background: var(--aeb-soft);
}

.aeb-wrap .aeb-modal-ok {
	padding: 11px 22px;
	border: 0;
	border-radius: 9px;
	background: var(--aeb-accent);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: none;
}

.aeb-wrap .aeb-modal-ok:hover {
	background: var(--aeb-accent-dark);
}

/* ---------- Duyarlı ---------- */

@media (max-width: 720px) {
	.aeb-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.aeb-head {
		padding: 22px 20px;
	}

	.aeb-wrap .aeb-title {
		font-size: 21px;
	}

	.aeb-head-badge {
		width: 46px;
		height: 46px;
		border-radius: 13px;
	}

	.aeb-body {
		padding: 22px 20px 26px;
	}

	.aeb-wrap .aeb-submit {
		width: 100%;
		min-width: 0;
	}

	.aeb-success {
		padding: 44px 22px;
	}

	.aeb-credit {
		padding: 14px 18px;
	}

	.aeb-success .aeb-credit {
		margin: 32px -22px -44px;
	}
}

@media (max-width: 420px) {
	.aeb-head-badge {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aeb-wrap * {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
	}
}
