/* ==========================================================================
 * BA Psikolojik Testler — Clean Responsive Styles
 * ========================================================================== */
.ba-test-app {
	margin-top: 24px;
	font-family: 'Plus Jakarta Sans', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ba-test-alert {
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-left: 4px solid #dc2626;
	color: #991b1b;
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 18px;
	font-size: 14px;
	font-weight: 600;
}

.ba-test-progress-bar {
	position: sticky;
	top: 10px;
	z-index: 10;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 18px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.ba-test-progress-text {
	display: block;
	font-size: 13px;
	color: #334155;
	margin-bottom: 8px;
}

.ba-progress-track {
	width: 100%;
	height: 8px;
	background: #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
}

.ba-progress-fill {
	height: 100%;
	background: #1b5e53;
	border-radius: 999px;
	transition: width 0.25s ease;
}

.ba-q-card {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 16px 18px;
	margin: 0 0 14px 0;
	background: #ffffff;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ba-q-card.is-answered {
	border-color: #cbd5e1;
	background: #fcfefd;
}

.ba-q-card.is-missing {
	border-color: #dc2626;
	background: #fff5f5;
}

.ba-q-title {
	font-size: 15px;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.5;
	margin: 0 0 12px 0;
	padding: 0;
	border: 0;
	width: 100%;
}

.ba-q-num {
	color: #1b5e53;
	font-weight: 700;
	margin-right: 4px;
}

.ba-answers-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ba-ans-option {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 9px 13px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	background: #f8fafc;
	cursor: pointer;
	margin: 0;
	font-weight: 400;
	font-size: 14px;
	color: #334155;
	line-height: 1.45;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ba-ans-option:hover {
	border-color: #1b5e53;
	background: #f4f9f7;
}

.ba-ans-option input {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #1b5e53;
	cursor: pointer;
}

.ba-ans-option:has(input:checked) {
	border-color: #1b5e53;
	background: #e5f3ef;
	color: #12443c;
	font-weight: 600;
}

.ba-test-submit-wrap {
	margin-top: 22px;
	text-align: center;
}

.ba-test-submit-btn {
	display: inline-block;
	min-height: 48px;
	padding: 12px 32px;
	background: #1b5e53;
	color: #ffffff;
	border: 0;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.ba-test-submit-btn:hover {
	background: #12443c;
	transform: translateY(-1px);
}

.ba-test-disclaimer-mini {
	margin: 12px 0 0 0;
	font-size: 12.5px;
	color: #64748b;
	line-height: 1.5;
}

/* Result Card */
.ba-result-card {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-top: 4px solid #1b5e53;
	border-radius: 10px;
	padding: 24px 22px;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.ba-result-header {
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e2e8f0;
}

.ba-result-badge {
	display: inline-block;
	background: #e5f3ef;
	color: #12443c;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.ba-result-heading {
	margin: 0;
	font-size: 22px;
	color: #0f172a;
	font-weight: 700;
}

.ba-result-item {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #1b5e53;
	border-radius: 8px;
	padding: 16px 18px;
	margin-bottom: 16px;
}

.ba-result-title {
	margin: 0 0 8px 0;
	font-size: 18px;
	color: #1e293b;
	font-weight: 700;
}

.ba-result-desc {
	font-size: 14.5px;
	line-height: 1.65;
	color: #334155;
}

.ba-result-desc p:last-child {
	margin-bottom: 0;
}

.ba-scales-wrap {
	margin: 18px 0;
	padding: 16px 18px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.ba-scales-heading {
	margin: 0 0 12px 0;
	font-size: 15.5px;
	font-weight: 700;
	color: #1e293b;
}

.ba-scale-row {
	margin-bottom: 12px;
}

.ba-scale-row:last-child {
	margin-bottom: 0;
}

.ba-scale-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 5px;
	font-size: 13.5px;
}

.ba-scale-name {
	font-weight: 600;
	color: #1e293b;
}

.ba-scale-score {
	font-weight: 700;
	color: #1b5e53;
	white-space: nowrap;
}

.ba-scale-track {
	width: 100%;
	height: 9px;
	background: #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
}

.ba-scale-fill {
	height: 100%;
	background: #1b5e53;
	border-radius: 999px;
}

.ba-scale-desc {
	margin: 5px 0 0 0;
	font-size: 12.5px;
	color: #64748b;
	line-height: 1.45;
}

.ba-result-cta {
	margin-top: 20px;
	padding: 18px 20px;
	background: #e5f3ef;
	border: 1px solid #c1e0d8;
	border-radius: 8px;
}

.ba-result-cta-title {
	margin: 0 0 6px 0;
	font-size: 15.5px;
	color: #12443c;
}

.ba-result-cta-text {
	margin: 0 0 14px 0;
	font-size: 13.5px;
	color: #334155;
	line-height: 1.5;
}

.ba-result-cta-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

a.ba-cta-primary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 20px;
	background: #1b5e53;
	color: #ffffff !important;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
}

a.ba-cta-secondary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 16px;
	background: #ffffff;
	color: #1e293b !important;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none !important;
}

.ba-result-disclaimer {
	margin: 16px 0 0 0;
	padding-top: 12px;
	border-top: 1px solid #e2e8f0;
	font-size: 12px;
	color: #64748b;
	line-height: 1.55;
}

@media (max-width: 575px) {
	.ba-q-card {
		padding: 14px;
	}
	.ba-result-card {
		padding: 18px 15px;
	}
	.ba-test-submit-btn {
		width: 100%;
	}
}

/* ==========================================================================
 * /test/ Archive Clean Card Grid
 * ========================================================================== */
.ba-archive-intro {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #1b5e53;
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 24px;
	font-family: 'Plus Jakarta Sans', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ba-archive-intro p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: #334155;
}

.ba-test-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	font-family: 'Plus Jakarta Sans', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.page-wrapper article.ba-test-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 20px 22px;
	margin: 0;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.page-wrapper article.ba-test-card:hover {
	transform: translateY(-2px);
	border-color: #1b5e53;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.ba-test-card-top {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.ba-test-meta-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	background: #e5f3ef;
	color: #12443c;
}

.ba-test-meta-badge.ba-badge-soft {
	background: #f4f9f7;
	color: #257365;
	font-weight: 600;
}

.ba-test-card-title {
	margin: 0 0 10px 0;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
}

.ba-test-card-title a {
	color: #0f172a !important;
	text-decoration: none !important;
}

.ba-test-card-title a:hover {
	color: #1b5e53 !important;
}

.ba-test-card-excerpt {
	margin: 0 0 16px 0;
	font-size: 13.8px;
	line-height: 1.55;
	color: #475569;
	flex: 1;
}

.ba-test-card-footer {
	margin-top: auto;
}

a.ba-test-card-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px;
	background: #1b5e53;
	color: #ffffff !important;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background-color 0.2s ease;
}

a.ba-test-card-btn:hover {
	background: #12443c;
}

.ba-archive-cta {
	margin-top: 28px;
	padding: 20px 22px;
	background: #e5f3ef;
	border: 1px solid #c1e0d8;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	font-family: 'Plus Jakarta Sans', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ba-archive-cta p {
	margin: 0;
	font-size: 14.5px;
	color: #12443c;
}

@media (max-width: 767px) {
	.ba-test-grid {
		grid-template-columns: 1fr;
	}
	a.ba-test-card-btn {
		width: 100%;
	}
}

/* ==========================================================================
 * /randevu-al/ Attached Psychological Test Result Banner
 * ========================================================================== */
.ba-randevu-test-banner {
	background: #e5f3ef;
	border: 1px solid #c1e0d8;
	border-left: 4px solid #1b5e53;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-family: 'Plus Jakarta Sans', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ba-randevu-test-badge {
	display: inline-block;
	background: #e5f3ef;
	color: #12443c;
	font-size: 11.5px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 999px;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.ba-randevu-test-summary {
	margin: 0 0 8px 0;
	font-size: 13.8px;
	line-height: 1.5;
	color: #0f172a;
	font-weight: 600;
}

.ba-randevu-test-clear {
	background: transparent;
	border: 0;
	padding: 0;
	color: #64748b;
	font-size: 12.5px;
	text-decoration: underline;
	cursor: pointer;
}

.ba-randevu-test-clear:hover {
	color: #dc2626;
}
