:root {
	--text-base: #afb6c2;
	--text-title: #d4ccb6;
	--background: #191816;
	--form-background: #24221f;
	--primary-color: #ffc632;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Roboto", sans-serif;
	font-weight: 400 e 500;

	background-color: var(--background);
	color: var(--text-base);
}

.main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	grid-template-areas: "left right";
	height: 100vh;
}
.left {
	grid-area: left;
	margin: 2rem 3rem;
}

.container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.right {
	grid-area: right;
	width: 100%;
	min-width: 500px;
}

.right img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

header {
	display: flex;
	justify-content: flex-start;
	align-items: center;

	min-height: 10vh;
	/* margin: 0 auto; */
	margin: 4rem auto;
}

/* form {
	margin: 6rem 2rem;
	padding: 3rem 6rem;
} */

form {
	margin: 4rem 0;
	padding: 3rem 10%;
	max-width: 500px;
	background-color: var(--form-background);
	border-radius: 4px;
	width: 100%;
}
/* Login Info */

.loginInfo {
	display: flex;
	flex-direction: column;
	margin: 1rem 0;
	padding-bottom: 15px;
}
.loginInfo .title {
	display: flex;
	justify-content: flex-start;

	font-size: 1.7rem;
	font-weight: bold;
	color: var(--text-title);
	padding-bottom: 7px;
	gap: 0.5rem;
}

/* Input */

.input-container {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

label {
	color: var(--text-title);
}
.input-box {
	display: flex;
	align-items: center;
	background-color: var(--form-background);
	border: 1px solid var(--text-base);
	border-radius: 4px;
	padding: 0.75rem 1rem;
	margin-top: 5px;
	transition: all 0.3s ease;
}

.input-box img {
	margin-right: 0.75rem;
	transition: all 0.3s ease;
}

.input-box input {
	background: transparent;
	border: none;
	outline: none;
	color: var(--text-base);
	width: 100%;
}

.input-box input:focus {
	outline: none;
}

/* Eye icon styling */
.eye-toggle {
	cursor: pointer;
	opacity: 0.6;
	width: 20px;
	height: 20px;
}

/* Focused */
.input-box.focused {
	border-color: var(--primary-color);
	background-color: rgba(255, 198, 50, 0.1);
}

/* rows */

.row {
	display: flex;
}

/* remind me */
.remind-me {
	display: flex;
	align-items: center;
	height: 4rem;
	justify-content: space-between;
	padding: 1.5rem 0;
}

/* Checkbox */
.remind-me div {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

#checkbox {
	display: none;
}

.checkbox-custom {
	width: 20px;
	height: 20px;
	border: 2px solid var(--text-base);
	border-radius: 3px;
	background-color: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

#checkbox:checked + .checkbox-custom {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	background-image: url("images/check.svg");
	background-position: center;
	background-size: 17px;
}

#forgot-password {
	color: var(--primary-color);
	font-weight: bold;
	text-decoration: none;
}

/* login btn */

.login-btn {
	width: 100%;
	padding: 1rem;

	background-color: var(--primary-color);
	color: var(--background);

	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 1rem;
	text-align: center;

	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0s ease;
}

.login-btn:active {
	transform: translateY(2px);
}

/* no account row */
.noAccount {
	justify-content: center;
	padding-top: 1rem;
	color: var(--primary-color);
	gap: 0.3rem;
	letter-spacing: 0.05rem;
}

#sign-up {
	color: var(--primary-color);
	font-weight: bold;
	text-decoration: none;
}

/* Responsive */
@media only screen and (max-width: 1100px) {
	.main {
		grid-template-columns: 1fr;
	}

	.right {
		display: none;
	}

	.left {
		margin: 1rem;
		justify-content: center;
		align-items: center;
	}

	form {
		margin: 2rem 0;
		padding: 2rem 1.5rem;
		background-color: var(--background);
		width: 100%;
	}
}
