/* Color Variables */
:root {
	--main-bg-color: #949494;
	--header-bg-color: #739072;
	--header-text-color: #3A4D39;
	--nav-link-color: #3A4D39;
	--nav-link-hover-color: #4F6F52;
	--page-padding: 20px;
	--container-padding-left: 20px;
	--feature-text-color: #4F6F52;
	--brief-text-color: #3A4D39;
	--login-bg-color: #739072;
	--login-label-color: #3A4D39;
	--login-input-bg: #e0dede;
	--login-button-bg: #3A4D39;
	--login-button-hover-bg: #4F6F52;
	--map-border-color: #ccc;
	--loader-bg-color: #739072;
	--loader-border-color: #3A4D39;
	--loader-fill-color: #3A4D39;
	--error-color: #cc0000;
}

/* General Styles */
body {
	font-family: 'Jost', sans-serif;
	margin: 0;
	padding: 0;
	background: var(--main-bg-color);
}

.container {
	padding-left: var(--container-padding-left);
	margin: 0 auto;
	overflow: hidden;
}

header {
	background: var(--header-bg-color);
	color: var(--header-text-color);
	padding: 1em 0;
	font-size: 1.25em;
}

header h1 {
	margin: 0;
	text-align: center;
}

nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
}

nav li {
	display: inline;
	margin-right: 20px;
}

nav a:hover {
	color: var(--nav-link-hover-color);
}

nav a {
	color: var(--nav-link-color);
	text-decoration: none;
	font-weight: bold;
}

.page {
	padding: var(--page-padding);
	margin: var(--page-padding);
}

@media only screen and (max-width: 600px) {
	header {
		text-align: center;
	}

	nav {
		text-align: center;
	}

	nav li {
		display: block;
		margin-bottom: 10px;
	}
}

/* Home Page */
.brief {
	text-align: center;
	color: var(--brief-text-color);
}

.features {
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	color: var(--feature-text-color);
	justify-content: center;
}

.feature {
	text-align: center;
	width: 45%;
	margin: 1em;
}

@media only screen and (max-width: 720px) {
	.feature {
		width: 100%;
	}
}

/* Login Page */
.registration-wrapper {
	width: 60%;
	height: 500px;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0px 10px 50px #0b0b0b;
	margin: 0 auto;
}

@media only screen and (max-width: 800px) {
	.registration-wrapper {
		width: 100%;
		height: 550px;
	}
}

@media only screen and (max-width: 600px) {
	.registration-wrapper {
		height: 550px;
		width: 100%;
	}
}

#chk {
	display: none;
}

.signup {
	position: relative;
	width: 100%;
	height: 100%;
}

label {
	color: var(--login-label-color);
	font-size: 2.3em;
	justify-content: center;
	display: flex;
	margin: 60px;
	font-weight: bold;
	cursor: pointer;
	transition: .5s ease-in-out;
}

input {
	width: 60%;
	height: 20px;
	background: var(--login-input-bg);
	justify-content: center;
	display: flex;
	margin: 20px auto;
	padding: 10px;
	border: none;
	outline: none;
	border-radius: 5px;
}

@media only screen and (max-width: 800px) {
	input {
		width: 80%;
	}
}

button {
	width: 60%;
	height: 40px;
	margin: 10px auto;
	justify-content: center;
	display: block;
	color: #fff;
	background: var(--login-button-bg);
	font-size: 1em;
	font-weight: bold;
	margin-top: -20px;
	outline: none;
	border: none;
	border-radius: 5px;
	transition: .2s ease-in;
	cursor: pointer;
}

@media only screen and (max-width: 800px) {
	button {
		width: 80%;
	}
}

button:hover {
	background: var(--login-button-hover-bg);
}

.login {
	height: 460px;
	background: var(--login-bg-color);
	border-radius: 60% / 10%;
	transform: translateY(-180px);
	transition: .8s ease-in-out;
}

.login label {
	color: var(--login-label-color);
	transform: scale(.6);
}

#chk:checked~.login {
	transform: translateY(-500px);
}

@media only screen and (max-width: 800px) {
	#chk:checked~.login {
		transform: translateY(-550px);
	}
}

#chk:checked~.login label {
	transform: scale(1);
}

#chk:checked~.signup label {
	transform: scale(.6);
}

.error-button {
	background-color: var(--error-color);
	pointer-events: none;
}

.password-container {
    display: flex;
    align-items: center;
    position: relative;
	top: -20px;
}

.bi-eye-slash, .bi-eye {
    position: absolute;
    right: 20%;
    cursor: pointer;
	font-size: 20px;
	top: 22px;
	color: var(login-label-color);
}

@media only screen and (max-width: 800px) {
	.bi-eye-slash {
		right: 10%;
	}
}


/* Map Page */
#map-section {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

#map {
	height: 500px;
	width: 100%;
	border: 2px solid var(--map-border-color);
}

@media only screen and (max-width: 800px) {
	#map {
		height: 600px;
	}
}
/* Loading Page */

.loader-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--loader-bg-color);
	transition: opacity 0.5s ease-in-out;
}

.loader {
    display: inline-block;
    border-radius: 10px;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    border: 4px solid var(--loader-border-color);
    animation: loader 2s infinite ease;
}


.loader-inner {
	vertical-align: top;
	display: inline-block;
	width: 100%;
	background-color: var(--loader-fill-color);
	animation: loader-inner 2s infinite ease-in;
}

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

	25% {
		transform: rotate(180deg);
	}


	50% {
		transform: rotate(180deg);
	}

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

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

@keyframes loader-inner {
	0% {
		height: 0%;
	}

	25% {
		height: 0%;
	}

	50% {
		height: 100%;
	}

	75% {
		height: 100%;
	}

	100% {
		height: 0%;
	}
} 

/* loading page end */

/* dashboard page start */


.dashboardContent {
	justify-content: left;
}
.user-info {
    display: flex;
    align-items: center;
}

.profile-picture img {
    width: 100px; 
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
}

.user-details {
    flex-grow: 1;
}

