body {
	background-color: #f5f6f8;
}

/* Sayfa geçişinde odak başlığa taşınır (FocusOnNavigate, ekran okuyucular için); tarayıcının odak çerçevesi gösterilmez. */
h1:focus {
	outline: none;
}

.valid.modified:not([type=checkbox]) {
	outline: 1px solid #26b050;
}

.invalid {
	outline: 1px solid #e50000;
}

.validation-message {
	color: #e50000;
	font-size: .875em;
}

#blazor-error-ui {
	background: lightyellow;
	bottom: 0;
	box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
	display: none;
	left: 0;
	padding: 0.6rem 1.25rem 0.7rem 1.25rem;
	position: fixed;
	width: 100%;
	z-index: 1000;
}

#blazor-error-ui .dismiss {
	cursor: pointer;
	position: absolute;
	right: 0.75rem;
	top: 0.5rem;
}

/* ---- Giriş sayfası ---- */

.login-page {
	min-height: 100vh;
	padding: 110px 16px 40px;
	background-color: #3b4350;
	background-image:
		linear-gradient(45deg, rgba(255, 255, 255, .035) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .035) 75%),
		linear-gradient(45deg, rgba(255, 255, 255, .035) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .035) 75%);
	background-position: 0 0, 5px 5px;
	background-size: 10px 10px;
}

.login-box {
	position: relative;
	display: flow-root; /* ikonun negatif üst boşluğu kutunun dışına taşsın */
	max-width: 420px;
	margin: 0 auto;
	padding-bottom: 28px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, .45);
}

.login-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px;
	margin: -64px auto 0;
	color: #c4c9d0;
	background: #f3f4f6;
	border: 8px solid #fbfbfc;
	border-radius: 50%;
	box-shadow: inset 1px 3px 8px rgba(0, 0, 0, .25);
}

.login-icon svg {
	width: 56px;
	height: 56px;
}

.login-logo {
	padding: 16px 0 4px;
	text-align: center;
}

.login-logo img {
	width: 150px;
	height: auto;
}

.login-box hr {
	width: 70%;
	margin: 14px auto 22px;
	border-top: 1px solid #dddbda;
	opacity: 1;
}

.login-form {
	width: 70%;
	margin: 0 auto;
}

.login-form .form-control {
	padding: 8px;
	color: #6c6c6c;
	border-color: #bfbfbf;
	border-radius: 0;
}

.btn-login {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: #fff;
	background-color: #213a5c;
	border-color: #213a5c;
}

.btn-login:hover,
.btn-login:focus {
	color: #fff;
	background-color: #2e4f7c;
	border-color: #2e4f7c;
}

.btn-login svg {
	width: 1em;
	height: 1em;
}

.animated {
	animation-duration: 1s;
	animation-fill-mode: both;
}

.flip-in-y {
	backface-visibility: visible;
	animation-name: flip-in-y;
}

.bounce-in-down {
	animation-name: bounce-in-down;
	animation-delay: .8s;
}

@keyframes flip-in-y {
	0% { transform: perspective(400px) rotateY(90deg); opacity: 0; }
	40% { transform: perspective(400px) rotateY(-10deg); }
	70% { transform: perspective(400px) rotateY(10deg); }
	100% { transform: perspective(400px) rotateY(0deg); opacity: 1; }
}

@keyframes bounce-in-down {
	0% { transform: translateY(-2000px); opacity: 0; }
	60% { transform: translateY(30px); opacity: 1; }
	80% { transform: translateY(-10px); }
	100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.animated {
		animation: none;
	}
}

@media (max-width: 479px) {
	.login-page {
		padding-top: 80px;
	}

	.login-form {
		width: 85%;
	}
}

/* Yardım sayfası */
.help-toc {
	top: 1rem;
}

.help-content h2 {
	margin-top: 2rem;
	padding-bottom: .35rem;
	border-bottom: 1px solid #dee2e6;
	font-size: 1.4rem;
	scroll-margin-top: 1rem;
}

.help-content h3 {
	margin-top: 1.5rem;
	font-size: 1.1rem;
	scroll-margin-top: 1rem;
}

.help-content code {
	color: #495057;
	background: #f1f3f5;
	padding: 0 .25rem;
	border-radius: .2rem;
}
