/* Login page styles (moved from templates/login.css so Spring can serve it as a static asset)

   NOTE:
   - Background SVGs and any other assets should be referenced relative to this file.
   - With Spring Boot static resources, /css/login.css is served from classpath:/static/css/login.css
*/

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Segoe UI", Arial, Helvetica, sans-serif;
	background-color: #f2f2f2;
	background-image: url("../images/background-left.svg"), url("../images/background-right.svg");
	background-repeat: no-repeat, no-repeat;
	background-position: left top, right top;
	background-size: auto 100vh, auto 100vh;
	color: #1b1f24;
}

.page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	position: relative;
}

.login-card {
	width: 100%;
	max-width: 384px;
	background: #ffffff;
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	padding: 22px 22px 18px;
	box-shadow: none;
	position: relative;
	z-index: 1;
}

.brand-logo {
	display: block;
	width: 178px;
	height: auto;
	margin: 0 auto 22px;
}

.login-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.field-group label {
	display: block;
	line-height: 1.5em;
	white-space: nowrap;
	font-size: 0.875rem;
	font-weight: 600;
	font-style: normal;
	margin-bottom: 6px;
	color: #202736;
}

.field-group input {
	width: 100%;
	height: 40px;
	border: 1px solid #333;
	border-radius: 2px;
	padding: 0 12px;
	font-size: 13px;
	color: #333;
	font-size: 1rem;
	font-style: normal;
}

.field-group input:focus {
	outline: none;
	border-color: #1570ef;
	box-shadow: 0 0 0 2px rgba(21, 112, 239, 0.18);
}

.password-wrap {
	position: relative;
}

.password-wrap input {
	padding-right: 44px;
}

.toggle-password {
	position: absolute;
	top: 50%;
	right: 9px;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	width: 22px;
	height: 22px;
	cursor: pointer;
	padding: 0;
}

.toggle-password img {
	display: block;
	width: 18px;
	height: 18px;
}

.sign-in-btn {
	height: 40px;
	border: 0;
	border-radius: 4px;
	background: #006be0;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 2px;
}

.sign-in-btn:hover {
	background: #005fc7;
}

.sign-in-btn:disabled,
.sign-in-btn:disabled:hover {
	background-color: #e2e2e2;
	color: #767676;
	opacity: 1;
	cursor: not-allowed;
}

.helper-link {
	margin-top: 2px;
	font-size: 12px;
	color: #2050a8;
	text-decoration: none;
}

.helper-link:hover {
	text-decoration: underline;
}

.divider {
	margin: 17px 0 14px;
	text-align: center;
	position: relative;
	color: #707c90;
	font-size: 12px;
}

.divider::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	border-top: 1px solid #d9e0eb;
}

.divider span {
	background: #ffffff;
	position: relative;
	padding: 0 12px;
}

.district-note {
	margin: 0;
	font-size: 12px;
	line-height: 1.42;
	color: #4f5b71;
}

.search-field-container {
	position: relative;
	margin-top: 12px;
}

.search-field-container.is-disabled {
	opacity: 0.55;
	pointer-events: none;
}

.search-field-container.is-disabled .search-field {
	background: #f4f6f9;
	color: #7a8598;
	border-color: #d2d8e2;
}

.search-field {
	width: 100%;
	height: 38px;
	border: 1px solid #c6cdd8;
	border-radius: 4px;
	padding: 0 38px 0 12px;
	font-size: 13px;
	color: #1b1f24;
	background: #ffffff;
}

.search-field::placeholder {
	color: #7a8598;
}

.search-field:focus {
	outline: none;
	border-color: #1570ef;
	box-shadow: 0 0 0 2px rgba(21, 112, 239, 0.18);
}

.search-field-container img[name="search"] {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0.8;
	pointer-events: none;
}

.district-list,
#forwardFlowEvent,
#extIdpId,
#orgData {
	display: none;
}

.district-btn {
	margin-top: 12px;
	width: 100%;
	height: 38px;
	border-radius: 4px;
	border: 1px solid #b9c7db;
	background: #ffffff;
	color: #204a93;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.district-btn:hover {
	background: #f8fbff;
}

.district-help {
	margin: 14px 0 16px;
	font-size: 12px;
	color: #5e697c;
}

.district-help a {
	color: #2050a8;
	text-decoration: none;
}

.district-help a:hover {
	text-decoration: underline;
}

.footer {
	border-top: 1px solid #e3e8f1;
	padding-top: 12px;
}

.footer p {
	margin: 0;
	font-size: 11px;
	color: #616e83;
	line-height: 1.45;
}

.footer-links {
	margin-top: 8px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.footer-links a {
	font-size: 11px;
	color: #2050a8;
	text-decoration: none;
}

.footer-links a:hover {
	text-decoration: underline;
}

