/* ========================= */
/* RESET                     */
/* ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================= */
/* BODY                      */
/* ========================= */

body {
    font-family: Arial, Helvetica, sans-serif;

    background: #0f172a;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* ========================= */
/* CONTAINER                 */
/* ========================= */

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ========================= */
/* CARD                      */
/* ========================= */

.card {
    width: 100%;
    max-width: 420px;

    background: #1e293b;
    color: #ffffff;

    padding: 30px;

    border-radius: 15px;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ========================= */
/* TÍTULO                    */
/* ========================= */

.card h1 {
    text-align: center;
    color: #38bdf8;
    font-size: 38px;
    margin-bottom: 30px;
}

    
    h1 {
    font-size: 42px;      /* tamanho da fonte */
    color: #38bdf8;       /* cor */
    text-align: center;   /* alinhamento */
    margin-bottom: 20px;  /* espaço abaixo */
    line-height: 1.2;     /* altura entre linhas */
    }


/* ========================= */
/* FORMULÁRIO                */
/* ========================= */

form {
    display: flex;
    flex-direction: column;
}

/* ========================= */
/* LABELS                    */
/* ========================= */

label {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* ========================= */
/* INPUTS                    */
/* ========================= */

input[type="text"],
input[type="password"] {
    width: 100%;

    padding: 12px;

    margin-bottom: 18px;

    border: 1px solid #334155;
    border-radius: 8px;

    background: #0f172a;
    color: #ffffff;

    font-size: 16px;
}

input::placeholder {
    color: #94a3b8;
}

input:focus {
    outline: none;
    border-color: #38bdf8;

    box-shadow:
        0 0 6px rgba(56, 189, 248, 0.4);
}

/* ========================= */
/* BOTÃO                     */
/* ========================= */

.btn {
    width: 100%;

    padding: 14px;

    border: none;
    border-radius: 8px;

    background: #0ea5e9;
    color: #ffffff;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;

    transition: background 0.3s ease;
}

.btn:hover {
    background: #0284c7;
}

/* ========================= */
/* MENSAGEM DE ERRO          */
/* ========================= */

.error {
    background: #dc2626;
    color: #ffffff;

    padding: 12px;

    margin-bottom: 20px;

    border-radius: 8px;

    text-align: center;
}

/* ========================= */
/* RESPONSIVO                */
/* ========================= */

@media (max-width: 450px) {

    body {
        padding: 20px;
        align-items: flex-start;
    }

    .card {
        width: 90%;
        max-width: 320px;

        margin-top: 50px;

        padding: 20px;
    }

    .card h1 {
        font-size: 36px;
        margin-bottom: 25px;
    }
    
    h1 {
    font-size: 42px;      /* tamanho da fonte */
    color: #38bdf8;       /* cor */
    text-align: center;   /* alinhamento */
    margin-bottom: 20px;  /* espaço abaixo */
    line-height: 1.2;     /* altura entre linhas */
    }

    label {
        font-size: 16px;
    }

    input[type="text"],
    input[type="password"] {
        font-size: 14px;
        padding: 10px;
    }

    .btn {
        font-size: 16px;
        padding: 12px;
    }
}