/* Global Style */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

/* Body */
body {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	background-image: url(../img/wallpaper.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/* Section and Form */
section {
    position: relative;
    max-width: 400px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(55px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 3rem;
}

h1 {
    font-size: 2rem;
    color: #fff;
    text-align: center;
}

/* Input Style */
.inputbox {
    position: relative;
    margin: 30px 0;
    max-width: 310px;
    border-bottom: 2px solid #fff;
}

/* Autofill fix */
.inputbox input:-webkit-autofill,
.inputbox input:-webkit-autofill:focus,
.inputbox input:-webkit-autofill:hover,
.inputbox input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 1rem !important;
    border: none !important;
    outline: none !important;
    caret-color: #fff !important;
    background: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

.inputbox input:-webkit-autofill ~ label {
	top: -5px !important;
	font-size: 0.8rem !important;
	color: #fff !important;
}

.inputbox label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
}

input:focus ~ label,
.inputbox.has-value label {
    top: -5px;
}

.inputbox input {
    width: 100%;
    height: 60px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0 35px 0 5px;
    color: #fff;
}

.inputbox ion-icon {
    position: absolute;
    right: 8px;
    color: #fff;
    font-size: 1.2rem;
    top: 20px;
}

/* Additional  */
.forget {
    margin: 35px 0;
    font-size: 0.85rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.forget label {
    display: flex;
    align-items: center;
}

.forget label input {
    margin-right: 3px;
}

.forget a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.forget a:hover {
    text-decoration: underline;
}

.status {
	padding-top: 25px;
    font-size: 1rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

button {
    width: 100%;
    height: 40px;
    border-radius: 40px;
    background-color: rgb(255, 255, 255, 1);
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s ease;
}

button:hover {
    background-color: rgb(255, 255, 255, 0.5);
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

button:disabled {
	cursor: wait;
	opacity: 0.65;
}
