﻿@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Padauk:wght@400;700&display=swap");

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Nunito Sans";
}

body {
	height: 100vh;
}

/* MAIN LAYOUT */
.login-wrapper {
	display: flex;
	height: 100%;
}

/* LEFT PANEL */
.left-panel {
	width: 60%;
	background: #d4e5f2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.logo-svg {
	width: 220px;
	height: auto;
	margin-bottom: 48px;
}

.brand-svg {
	width: 260px;
	height: auto;
}

/* RIGHT PANEL */
.right-panel {
	width: 40%;
	position: relative;
	background: #fff;
}

/* WAVES */
.top-waves {
	position: absolute;
	top: 0;
	width: 100%;
}

	.top-waves img {
		position: absolute;
		width: 100%;
	}

		.top-waves img:nth-child(1) {
			top: 0;
		}

		.top-waves img:nth-child(2) {
			top: 14px;
		}

		.top-waves img:nth-child(3) {
			top: 28px;
		}

		.top-waves img:nth-child(4) {
			top: 42px;
		}

/* FORM */
.form-box {
	max-width: 360px;
	margin: 0 auto;
	margin-top: 190px;
}

	.form-box h2 {
		text-align: center;
		color: #118ff6;
		margin-bottom: 32px;
		font-weight: 400;
		font-size: 28px;
	}

label {
	font-size: 13px;
	color: #3f3f3f;
	font-weight: 600;
}

input {
	width: 100%;
	padding: 10px 12px;
	margin: 6px 0 18px;
	border: 1px solid #dee1e6;
	border-radius: 4px;
}

	input:focus {
		outline: none;
		border-color: #dee1e6;
	}

	input::placeholder {
		color: #8e8989;
	}

.forgot {
	display: block;
	text-align: right;
	font-size: 12px;
	color: #0f8df3;
	text-decoration: none;
	margin-bottom: 22px;
	font-weight: 400;
}

.sign-up,
.request-link {
	width: 100%;
	background: #118ff6;
	border: none;
	color: #ffffff;
	padding: 12px;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	font-weight: 500;
	font-family: "inter";
}

.register {
	text-align: center;
	margin-top: 22px;
	font-size: 12px;
	color: #3f3f3f;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	display: block;
	padding-top: 20px;
}

.hidden {
	display: none;
}

.reset h2 {
	color: #118ff6;
	font-weight: 400;
}

.info {
	font-size: 12px;
	color: #5c5c5c;
	text-align: center;
	margin-bottom: 24px;
}

.back {
	margin-top: 40px;
	text-align: center;
	font-size: 12px;
	color: #6828e7;
	cursor: pointer;
	font-weight: 400;
}

.error {
	color: #e53935;
	font-size: 12px;
	margin-top: -12px;
	margin-bottom: 12px;
	display: none;
}

@media (max-width: 1024px) and (min-width: 320px) {
	.login-wrapper {
		flex-direction: column;
	}

	.left-panel {
		display: none;
	}

	.right-panel {
		width: 100%;
		min-height: 100vh;
	}

	.top-waves {
		position: relative;
		height: 160px;
		background-color: #2b96ee;
		overflow: hidden;
		border-radius: 8px;
	}

		.top-waves img {
			position: absolute;
			width: 100%;
			left: 0;
		}

			.top-waves img:nth-child(1) {
				top: -5px;
			}

			.top-waves img:nth-child(2) {
				top: 10px;
			}

			.top-waves img:nth-child(3) {
				top: 25px;
			}

			.top-waves img:nth-child(4) {
				top: 38px;
			}

	.form-box {
		margin-top: 80px;
		padding: 0 20px;
	}
}

@media (max-width: 595px) and (min-width: 320px) {
	.top-waves {
		height: 110px;
	}
}

.password-wrapper {
	position: relative;
	width: 100%;
}

	.password-wrapper input {
		width: 100%;
		padding-right: 45px;
		box-sizing: border-box;
	}

.eye-icon {
	position: absolute;
	right: 12px;
	top: 25px;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	cursor: pointer;
}
