main {
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-password-form input:-webkit-autofill,
.forgot-password-form input:-webkit-autofill:hover,
.forgot-password-form input:-webkit-autofill:focus,
.forgot-password-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #1E1E1E inset !important;
    box-shadow: 0 0 0px 1000px #1E1E1E inset !important;
    background-color: #1E1E1E !important;
    color: #ECE9D8 !important;
    -webkit-text-fill-color: #ECE9D8 !important; 
    caret-color: #ECE9D8 !important; 
}

section {
    min-width: 40%;
    background-color: #1E1E1E;
    padding: 2rem 3rem;
    border-radius: 15px;
    color: #ECE9D8;
    text-align: center;
}

section p:first-of-type {
    margin-bottom: 40px;
}

.forgot-password-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.forgot-password-form a {
    text-decoration: none;
    color: #ECE9D8;
    position: relative;
}

.forgot-password-form a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    border-radius: 4px;
    background-color: #ECE9D8;
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .4s ease-in-out;
}

.forgot-password-form a:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

.input-box {
    position: relative;
    width: 80%;
}

.input-box input {
    width: 100%;
    height: 100%;
    border: 2px solid #ECE9D8;
    color: #ECE9D8;
    background-color: transparent;
    padding: 1rem 10px 1rem 15px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 15px;
    padding: 0 4px;
    color: #ECE9D8;
    font-weight: 500;
    pointer-events: none;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
}

.input-box .active {
    top: 0;
    padding: 0 4px;
    font-weight: 500;
    color: #ECE9D8;
    background-color: #1E1E1E;
}

input[type="submit"] {
    padding: 1rem 2rem;
	border: none;
	background-color: #ECE9D8;
	color: #29373A;
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
    font-weight: 700;
	cursor: pointer;
    border-radius: 5px;
}

.auth-link {
    padding: 1rem 2rem;
	border: none;
	background-color: #ECE9D8;
	color: #29373A;
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
    font-weight: 700;
	cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
}

.timer {
    margin: 40px 0 0 0 ;
}

.reset-password-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}