﻿.auth-background {
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: linear-gradient(252deg, #fff 0%, var(--Gas-primary) 100%);
}

.auth-container {
	width: 700px;
	background-color: var(--white);
	border-radius: 12px;
	padding: 60px;
	margin-top: 30px;
	margin-bottom: 70px;
	margin-left: 15px;
	margin-right: 15px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 60px;
}

.auth-container-large {
	width: 85% !important;
	max-width: 85% !important;
	display: block !important;
	text-align: left;
	margin: auto;
}

.auth-content {
	width: 100%;
	max-width: 580px;
	display: flex;
	flex-direction: column;
	gap: 40px;
	align-items: center;
	text-align: center;
}

.auth-card {
	width: 100%;
	max-width: 580px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 40px;
}

.logo-name-container {
	width: 100%;
	display: flex;
	justify-content: center;
}

.logo {
	width: 120px;
	max-width: 326px;
	height: 120px;
}

.auth-header-container h1 {
	margin-bottom: 0;
	text-align: center;
	font-size: 34px;
	font-weight: 400;
	line-height: 42px;
	outline: none;
}

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.auth-input-group {
	display: flex;
	flex-direction: column;
}

.input-pair {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

	.input-pair .input-container {
		flex: 1;
		min-width: 48%;
	}

.input.field {
	width: 100%;
	height: 56px;
	border: 1px solid var(--Gas-light-gray);
	border-radius: 5px;
	background-color: var(--Gas-white);
	transition: border-color 0.3s, box-shadow 0.3s;
}

	.input.field:focus {
		outline: none;
		border-color: var(--Gas-primary);
		box-shadow: 0 0 0 2px var(--Gas-primary);
	}

.input-label {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 8px;
	color: var(--Gas-light-gray);
	background-color: var(--Gas-white);
	padding: 0 4px;
	transition: all 0.2s ease;
	pointer-events: none;
	border-radius: 3px;
}

.input.field:focus + .input-label,
.input.field:not(:placeholder-shown) + .input-label {
	top: -10px;
	left: 8px;
	font-size: 12px;
	color: var(--Gas-primary);
	transform: translateY(0);
}

.select.field:valid + .select-label,
.select.field:focus + .select-label {
	transform: translateY(-66px) translateX(8px);
	font-size: 12px;
	color: var(--Gas-primary);
	background-color: var(--Gas-white);
	padding: 0px 4px;
}

input::-ms-reveal,
input::-ms-clear {
	display: none !important;
}

.button-Gas.wide {
	width: 100%;
	padding: 12px;
	text-align: center;
	margin-bottom: 10px;
}

input[type='checkbox'] {
	--checkbox-input-radius: 18px;
	width: var(--checkbox-input-radius);
	height: var(--checkbox-input-radius);
	border: 2px solid var(--Gas-primary);
	border-radius: 3px;
	-webkit-appearance: none;
	appearance: none;
	background-color: var(--Gas-white);
	cursor: pointer;
	position: relative;
	transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
	z-index: 1;
}

input[type='checkbox'] {
	width: 18px;
	height: 18px;
	border: 2px solid var(--Gas-primary);
	border-radius: 3px;
	-webkit-appearance: none;
	appearance: none;
	background-color: var(--Gas-white);
	cursor: pointer;
	position: relative;
	transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

	input[type='checkbox']:hover::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		width: 36px;
		height: 36px;
		background-color: rgba(0, 138, 157, 0.1);
		border-radius: 50%;
		transform: translate(-50%, -50%);
		z-index: -1;
	}

	input[type='checkbox']:focus::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		width: 40px;
		height: 40px;
		background-color: rgba(0, 138, 157, 0.2);
		border-radius: 50%;
		transform: translate(-50%, -50%);
		z-index: -1;
	}

	input[type='checkbox']:active::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		width: 44px;
		height: 44px;
		background-color: rgba(0, 138, 157, 0.3);
		border-radius: 50%;
		transform: translate(-50%, -50%);
		z-index: -1;
	}

	input[type='checkbox']:checked {
		background-color: var(--Gas-primary);
		border-color: var(--Gas-primary);
	}

		input[type='checkbox']:checked::after {
			content: '✓';
			color: var(--Gas-white);
			font-size: 14px;
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			line-height: 18px;
		}

.checkbox-container {
	--checkbox-label-line-height: 24px;
	display: flex;
	gap: 10px;
}

	.checkbox-container input[type='checkbox'] {
		flex: none;
		top: calc((var(--checkbox-label-line-height) - var(--checkbox-input-radius)) / 2);
	}

.checkbox-label {
	line-height: 1.5;
	line-height: var(--checkbox-label-line-height);
	cursor: pointer;
}

.link-text {
	color: var(--Gas-primary);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.3s;
}

	.link-text:hover {
		color: var(--Gas-dark-primary);
		text-decoration: underline;
	}

.info-text {
	text-align: center;
	color: var(--Gas-light-gray);
	line-height: 1.5;
	margin-top: 10px;
}

.tenant-header-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 42px;
	text-align: center;
}

.tenant-list-container {
	width: 100%;
	max-height: 360px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-right: 15px;
	box-sizing: content-box;
}

	.tenant-list-container::-webkit-scrollbar {
		width: 15px;
		background: var(--Gas-Light-Primary, #e6f2f4);
	}

	.tenant-list-container::-webkit-scrollbar-thumb {
		width: 7px;
		border-radius: 100px;
		background: var(--Gas-Dark-Primary, #146d8f);
		border: 4px solid var(--Gas-Light-Primary, #e6f2f4);
	}

		.tenant-list-container::-webkit-scrollbar-thumb:hover {
			background: var(--Gas-Primary, #0064B1);
		}

.tenant-item {
	display: flex;
	align-items: center;
	padding: 12px;
	border: 1px thin var(--Gas-Light-Grey, #9d9d9c);
	border-radius: 4px;
	background-color: var(--Gas-Light-Primary, #e6f2f4);
	cursor: pointer;
	transition: background-color 0.3s, border-color 0.3s;
}

	.tenant-item:hover {
		background-color: var(--Gas-Dark-Primary, #146d8f);
		color: var(--white);
		border-color: var(--Gas-Dark-Primary, #146d8f);
	}

.tenant-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--Gas-Primary, #0064B1);
	color: var(--white);
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	font-weight: bold;
	margin-right: 12px;
}

.tenant-text {
	flex-grow: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.auth-footer {
	width: 100%;
	height: 40px;
	background-color: var(--Gas-Primary, #0064B1);
	color: var(--white);
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	bottom: 0;
	left: 0;
	font-size: 14px;
	text-align: center;
}

.footer-text {
	margin: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0px 1000px var(--Gas-white) inset;
	transition: background-color 5000s ease-in-out 0s;
	border-color: var(--Gas-light-gray);
}

input.input.field.field-40 {
	height: 40px !important;
	padding: 8px 12px;
	font-size: 14px;
	border: 1px solid var(--Gas-light-gray);
	border-radius: 5px;
	background-color: var(--Gas-white);
	box-sizing: border-box;
}

textarea.input.field.note-field {
	height: 120px !important;
	padding: 8px 12px !important;
	font-size: 14px;
	border: 1px solid var(--Gas-light-gray) !important;
	border-radius: 5px !important;
	background-color: var(--Gas-white) !important;
	box-sizing: border-box;
	resize: vertical;
}
