:root {
    --azul: #0B4A86;
    --azul-2: #0A3D72;
    --texto: #1f2937;
    --muted: #6b7280;
    --card-radius: 24px;
}

.auth-page {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    background:
        url("/assets/img/logo_bg.svg") center/cover no-repeat,
        #083d6d;
}

/* wrap */
.auth-wrap {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 16px;
}

/* card */
.auth-card-wrap {
    width: 380px;
}

.auth-page.register .auth-card-wrap {
    width: 600px;
}

.auth-card {
    position: relative;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .25);
    padding: 48px 48px 20px 48px;
}

/* topo */
.auth-kicker {
    color: #6A7282;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    margin-bottom: 32px;
}

.auth-logo {
    height: 66px;
    width: auto;
    margin-bottom: 40px;
}

/* inputs */
.auth-label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.auth-input {
    border-radius: 999px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.auth-input:focus {
    border-color: rgba(11, 74, 134, .35);
    box-shadow: 0 0 0 .2rem rgba(11, 74, 134, .12);
}

/* botão pill */
.auth-btn {
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--azul);
    border-color: var(--azul);
    font-weight: 600;
    margin: 40px 0 24px 0;
}

.auth-btn:hover {
    background: var(--azul-2);
    border-color: var(--azul-2);
}

/* link */
.auth-link {
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 30px;
}

.auth-link:hover {
    text-decoration: underline;
}

/* bubble avatar */
.auth-bubble {
    position: absolute;
    right: -14px;
    bottom: 74px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.auth-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-footer {
    border-top: 1px solid #f1f5f9;
    margin-top: 16px;
    padding-top: 12px;
}

.auth-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    opacity: .9;
}

.auth-logos .separator {
    border-right: 1px #D7D7D7 solid;
    padding-right: 30px;
}

.password-rules, #password-match {
    color: #999;
    font-size: 10px;
    line-height: 15px;
}

.password-rules .valid {
    color: #198754;
}

.password-rules .invalid {
    color: #dc3545;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 45px;
}

.password-field .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
}

.password-field .toggle-password:hover {
    color: #000;
}

/* mobile tweaks */
@media (max-width: 480px) {
    .auth-page {
        text-align: center;
    }

    .auth-wrap,
    .auth-card-wrap {
        width: 85vw !important;
        margin: 0 auto;
        padding: 28px 0;
    }

    .auth-card {
        padding: 48px 28px 20px 28px;
    }

    .auth-logo {
        height: 30px;
    }

    .auth-bubble {
        right: -10px;
    }

    .auth-page {
        background:
            url("/assets/img/logo_bg_mobile.svg") center/cover no-repeat,
            #083d6d;
    }
}