/* ========================= */
/* ✅ CONTAINER               */
/* ========================= */
.conta-container {
    max-width: 900px;
    margin: 40px auto;

    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;

    padding: 0 20px;
    box-sizing: border-box;
}

/* ========================= */
/* ✅ HEADER                 */
/* ========================= */
.conta-header {
    text-align: center;
    max-width: 550px;

    margin: 60px auto 30px auto; /* 🔥 controla topo e espaço até o form */
}

/* TÍTULO */
.conta-header h2 {
    font-size: 22px;
    font-family: Arial, sans-serif;

    margin: 0; /* 🔥 remove espaçamento automático do navegador */
}

.conta-header p {
    font-size: 13px;
    color: #4a5057;
    font-family: Arial, sans-serif;

    margin: 0 0 70px 0; /* 🔥 AQUI FAZ O FORM DESCER DE VERDADE */

    line-height: 1.5;
}

/* ========================= */
/* ✅ FORM                   */
/* ========================= */
.conta-form {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-top: 20px; /* 🔥 controla distância do título */
}

.conta-form form {
    width: 95%;
    max-width: 550px;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ========================= */
/* ✅ FORM GROUP             */
/* ========================= */
.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ========================= */
/* ✅ LABEL                  */
/* ========================= */
.conta-form label {
    font-size: 13px;
    font-weight: 500;
    color: #4a5057;
    font-family: Arial, sans-serif;

    margin-bottom: 4px;
    text-align: left;
}

/* ========================= */
/* ✅ INPUTS                 */
/* ========================= */
.conta-form input {
    width: 100%;

    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ccc;

    font-size: 14px;
    box-sizing: border-box;
}

/* ========================= */
/* ✅ SENHA (OLHO)           */
/* ========================= */
.input-password {
    position: relative;
    width: 100%;
}

.input-password input {
    width: 100%;
    padding-right: 40px;
}

.input-password i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
}

/* ========================= */
/* ✅ CAPTCHA                */
/* ========================= */
.g-recaptcha {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    min-height: 78px;
}

/* ========================= */
/* ✅ BOTÃO                  */
/* ========================= */
.btn-criar-conta {
    width: 100%;
    margin-top: 10px;

    padding: 12px;
    border-radius: 25px;
    border: none;

    background: #333;
    color: #fff;

    font-weight: 600;
    cursor: pointer;

    transition: 0.3s;
}

.btn-criar-conta:hover {
    background: #455a64;
}

/* ========================= */
/* ✅ LOGIN LINK             */
/* ========================= */
.login-link {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    font-family: Arial, sans-serif;
}

.login-link a {
    color: #123b63;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* ========================= */
/* ✅ MENSAGENS              */
/* ========================= */
.msg-success {
    background: #e6f9f0;
    color: #1a7f4b;

    padding: 12px;
    border-radius: 8px;

    margin-bottom: 12px;
    font-weight: 500;
    font-size: 14px;

    text-align: center;
}

/* ========================= */
/* ✅ MOBILE                 */
/* ========================= */
@media (max-width: 768px) {

    .conta-container {
        padding: 0 15px;
    }

    .conta-form form {
        max-width: 100%;
    }
}

/* ========================= */
/* ✅ MENSAGENS CRIAR CONTA               */
/* ========================= */

.msg-success {
    background: #e6ffed;
    color: #0f5132;
}

.msg-error {
    background: #fdecea;
    color: #842029;
}

