/* Online admission forms — premium, card-based styling.
   Uses the same brand colors as gte.css (--gte-primary / --gte-accent)
   but is self-contained so it works on a page that doesn't load gte.css. */

.gte-adm-wrap {
	--gte-adm-primary: #2b1a7a;
	--gte-adm-primary-light: #4530a8;
	--gte-adm-accent: #e9513b;
	--gte-adm-text: #1f2433;
	--gte-adm-muted: #6b7280;
	--gte-adm-border: #e6e8ef;
	--gte-adm-bg: #f7f7fb;
	font-family: 'Reddit Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	color: var(--gte-adm-text);
	max-width: 760px;
	margin: 0 auto;
}

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

.gte-adm-form {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(43, 26, 122, 0.12), 0 2px 8px rgba(0,0,0,0.04);
}

.gte-adm-header {
	background: linear-gradient(135deg, var(--gte-adm-primary) 0%, var(--gte-adm-primary-light) 55%, var(--gte-adm-accent) 130%);
	padding: 40px 32px 32px;
	text-align: center;
	color: #fff;
}
.gte-adm-header-badge {
	width: 56px; height: 56px; margin: 0 auto 12px;
	background: rgba(255,255,255,0.18);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 26px;
}
.gte-adm-header h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.gte-adm-header p { margin: 0; opacity: 0.88; font-size: 14px; }

.gte-adm-body { padding: 28px 28px 36px; }

.gte-adm-section {
	border: 1px solid var(--gte-adm-border);
	border-radius: 14px;
	padding: 20px 20px 10px;
	margin: 0 0 22px;
	background: var(--gte-adm-bg);
}
.gte-adm-section legend {
	display: flex; align-items: center; gap: 10px;
	font-size: 15px; font-weight: 700;
	padding: 0 6px;
	color: var(--gte-adm-primary);
}
.gte-adm-step {
	width: 24px; height: 24px; border-radius: 50%;
	background: var(--gte-adm-primary); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 700;
}

.gte-adm-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px 16px;
	margin-top: 6px;
}
.gte-adm-span-2 { grid-column: span 2; }

.gte-adm-field { display: flex; flex-direction: column; gap: 6px; }
.gte-adm-field span { font-size: 13px; font-weight: 600; color: var(--gte-adm-text); }
.gte-adm-field em { color: var(--gte-adm-accent); font-style: normal; }

.gte-adm-field input[type="text"],
.gte-adm-field input[type="email"],
.gte-adm-field input[type="tel"],
.gte-adm-field input[type="date"],
.gte-adm-field input[type="file"],
.gte-adm-field select,
.gte-adm-field textarea {
	border: 1px solid var(--gte-adm-border);
	border-radius: 10px;
	padding: 11px 13px;
	font-size: 14px;
	font-family: inherit;
	background: #fff;
	color: var(--gte-adm-text);
	transition: border-color 0.15s, box-shadow 0.15s;
	width: 100%;
}
.gte-adm-field input:focus,
.gte-adm-field select:focus,
.gte-adm-field textarea:focus {
	outline: none;
	border-color: var(--gte-adm-primary);
	box-shadow: 0 0 0 3px rgba(43, 26, 122, 0.12);
}

.gte-adm-table-wrap { overflow-x: auto; margin: 10px 0 16px; }
.gte-adm-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border-radius: 10px; overflow: hidden; }
.gte-adm-table th { background: var(--gte-adm-primary); color: #fff; padding: 8px 10px; text-align: left; font-weight: 600; }
.gte-adm-table td { padding: 6px; border-bottom: 1px solid var(--gte-adm-border); }
.gte-adm-table td:first-child { font-weight: 600; white-space: nowrap; padding-left: 10px; }
.gte-adm-table input { width: 100%; border: 1px solid var(--gte-adm-border); border-radius: 6px; padding: 6px 8px; font-size: 13px; font-family: inherit; }

.gte-adm-consent {
	display: flex; align-items: flex-start; gap: 10px;
	font-size: 13px; color: var(--gte-adm-muted); line-height: 1.5;
	margin: 4px 4px 24px;
}
.gte-adm-consent input { margin-top: 3px; flex: none; }

.gte-adm-submit {
	display: block;
	width: 100%;
	background: linear-gradient(135deg, var(--gte-adm-primary), var(--gte-adm-accent));
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 16px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.15s;
	box-shadow: 0 8px 24px rgba(43, 26, 122, 0.25);
}
.gte-adm-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(43, 26, 122, 0.32); }
.gte-adm-submit:active { transform: translateY(0); }

.gte-adm-success {
	background: #fff;
	border-radius: 20px;
	padding: 48px 32px;
	text-align: center;
	box-shadow: 0 10px 40px rgba(43, 26, 122, 0.12);
}
.gte-adm-success-icon {
	width: 64px; height: 64px; margin: 0 auto 18px;
	background: #12805c; color: #fff;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 30px;
}
.gte-adm-success h2 { color: var(--gte-adm-primary); margin: 0 0 10px; }
.gte-adm-success p { color: var(--gte-adm-muted); max-width: 440px; margin: 0 auto 8px; }
.gte-adm-ref { color: var(--gte-adm-text) !important; font-size: 15px; }

@media (max-width: 600px) {
	.gte-adm-grid { grid-template-columns: 1fr; }
	.gte-adm-span-2 { grid-column: span 1; }
	.gte-adm-header { padding: 32px 20px 24px; }
	.gte-adm-body { padding: 20px 16px 28px; }
}

/* Floating "Apply for Admission" button */
.gte-adm-float {
	position: fixed;
	right: 20px;
	bottom: 24px;
	z-index: 99999;
	font-family: 'Reddit Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
.gte-adm-float-btn {
	background: linear-gradient(135deg, #2b1a7a, #e9513b);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 14px 22px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(43, 26, 122, 0.35);
	animation: gte-adm-pulse 2.4s ease-in-out infinite;
}
.gte-adm-float-btn:hover { animation: none; transform: translateY(-2px); }
@keyframes gte-adm-pulse {
	0%, 100% { box-shadow: 0 8px 24px rgba(43, 26, 122, 0.35); }
	50% { box-shadow: 0 8px 30px rgba(233, 81, 59, 0.5); }
}
.gte-adm-float-menu {
	position: absolute;
	bottom: calc(100% + 10px);
	right: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.18);
	padding: 8px;
	min-width: 230px;
}
.gte-adm-float-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	color: #1f2433;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}
.gte-adm-float-menu a:hover { background: #f1effc; color: #2b1a7a; }

@media (max-width: 480px) {
	.gte-adm-float { right: 14px; bottom: 16px; }
	.gte-adm-float-btn { padding: 12px 18px; font-size: 13px; }
}
