/* =========================================================
   CONFIGURAÇÃO
========================================================= */

* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}


body {

    min-height: 100vh;

    background:
        radial-gradient(
            circle at top,
            #242424 0%,
            #101010 45%,
            #070707 100%
        );

    color: #eeeeee;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    padding: 30px 15px;

}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: 100%;

    max-width: 520px;

    margin: 0 auto;

}


/* =========================================================
   CABEÇALHO
========================================================= */

.cabecalho {

    text-align: center;

    margin-bottom: 30px;

}


.logo {

    width: 58px;

    height: 58px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #dca52c;

    color: #111;

    font-size: 27px;

    box-shadow:
        0 10px 30px
        rgba(220, 165, 44, 0.20);

}


.cabecalho h1 {

    font-size: 27px;

    margin-bottom: 8px;

}


.cabecalho p {

    color: #888;

    font-size: 14px;

}


/* =========================================================
   FORMULÁRIO
========================================================= */

form {

    background: #111111;

    border: 1px solid #292929;

    border-radius: 18px;

    padding: 25px;

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.35);

}


/* =========================================================
   TÍTULO DA SEÇÃO
========================================================= */

.titulo-secao {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    margin-top: 5px;

}


.titulo-secao span {

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: #1c1c1c;

    border: 1px solid #333;

    color: #dca52c;

    font-size: 12px;

    font-weight: bold;

}


.titulo-secao h2 {

    font-size: 16px;

    margin-bottom: 3px;

}


.titulo-secao p {

    color: #666;

    font-size: 11px;

}


/* =========================================================
   CAMPO
========================================================= */

.campo {

    margin-bottom: 17px;

}


.campo label {

    display: block;

    margin-bottom: 7px;

    color: #cccccc;

    font-size: 12px;

    font-weight: bold;

}


.campo input {

    width: 100%;

    height: 48px;

    padding: 0 14px;

    background: #0a0a0a;

    border: 1px solid #303030;

    border-radius: 10px;

    outline: none;

    color: #eeeeee;

    font-size: 14px;

    transition: 0.2s;

}


.campo input::placeholder {

    color: #555;

}


.campo input:focus {

    border-color: #dca52c;

    box-shadow:
        0 0 0 3px
        rgba(220, 165, 44, 0.08);

}


/* =========================================================
   MENSAGEM
========================================================= */

.mensagem {

    min-height: 20px;

    margin: 5px 0 15px;

    text-align: center;

    font-size: 13px;

}


.mensagem.erro {

    color: #e57373;

}


.mensagem.sucesso {

    color: #72d572;

}


/* =========================================================
   BOTÃO
========================================================= */

.botao-cadastrar {

    width: 100%;

    min-height: 50px;

    border: none;

    border-radius: 11px;

    background: #dca52c;

    color: #111;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;

}


.botao-cadastrar:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(220, 165, 44, 0.18);

}


.botao-cadastrar:disabled {

    opacity: 0.55;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;

}


/* =========================================================
   VOLTAR
========================================================= */

.voltar {

    display: block;

    margin-top: 20px;

    text-align: center;

    color: #777;

    text-decoration: none;

    font-size: 13px;

}


.voltar:hover {

    color: #dca52c;

}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 480px) {

    body {

        padding: 20px 12px;

    }


    form {

        padding: 20px;

    }


    .cabecalho h1 {

        font-size: 23px;

    }

}