@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #7c3aed;
    --purple-dark: #6226c9;
    --purple-light: #f3eeff;

    --mint: #50cfa3;

    --text: #191529;
    --text-light: #716c7d;

    --border: #ebe8f0;

    --background: #fbfaff;

    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text);
}


/* PÁGINA */

.auth-page {
    min-height: 100vh;

    display: grid;
    grid-template-columns: 1fr 1fr;
}


/* LADO ESQUERDO */

.auth-brand {
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(124, 58, 237, 0.10),
            transparent 35%
        ),
        #f8f5ff;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px;

    position: relative;
}

.brand {
    font-size: 28px;
    font-weight: 800;

    margin-bottom: 60px;
}

.brand-educa {
    color: #17141f;
}

.brand-mente {
    color: var(--purple);
}

.brand-ai {
    color: var(--mint);
    margin-left: 3px;
}


.auth-brand h1 {
    font-size: 48px;
    line-height: 1.12;

    max-width: 580px;

    letter-spacing: -1.5px;

    margin-bottom: 24px;
}

.auth-brand p {
    color: var(--text-light);

    font-size: 17px;
    line-height: 1.7;

    max-width: 500px;
}


/* ÁREA DO FORMULÁRIO */

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;
}

.auth-card {
    width: 100%;
    max-width: 430px;
}

.mobile-brand {
    display: none;

    font-size: 24px;
    font-weight: 800;

    margin-bottom: 40px;
}

.auth-header {
    margin-bottom: 32px;
}

.auth-header h2 {
    font-size: 30px;

    letter-spacing: -0.5px;

    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-light);

    font-size: 14px;
}


/* FORM */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    font-size: 14px;
    font-weight: 600;

    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    height: 50px;

    border: 1px solid var(--border);
    border-radius: 12px;

    padding: 0 16px;

    font-family: inherit;
    font-size: 14px;

    background: var(--white);

    outline: none;

    transition: 0.2s;
}

.form-group input:focus {
    border-color: var(--purple);

    box-shadow:
        0 0 0 3px
        rgba(124, 58, 237, 0.08);
}

.form-group input::placeholder {
    color: #aaa6b2;
}

.form-group small {
    display: block;

    margin-top: 7px;

    color: var(--text-light);

    font-size: 12px;
}


/* BOTÃO */

.primary-button {
    width: 100%;
    height: 52px;

    margin-top: 8px;

    border: none;
    border-radius: 12px;

    background: var(--purple);
    color: white;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}

.primary-button:hover {
    background: var(--purple-dark);

    transform: translateY(-1px);
}

.primary-button:disabled {
    opacity: 0.6;

    cursor: not-allowed;

    transform: none;
}


/* MENSAGEM */

.message {
    display: none;

    padding: 12px 14px;

    margin-top: 18px;

    border-radius: 10px;

    font-size: 13px;
    line-height: 1.5;
}

.message.success {
    display: block;

    background: #effaf6;

    color: #177653;

    border: 1px solid #caeee0;
}

.message.error {
    display: block;

    background: #fff2f2;

    color: #b3261e;

    border: 1px solid #f3d1d1;
}


/* RODAPÉ */

.auth-footer {
    margin-top: 28px;

    text-align: center;

    font-size: 14px;

    color: var(--text-light);
}

.auth-footer a {
    color: var(--purple);

    text-decoration: none;

    font-weight: 600;

    margin-left: 4px;
}

.auth-footer a:hover {
    text-decoration: underline;
}


/* RESPONSIVO */

@media (max-width: 850px) {

    .auth-page {
        display: block;
    }

    .auth-brand {
        display: none;
    }

    .auth-container {
        min-height: 100vh;

        padding: 28px 22px;
    }

    .mobile-brand {
        display: block;
    }

}