/*****  Layout  *****/
html {
	overflow-y: auto;
}

body {
	/* This creates the layout for the page. We want the header to be at the top and the footer at the bottom. */
	display: flex;
	flex-direction: column;

	/* This makes sure that the footer can reach the bottom, as long as the main content grows to fit the empty space. */
	min-height: 100vh;
}

body > main {
	/* This makes main take up all the extra space, if the full content is shorter than the viewport. */
	flex: 1;

	/* This makes sure there is some comfortable space between the content and the next section. */
	padding-bottom: 5rem;
}

h1 {
	font-size: xx-large;
	line-height: 1.3;
	margin-bottom: 1.5rem;
}

h2 {
	font-size: x-large;
	line-height: 1.3;
	margin-bottom: 1.25rem;
}

h3 {
	font-size: large;
	line-height: 1.3;
	margin-bottom: 1rem;
}

h4 {
	font-size: medium;
	line-height: 1.3;
	margin-bottom: 0.75rem;
}

h5 {
	font-size: small;
	line-height: 1.3;
	margin-bottom: 0.5rem;
}

h6 {
	font-size: x-small;
	line-height: 1.3;
	margin-bottom: 0.5rem;
}

p {
	font-size: large;
	line-height: 1.5;
	margin-bottom: .75rem;
}


/* IE10+ CSS styles go here */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	body {
		/* This creates the layout for the page. We want the header to be at the top and the footer at the bottom. */
		display: block;
	}

	body > main {
		/* This makes main take up some extra space, if the full content is shorter than the viewport. */
		min-height: 40vh;
	}
}

/*****  Shared Components  *****/
.panel {
	border: 2px solid grey;
	padding: 2rem;
	border-radius: 2px;
}

.centered-container {
	display: flex;
	justify-content: center;
}

.recovery-content {
	max-width: 450px;
}


input[type="text"], input[type="email"], input[type="password"] {
	box-sizing: border-box;
	border-radius: 3px;
	border: 1px solid grey;

	width: 100%;

	padding: .5rem;

	font-size: 1rem;
}

/* Put a margin between all form children. */
form > *:not(:last-child) {
	margin-bottom: 2rem;
}

form label {
	display: block;
	margin-bottom: .5rem;
}

form button.btn {
	line-height: 1.25rem;
	padding-left: 2rem;
	padding-right: 2rem;
}

/* Since we're not using the main Bootstrap, include the general look of the alerts */
.alert-success {
	color: #3c763d;
	background-color: #dff0d8;
	border-color: #d6e9c6;
}

.alert-error {
	color: #763c3c;
	background-color: #f0d8d8;
	border-color: #f0d8d8;
}

.alert-info {
	color: #31708f;
	background-color: #d9edf7;
	border-color: #bce8f1;
}

.alert {
	padding: 15px;
	margin-bottom: 20px;
	border: 1px solid transparent;
	border-radius: 4px;
	line-height: 1.5;
}

/* Styles for password preview */
.password-box {
	position: relative;
	margin-bottom: 30px;
}

.password-icon {
	position: absolute;
  	top: 85%;
  	right: 10px;
  	transform: translateY(-50%);
  	cursor: pointer;
}

.password-icon i {
	font-size: 18px;
	line-height: 1;
	color: #333;
	transition: color 0.3s ease-in-out;
	margin-bottom: 20px;
  }

.center-text {
	text-align: center;
}

/* Styles for password error box */
.reset-errors-container {
	display: flex;
    flex-direction: column;
    gap: 20px;
	margin-left: 10px;
	padding-bottom: 15px;
    padding-top: 15px
}

.error-icon {
	color: #a94442
  }

.reset-pass-has-success {
	border-color: #3c763d !important;
}

.reset-pass-has-error {
	border-color: #a94442 !important;
}

.disabled-submit-btn {
	opacity: 0.65;
    pointer-events: none;
    cursor: not-allowed;
    background-color: #d6d6d6;
    color: #999;
    border-color: #d6d6d6;
}


.validation-block {
	display:flex;
	justify-content:left;
	align-items:center;
	gap:8px;
	height:10px;
	margin-bottom:25px
}

.validation-block > p {
	margin: 0;
}

.validation-block > .success-icon {
	display: none
}
