@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
body{
    margin: 0;
    padding: 0;
    background: url("dist/assets/img/back2.jpg");
    background-size: cover;
    background-position: center;
    font-family: sans-serif;
}

.loginbox{
    width: 330px;
    height: 400px;
    border-radius: 10%;
    background: #687520;
    color: #fff;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
    box-sizing: border-box;
    padding: 70px 30px;
}

.avatar{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    top: -50px;
    left: calc(50% - 50px);
}

.loginbox h1{
    margin: 0;
    padding: 0 0 10px;
    text-align: center;
    font-size: 30px;
}

.loginbox h4 {
    margin: 0;
    padding: 0 0 10px;
    text-align: center;
    font-size: 20px;
}

.loginbox p{
    margin: 0;
    padding: 0;
    font-weight: bold;
}

.loginbox input{
    width: 100%;
    margin-bottom: 20px;
}

.loginbox input[type="text"]
{
    border: none;
    border-bottom: 1px solid #fff;
    background: transparent;
    outline: none;
    height: 40px;
    color: #fff;
    font-size: 16px;
}

.loginbox input[type="password"] 
{
    border: none;
    border-bottom: 1px solid #fff;
    background: transparent;
    outline: none;
    height: 40px;
    color: #fff;
    font-size: 16px;
}

.loginbox i {
    margin: -50 230px;
    color: #fff;
    cursor: default;
}

.select
{
border: none;
    border-bottom: 1px solid #fff;
    background: black;
    outline: 1px;
    height: 80px;
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.loginbox input[type="submit"]
{
    border: none;
    border-bottom: 1px solid #fff;
    background: Aqua;
    outline: none;
    height: 40px;
    color: #0f025c;
    font-size: 20px;
    border-radius: 10px;
}

.loginbox input[type="submit"]:hover
{
    cursor: pointer;
    background: #8a24f0;
    color: #000;
}

.loginbox input[type="button"] {
    border: none;
    border-bottom: 1px solid #fff;
    background: limegreen;
    outline: none;
    height: 30px;
    color: #fff;
    font-size: 15px;
    border-radius: 10px;
}

.loginbox input[type="button"]:hover {
    cursor: pointer;
    background: lawngreen;
    color: #000;
}

#fyr{
    /* background-color: #ffc107; */
    margin-bottom: 10px;
    border: none;
        border-bottom: 1px solid #fff;
        background-color: black;
        outline: none;
        height: 40px;
        color: white;
        font-size: 16px;
}

#toast {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 250px;
    padding: 15px 20px;
    border-radius: 6px;
    color: #fff;
    font-weight: 500;
    display: none;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s, fadeOut 0.5s 3s;
}

#toast.success {
    background: #28a745;
}

/* green */
#toast.error {
    background: #dc3545;
}

/* red */

@keyframes fadeIn {
    from {
        opacity: 0;
        right: 0;
    }

    to {
        opacity: 1;
        right: 20px;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}





