* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
}

.ResetContainer {
	width: 100vw;
	height: 100vh;
	padding: 1.5rem;
	box-sizing: border-box;
	background: url("assets/background.svg") no-repeat center/cover;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ResetWrapper {
	display: flex;
	height: 88vh;
	width: 100%;
	max-width: 1776px;
	background: white;
	border-radius: 0.5rem;
	overflow: hidden;
	box-shadow: 0 1px 5px #00b6aa10;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.ResetImageCover {
	width: 45%;
	min-width: 300px;
	background: url("assets/Adesivo-BOX.svg") no-repeat center/cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

@media (min-width: 1440px) {
	.ResetImageCover {
		width: 45%;
		min-width: 350px;
	}
}

.ResetContent {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 1.2rem;
	z-index: 1;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 1px 5px #00b6aa10;
	height: 100%;
	min-height: 0;
}

.ResetContentWrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	padding-right: 0.5rem;
}

.ResetTitleContainer {
	display: flex;
	margin-top: 4rem;
	flex-direction: column;
	margin-bottom: 1rem;
	flex-shrink: 0;
}

.ResetTitleContainer h1,
.ResetTitleContainer p {
	font-family: "Inter", sans-serif;
	margin: 0;
	padding: 0;
}

.ResetTitleContainer h1 {
	font-size: clamp(2rem, 4vw, 2.8rem);
	margin-bottom: 0.5rem;
	font-weight: bold;
	color: #333;
}

.ResetTitleContainer p {
	font-size: clamp(1.2rem, 3vw, 1.6rem);
	color: #5a5a5a;
}

.ResetForm {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding-top: 6rem;
	width: 100%;
	max-width: 900px;
	flex: 1;
	min-height: 0;
}

.form_content {
	display: flex;
	flex-direction: column-reverse;
	gap: 0.2rem;
	position: relative;
	width: 100%;
}

.form__label,
.form__input {
	font-family: "Inter", sans-serif;
	font-size: 0.95rem;
}

.form__label {
	margin-left: 0.9rem;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	transform: translateY(-50%) scale(1);
	color: #77797b;
	position: absolute;
	top: 50%;
	left: 0;
	pointer-events: none;
	background-color: transparent;
}

.form__input {
	color: #77797b;
	padding: 0.7rem 1.1rem;
	border-radius: 0.4rem;
	background-color: rgba(255, 255, 255, 0.9);
	width: 100%;
	display: block;
	transition: all 0.2s;
	border: 1px solid #00b6aac7;
	font-size: 1rem;
	line-height: 1.4;
}

.form__input:focus+.form__label,
.form__input:not(:placeholder-shown)+.form__label {
	transform: translateY(-1.8rem) scale(0.85);
	color: #00b6a9;
}

.form__input:focus+.form__label,
.form__input:not(:placeholder-shown)+.form__label,
.form__input:-webkit-autofill+.form__label {
	transform: translateY(-2.2rem) scale(0.85);
	color: #00b6a9;
	background-color: white;
	padding: 0 0.3rem;
}

.form__input::placeholder {
	color: transparent;
}

.form__input:disabled {
	color: #a1a1a1;
	cursor: not-allowed;
	opacity: 0.7;
}

.ResetFooter {
	margin-top: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

button[type="submit"] {
	padding: 0.7rem 2.2rem;
	border: none;
	border-radius: 2rem;
	background-color: #00b6a9;
	color: white;
	font-size: 1rem;
	font-weight: 600;
	box-shadow: 0 2px 4px rgba(0, 182, 169, 0.15);
	transition: all 0.2s ease;
	width: 100%;
	max-width: 150px;
	position: relative;
	z-index: 2;
	cursor: pointer;
}

button[type="submit"]:hover {
	cursor: pointer;
	background-color: #009688;
	transform: translateY(-1px);
	box-shadow: 0 3px 6px rgba(0, 182, 169, 0.2);
}

button[type="submit"]:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 182, 169, 0.15);
}

a {
	font-family: "Inter", sans-serif;
	color: #5a5a5a;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.2s ease;
}

a:hover {
	color: #00b6a9;
}

#resetError {
	font-family: "Inter", sans-serif;
	color: #dc3545;
	margin-top: 1rem;
	text-align: left;
	font-size: 0.9rem;
	display: none;
	width: 100%;
}

.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	justify-content: center;
	align-items: center;
	z-index: 9999;
	overflow: hidden;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.6);
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.modal-overlay.show {
	display: flex;
}

.modal-content {
	background: #ffffff;
	border-radius: 1.5rem;
	padding: 2.5rem 2rem;
	text-align: center;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
	max-width: 400px;
	width: 90%;
	animation: fadeIn 0.3s ease-in-out;
	font-family: "Inter", sans-serif;
	position: relative;
}

.modal-content h2 {
	color: #000000;
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.modal-content p {
	color: #5a5a5a;
	font-size: 1rem;
	margin-bottom: 1.5rem;
}

.modal-content input {
	width: 100%;
	padding: 0.8rem 1rem;
	/* margin-bottom: 1.5rem; */
	border: 2px solid #00b6a9;
	border-radius: 0.75rem;
	font-size: 1rem;
	color: #333;
	outline: none;
	transition: border 0.3s;
}

.modal-content input:focus {
	border-color: #00b6a9;
}

.modal-content button {
	padding: 0.8rem 2rem;
	border-radius: 2rem;
	background-color: #00b6a9;
	color: white;
	border: none;
	margin-top: 1rem;
	font-size: 1rem;
	box-shadow: 0 0 8px -2px rgba(0, 0, 0, 0.2);
	transition: all 0.2s ease;
}

.modal-content button:hover {
	background-color: #00b6aabd;
	cursor: pointer;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.senha-wrapper {
	margin-top: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: bold;
}

.senha-wrapper input {
	padding: 0.5rem;
	border: 2px solid #2e7d32;
	border-radius: 8px;
	font-size: 1rem;
	text-align: center;
	width: 70%;
	color: #333;
}

.senha-wrapper button {
	background: none;
	border: none;
	font-size: 1rem;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.senha-wrapper button:hover {
	transform: scale(1.1);
}

.modal-content {
	position: relative;
}

@media (max-width: 768px) {
	.ResetContainer {
		padding: 1rem;
		height: 100vh;
	}

	.ResetWrapper {
		height: 95vh;
		flex-direction: column-reverse;
		margin: 0;
	}

	.ResetImageCover {
		background: url("assets/vtt-logo.png") no-repeat center/cover;
		max-height: 22vh;
		transform: scale(0.4);
		height: 100%;
		width: 100%;
		flex-shrink: 0;
	}

	.ResetContent {
		padding: 1rem;
		height: auto;
		min-height: 0;
		flex: 1;
	}

	.ResetContentWrapper {
		padding-right: 0;
		height: auto;
		min-height: 0;
	}

	.ResetTitleContainer {
		margin-bottom: 0.8rem;
	}

	.ResetForm {
		gap: 2.6rem;
		padding-bottom: 0.5rem;
	}

	.ResetFooter {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	button[type="submit"] {
		width: 100%;
		max-width: none;
	}

	.modal-content {
		padding: 1.5rem;
	}
}

@media (max-height: 600px) {
	.ResetWrapper {
		height: 98vh;
	}

	.ResetImageCover {
		min-height: 100px;
	}

	.ResetContent {
		padding: 0.8rem;
	}

	.ResetForm {
		padding-top: 3rem;
		gap: 1.7rem;
	}

	.ResetTitleContainer {
		margin-bottom: 0.5rem;

		h1 {
			font-size: 2rem;
		}

		p {
			font-size: 1rem;
		}
	}

	.form__input {
		padding: 0.5rem 0.8rem;
	}
}

.loading-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 2rem;
}

.loading-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #00b6a9;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

.loading-content p {
	color: #5a5a5a;
	font-size: 1.1rem;
	margin: 0;
	font-weight: 500;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}