﻿* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: hsl(196, 78%, 61%);
}

body {
    min-height: 100vh;
    background: #eceffc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.widthFix {
    min-width: 100%;
    width: 140px;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 80px;
    color: white;
    font-family: "Microsoft YaHei", serif;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    box-shadow: 0 0.4px 0.4px rgba(128, 128, 128, 0.109), 0 1px 1px rgba(128, 128, 128, 0.155), 0 2.1px 2.1px rgba(128, 128, 128, 0.195), 0 4.4px 4.4px rgba(128, 128, 128, 0.241), 0 12px 12px rgba(128, 128, 128, 0.35);
}
    .login-form h1{
        margin: 0 0 24px 0;
    }

    .form-input-material {
        margin: 12px 0;
    }

.login-form input {
        color: white;
        min-width:100%;
}

.login-form button,
    input {
        font: inherit;
        outline: none;
}

.form-input-material {
    --input-border-bottom-color: white;
    position: relative;
    border-bottom: 1px solid var(--input-border-bottom-color);
    min-width: 100%;
}
    .form-input-material ::before {
        position: absolute;
        content: "";
        left: 0;
        bottom: -1px;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        transform: scaleX(0);
        transform-origin: center;
        transition: 0.5s;
        width: inherit;
        width: inherit;
    }
.btn-ghost {
    overflow: hidden;
    color: turquoise !important;
    border-radius: inherit;
    border: 1px solid turquoise;
    width: 100%;
    margin: 18px 0 9px 0;
    padding: 8px 20px;
    position: relative;
    border-radius: 5px;
}

.btn .btn-ghost :hover{
    cursor: pointer;
}


    .form-input-material .form-control-material {
        padding: 0.5rem 0;
        background: none;
        border: none;
    }

.form-input-material ~label{
    transform: translateY(-110%) scale(0.8);
    color: var(--primary-color);
}

.form-input-material label {
    position: absolute;
    top: 0.5rem;
    left: 0;
    transition: 0.3s;
    transform-origin: left;
}

