/* RESET */

*{
    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: Arial, sans-serif;
}

/* FUNDO */

body{
    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    background: #050816;

    color: white;
}

/* CONTAINER */

.container{
    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;
}

/* FORM BOX */

.form-box{
    width: 100%;

    max-width: 420px;

    padding: 40px;

    border-radius: 20px;

    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);

    text-align: center;
}

/* TITULO */

.form-box h1{
    margin-bottom: 10px;

    font-size: 32px;
}

/* SUB */

.form-box p{
    margin-bottom: 30px;

    color: #a1a1aa;
}

.message{
    min-height: 38px;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: #e5e7eb;
    text-align: left;
}

.message:empty{
    display: none;
    margin: 0;
    padding: 0;
    min-height: 0;
}

.message.error{
    border-color: rgba(248,113,113,0.5);
    background: rgba(244,63,94,0.1);
    color: #fecdd3;
}

.message.success{
    border-color: rgba(34,197,94,0.5);
    background: rgba(16,185,129,0.08);
    color: #bbf7d0;
}

/* INPUTS */

form{
    display: flex;

    flex-direction: column;

    gap: 15px;
}

input{
    padding: 14px;

    border-radius: 10px;

    border: 1px solid rgba(255,255,255,0.1);

    background: rgba(255,255,255,0.05);

    color: white;

    outline: none;
}

input::placeholder{
    color: #9ca3af;
}

/* BOTÃO */

button{
    padding: 14px;

    border: none;

    border-radius: 10px;

    background: linear-gradient(90deg,#7c3aed,#06b6d4);

    color: white;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

button:hover{
    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(124,58,237,0.3);
}

/* LINK */

span{
    margin-top: 10px;

    font-size: 14px;

    color: #a1a1aa;
}

a{
    color: #06b6d4;

    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}