﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'poppins',sans-serif;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background: url('../../assets/images/login.png') no-repeat center;
    background-size: cover;
}

.form-box {
    position: relative;
    width: 520px;
    height: 450px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
}

h2 {
    font-size: 2em;
    color:black;
    text-align: center;
}
h3 {
    font-size: 1.2em;
    color: #003781;
    text-align: center;
}

.inputbox {
    position: relative;
    margin: 30px 0;
    width: 433px;
    border-bottom: 2px solid #fff;
}

    .inputbox label {
        position: absolute;
        top: 50%;
        left: 5px;
        transform: translateY(-50%);
        color: #fff;
        font-size: 1em;
        pointer-events: none;
        transition: .5s;
    }

input:focus ~ label,
input:valid ~ label {
    top: -5px;
}

.inputbox input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    padding: 0 35px 0 5px;
    color:black;
}

.inputbox ion-icon {
    position: absolute;
    right: 22px;
    color: #fff;
    font-size: 1.2em;
    top: 16px;
}

.forget {
    margin: -15px 0 15px;
    font-size: .9em;
    color: #fff;
    display: flex;
    justify-content: center;
}

    .forget label input {
        margin-right: 3px;
    }

    .forget label a {
        color: black;
        text-decoration: none;
    }

        .forget label a:hover {
            text-decoration: underline;
        }

.login-button {
    width: 100%;
    height: 40px;
    border-radius: 40px;
    background: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
}

.register {
    font-size: .9em;
    color: #fff;
    text-align: center;
    margin: 25px 0 10px;
}

    .register p a {
        text-decoration: none;
        color: #fff;
        font-weight: 600;
    }

        .register p a:hover {
            text-decoration: underline;
        }

.alert .inner {
    display: block;
    padding: 6px;
    margin: 6px;
    border-radius: 3px;
    border: 1px solid rgb(180,180,180);
    background-color: rgb(212,212,212);
}

.alert .close {
    float: right;
    margin: 3px 12px 0px 0px;
    cursor: pointer;
}

.alert .inner, .alert .close {
    color: rgb(88,88,88);
}
.alert.error .inner {
    border: 1px solid rgb(238,211,215);
    background-color: rgb(242,222,222);
}
.alert.error .inner, .alert.error .close {
    color: rgb(185,74,72);
}
