@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;1,100&display=swap');

:root {
	--primary-color: #2f6243;
	--secondary-color: #bfc0c0;
	--white: #fff;
	--text-clr: #5b6475;
	--header-clr: #25273d;
	--next-btn-hover: #140A44;
	--back-btn-hover: #8b8c8c;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	list-style: none;
	outline: none;
	font-family: 'Poppins', sans-serif;
}

body {
	/* background: var(--primary-color); */
	color: var(--text-clr);
	font-size: 16px;
	position: relative;
}

.wrapper {
	width: 380px;
	max-width: 100%;
	/* background: var(--white); */
	margin: 50px auto 0;
	margin-top: 100px;
	padding: 20px;
	border-radius: 5px;
	padding-bottom: 60px;

}

.wrapper .header {
	display: flex;
	justify-content: center;
}

.wrapper .header ul {
	display: flex;
}

.wrapper .header ul li {
	margin-right: 10px;
	position: relative;
}

.wrapper .header ul li:last-child {
	margin-right: 0;
}

.wrapper .header ul li:before {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 55px;
	width: 100%;
	height: 2px;
	background: var(--secondary-color);
}

.wrapper .header ul li:last-child:before {
	display: none;
}

.wrapper .header ul li div {
	padding: 5px;
	border-radius: 50%;
}

.line-border {
	width: 100%;
	height: 4px;
	background-color: #2f6243;
	content: "";
	margin-top: -10px;
	margin-bottom: 20px;
	border-radius: 8px;
}

/* .wrapper .header ul li div {
	padding: 2px;
	padding-left: 0px;
	padding-right: 0px;
	border-radius: 50%;
} */

.wrapper .header ul li p {
	width: 100px;
	height: 50px;
	background: var(--secondary-color);
	color: var(--white);
	text-align: center;
	justify-self: center;
	line-height: 50px;
	border-radius: 8px;
	font-size: 16px;
}

.wrapper .header ul li.active:before {
	background: var(--primary-color);
}

.wrapper .header ul li.active p {
	background: var(--primary-color);
}

.wrapper .form_wrap {
	margin-bottom: 35px;
}

.wrapper .form_wrap .forgotpass {
	color: #A0A1A5;
	display: block;
	font-weight: 300;
	margin-left: 200px;
	margin-top: -15px;
	cursor: pointer;
}

.wrapper .form_wrap h2 {
	color: #ffff;
	text-align: center;
	/* text-transform: uppercase; */
	margin-bottom: 20px;
	margin-top: -10px;
	font-weight: 400;
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
}

.wrapper .form_wrap h1 {
	color: #2f6243;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 20px;
	margin-top: -10px;
	font-weight: 700;
	font-family: 'Poppins', sans-serif;
	font-size: 20px;
}

.wrapper .form_wrap h3 {
	color: #000000;
	text-align: center;
	/* text-transform: uppercase; */
	/* margin-bottom: 20px; */
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	width: 100%;
	text-align: center;
	margin-top: 10px;
}

.wrapper .form_wrap h3 a {
	color: #000000;
	font-weight: 600;
	cursor: pointer;
}


.wrapper .form_wrap .input_wrap {
	width: 350px;
	max-width: 100%;
	margin: 0 auto 20px;
}

.wrapper .form_wrap .input_wrap:last-child {
	margin-bottom: 0;
}

.wrapper .form_wrap .input_wrap label {
	display: block;
	margin-bottom: 5px;
	font-weight: 400;
}

.wrapper .form_wrap .input_wrap .input {
	border: 2px solid var(--secondary-color);
	border-radius: 3px;
	padding: 10px;
	display: block;
	width: 100%;
	transition: 0.5s ease;
	height: 40px;
}

/* //////////////////////// */



.form {
	position: relative;
	width: 20rem;
	height: 40px;
	background-color: #fff;
}

.form__input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 1.9px solid #898989;
	border-radius: 0.5rem;
	font-family: inherit;
	font-size: 16px;
	outline: none;
	padding: 1.25rem;
	/* background: none; */

	/* Change border when input focus*/
}

.form-select {
	color: gray;
	position: absolute;
	width: 100%;
	height: 100%;
	border: 1.9px solid #898989;
	border-radius: 0.5rem;
	font-family: inherit;
	font-size: 16px;
	outline: none;
	padding-left: 1.25rem;
	/* background: none; */

}

.form__input:hover,
.form-select:hover {
	border-color: var(--primary-color);
}

.form__input:focus,
.form-select:hover {
	border-color: var(--primary-color);
}

.form__label {
	position: absolute;
	font-size: 16px;
	left: 1rem;
	top: 0.8rem;
	padding: 0 0.5rem;
	color: gray;
	cursor: text;
	transition: top 200ms ease-in, left 200ms ease-in, font-size 200ms ease-in;
	background-color: #ffff;
}

/* 
  1. When the input is in the focus state
  reduce the size of the label and move upwards 
  
  2. Keep label state when content is in input field 
  */
.form__input:focus~.form__label,
.form__input:not(:placeholder-shown).form__input:not(:focus)~.form__label {
	top: -0.8rem;
	font-size: 10px;
	left: 0.8rem;
	color: #2f6243;
}



/* /////////////////// */



.wrapper .btns_wrap {
	width: 350px;
	max-width: 100%;
	margin: 0 auto;
}

.wrapper .btns_wrap .common_btns {
	display: flex;
	justify-content: space-between;
}

.wrapper .btns_wrap .common_btns.form_1_btns {
	justify-content: space-between;
}

.wrapper .btns_wrap .common_btns.login_btn {
	justify-content: center;
}

.wrapper .btns_wrap .common_btns button {
	border: 0;
	padding: 12px 15px;
	background: var(--primary-color);
	color: var(--white);
	width: 135px;
	justify-content: center;
	display: flex;
	align-items: center;
	font-size: 16px;
	border-radius: 7px;
	transition: 0.5s ease;
	cursor: pointer;
	margin-bottom: 10px;
}

.wrapper .btns_wrap .common_btns.login_btn button {
	border: 0;
	padding: 12px 15px;
	background: var(--primary-color);
	color: var(--white);
	width: 100%;
	justify-content: center;
	display: flex;
	align-items: center;
	font-size: 16px;
	border-radius: 7px;
	transition: 0.5s ease;
	cursor: pointer;
	height: 40px;
	outline: none;
}

.wrapper .btns_wrap .common_btns.register_btn button,
.wrapper .btns_wrap .common_btns.savepass_btn button {
	border: 0;
	padding: 12px 15px;
	background: #f6cd35;
	color: var(--primary-color);
	width: 100%;
	justify-content: center;
	display: flex;
	align-items: center;
	font-size: 16px;
	border-radius: 7px;
	transition: 0.5s ease;
	cursor: pointer;
	height: 40px;
	outline: none;
}

.wrapper .btns_wrap .common_btns button.btn_back {
	background: var(--secondary-color);
}

.wrapper .btns_wrap .common_btns button.btn_back_login {
	background: #fff;
	border: 2px solid #2f6243;
	color: #2f6243;
}

.wrapper .btns_wrap .common_btns button.btn_next .icon {
	display: flex;
	margin-left: 10px;
}

.wrapper .btns_wrap .common_btns button.btn_back .icon,
.wrapper .btns_wrap .common_btns button.btn_back_login .icon {
	display: flex;
	margin-right: 10px;
}

.wrapper .btns_wrap .common_btns button.btn_next:hover,
.wrapper .btns_wrap .common_btns button.btn_done:hover,
.wrapper .btns_wrap .common_btns button.btn_login:hover,
.wrapper .btns_wrap .common_btns button.btn_register:hover,
.wrapper .btns_wrap .common_btns button.btn_back_login:hover,
.wrapper .btns_wrap .common_btns button.btn_savepass:hover {
	/* background: var(--next-btn-hover); */
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.wrapper .btns_wrap .common_btns button.btn_back:hover {
	background: var(--back-btn-hover);
}

.wrapper .form_wrap h3 a:hover {
	color: var(--next-btn-hover);
	text-decoration: none;
}

.wrapper .form_wrap .forgotpass:hover {
	text-decoration: none;
	color: #2f6243;
}

.modal_wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	visibility: hidden;
}

.modal_wrapper .shadow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	opacity: 0;
	transition: 0.2s ease;
}

.modal_wrapper .success_wrap {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -800px);
	background: var(--white);
	padding: 50px;
	display: flex;
	align-items: center;
	border-radius: 10px;
	transition: 0.5s ease;
}

.modal_wrapper .success_wrap .modal_icon {
	margin-right: 20px;
	width: 50px;
	height: 50px;
	background: var(--next-btn-hover);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: 700;
}

.modal_wrapper.active {
	visibility: visible;
}

.modal_wrapper.active .shadow {
	opacity: 1;
}

.modal_wrapper.active .success_wrap {
	transform: translate(-50%, -50%);
}

.form_wrap .alerts {
	position: relative;
	padding: 0.75rem 1.25rem;
	border: 1.5px solid;
	border-radius: 5px;
	/* margin-left: 50px;
	margin-right: 50px; */
	margin-bottom: 20px;
	text-align: center;
}

.alerts-danger {
	color: #b83333;
	border-color: #b83333;
	background-color: #fff;
	/* background-color: #b83333; */
	/* border-color: #f5c6cb; */
}

.alerts-success {
	color: #28a745;
	border-color: #28a745;
	background-color: #fff;
	/* background-color: #b83333; */
	/* border-color: #f5c6cb; */
}

.btn-disabled:disabled{
	background-color: gray;

}