*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI', sans-serif;
}

body{
    margin: 0;
    min-height: 100vh;
}

/* FUNDO COM EFEITO */
.login-wrapper{
    width:100%;
    min-height:100vh;

    background: url("https://images.unsplash.com/photo-1584036561566-baf8f5f1b144") no-repeat center center;
    background-size:cover;

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

/* CARD GLASS */
.login-card{
    background:rgba(255,255,255,0.1);
    backdrop-filter:blur(15px);
    padding:40px;
    width:350px;
    border-radius:15px;
    text-align:center;
    color:white;
    box-shadow:0 10px 40px rgba(0,0,0,0.3);

    position: relative;
}

/* LOGO */
.logo{
    font-size:40px;
    margin-bottom:10px;
}

/* TITULO */
.login-card h1{
    font-size:22px;
    margin-bottom:5px;
}

.subtitle{
    font-size:14px;
    margin-bottom:20px;
    opacity:0.8;
}

/* INPUTS */
.input-box{
    position:relative;
    margin-bottom:20px;
}

.input-box input{
    width:100%;
    padding:12px;
    border:none;
    border-radius:8px;
    outline:none;
}

.input-box label{
    position:absolute;
    left:12px;
    top:12px;
    font-size:13px;
    color:#555;
    transition:0.3s;
}

.input-box input:focus + label,
.input-box input:valid + label{
    top:-8px;
    left:8px;
    background:white;
    padding:2px 5px;
    font-size:11px;
    border-radius:5px;
}

/* BOTÃO */
.btn-login{
    width:100%;
    padding:12px;
    background:linear-gradient(135deg,#27ae60,#2ecc71);
    border:none;
    border-radius:8px;
    color:white;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.btn-login:hover{
    transform:scale(1.05);
}

/* EXTRA */
.extra{
    margin-top:15px;
}

.extra a{
    color:white;
    font-size:12px;
    text-decoration:none;
}

/* ERRO (não quebra layout) */
.error{
    background:#e74c3c;
    padding:10px;
    border-radius:8px;

    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);

    width: 80%;
    z-index: 10;
}