:root {
    --auth-blue: var(--gateway-primary-color);
    --auth-blue-soft: color-mix(in srgb, var(--auth-blue) 18%, transparent);
    --auth-bg: #050608;
    --auth-panel: #0d0f12;
    --auth-panel-2: #12161c;
    --auth-text: #ffffff;
    --auth-muted: #a6b4c4;
    --auth-line: rgba(255, 255, 255, .12);
}

html,
body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    overflow: hidden !important;
    background: var(--auth-bg) !important;
    color: var(--auth-text) !important;
}

body {
    color: var(--auth-text) !important;
}

.articopay-auth-main {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden !important;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--auth-blue) 14%, transparent), transparent 32%),
        linear-gradient(180deg, #050608 0%, #08090d 100%),
        #050608;
}

.articopay-auth-shell {
    width: min(680px, 100%);
    height: calc(100vh - 48px);
    min-height: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.articopay-auth-shell::before,
.articopay-auth-shell::after {
    display: none;
}

.articopay-auth-shell::before {
    width: 640px;
    height: 640px;
    right: -180px;
    top: -250px;
}

.articopay-auth-shell::after {
    width: 780px;
    height: 780px;
    right: -120px;
    bottom: -520px;
}

.articopay-auth-card {
    position: relative;
    z-index: 2;
    width: min(560px, 100%);
    height: auto;
    max-height: calc(100vh - 48px);
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    color: var(--auth-text);
    background: transparent;
}

.articopay-auth-card > .w-100,
.articopay-auth-card .row,
.articopay-auth-card form {
    width: 100%;
}

.articopay-auth-card > .w-100 {
    max-height: 100%;
    overflow: hidden;
}

.articopay-auth-card .row {
    margin: 0 !important;
}

.articopay-auth-card .px-4,
.articopay-auth-card .px-6,
.articopay-auth-card .px-lg-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.articopay-login-logo,
.articopay-auth-card .text-center.mb-4 {
    display: grid;
    justify-items: center;
    min-height: 62px;
    margin-bottom: 24px !important;
}

.articopay-login-logo-img,
.articopay-auth-card .nav-logo {
    display: block;
    width: min(300px, 82%);
    max-height: 72px !important;
    height: auto !important;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .22));
}

.articopay-auth-card h1 {
    margin: 0 0 10px;
    color: #fff !important;
    font-size: clamp(34px, 3vw, 46px);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: 0;
    text-align: center;
}

.articopay-auth-card p,
.articopay-auth-card label,
.articopay-auth-card .form-label {
    color: #fff !important;
}

.articopay-auth-card p {
    text-align: center;
    color: var(--auth-muted) !important;
    font-size: 16px;
    line-height: 1.55;
}

.articopay-auth-card a,
.articopay-auth-card .btn-link {
    color: #d4e9ff !important;
    font-weight: 750;
}

.articopay-auth-card .form-label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 850;
}

.articopay-auth-card .mb-3 {
    margin-bottom: 18px !important;
}

.articopay-auth-card .form-control {
    height: 62px !important;
    border: 1px solid var(--auth-line) !important;
    border-radius: 12px !important;
    background: #17171a !important;
    color: #fff !important;
    box-shadow: none !important;
    padding-left: 24px !important;
    font-size: 17px;
}

.articopay-auth-card .form-control::placeholder {
    color: #9fb0c3 !important;
}

.articopay-auth-card select.form-control {
    appearance: auto;
}

.articopay-auth-card .toggle-password {
    color: #b7c4d2 !important;
}

.articopay-auth-card .btn {
    height: 62px !important;
    border-radius: 12px !important;
    font-weight: 850 !important;
    font-size: 17px;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.articopay-auth-card .btn-primary,
.articopay-auth-card .btn-success {
    border: 1px solid var(--auth-line) !important;
    background: color-mix(in srgb, var(--auth-blue) 88%, #101010) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.articopay-auth-card .btn-primary:hover,
.articopay-auth-card .btn-success:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--auth-blue) 62%, #fff) !important;
    background: color-mix(in srgb, var(--auth-blue) 74%, #ffffff) !important;
}

.articopay-auth-card .text-danger {
    color: #ffb4b4 !important;
    font-weight: 750;
}

.articopay-register-title {
    margin: 18px 0 4px !important;
    color: var(--auth-text) !important;
    font-size: 34px !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
    text-align: center !important;
}

.articopay-register-subtitle {
    margin: 0 !important;
    color: var(--auth-muted) !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
}

.articopay-document-hint {
    display: block;
    margin-top: 8px;
    color: var(--auth-muted);
    font-size: 12px;
    font-weight: 700;
}

.articopay-register-terms {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 4px 0 18px;
    color: var(--auth-text) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35;
    cursor: pointer;
}

.articopay-register-terms input {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    margin: 0;
    border: 1px solid var(--auth-line);
    border-radius: 8px;
    accent-color: var(--auth-blue);
}

.articopay-auth-card #register-form .btn[type="submit"] {
    margin-top: 4px;
}

.articopay-auth-card .alert {
    border: 1px solid rgba(255, 184, 0, .32);
    border-radius: 14px;
    background: rgba(255, 184, 0, .12);
    color: #fff;
}

.articopay-auth-back {
    display: none;
}

#menuEscolha .articopay-login-logo {
    justify-items: center;
}

#formProdutor,
#formAluno,
#formRecPassProd,
#formRecPassAluno {
    max-width: 560px;
    margin: 0 auto;
}

#formProdutor .articopay-login-logo,
#formAluno .articopay-login-logo,
#formRecPassProd .articopay-login-logo,
#formRecPassAluno .articopay-login-logo {
    justify-items: center;
}

.articopay-auth-card .text-end {
    text-align: right !important;
}

.articopay-auth-card .text-center.mt-5 {
    margin-top: 22px !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

.articopay-auth-card .text-center.mt-5 a {
    white-space: normal;
}

.articopay-auth-card .progress {
    display: none !important;
}

.articopay-auth-card .progress-bar {
    background: var(--auth-blue) !important;
}

.articopay-auth-card .step-container {
    display: none !important;
}

.articopay-auth-card .step-circle {
    width: auto !important;
    min-width: 96px;
    height: 34px !important;
    border-radius: 999px !important;
    background: #17171a !important;
    color: #fff !important;
    line-height: 1 !important;
    font-size: 13px;
    font-weight: 850;
}

.articopay-auth-card .step-circle.active {
    background: var(--auth-blue) !important;
    color: #fff !important;
}

.articopay-auth-card #multi-step-form {
    overflow: hidden !important;
}

.articopay-auth-card .step {
    min-height: 0;
}

.articopay-auth-card #password-validation-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 12px;
    margin-bottom: 14px !important;
}

.articopay-auth-card #password-validation-rules p {
    margin: 0 !important;
    color: #ffb4b4 !important;
    text-align: left;
    font-size: 12px;
    line-height: 1.25;
}

.articopay-auth-card #password-validation-rules p.valid {
    color: #5ef0b4 !important;
}

.articopay-auth-preview {
    display: none;
}

.articopay-preview-copy {
    max-width: 740px;
}

.articopay-preview-copy span {
    color: var(--auth-blue);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.articopay-preview-copy h2 {
    margin: 12px 0 0;
    max-width: 780px;
    color: #fff;
    font-size: clamp(46px, 4.6vw, 72px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: 0;
}

.articopay-preview-copy p {
    max-width: 640px;
    margin: 18px 0 0;
    color: #fff;
    font-size: 19px;
    font-weight: 650;
    line-height: 1.75;
}

.articopay-device-stage {
    position: relative;
    min-height: 390px;
}

.articopay-laptop {
    width: min(860px, 92%);
    margin-left: 4%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(124, 230, 255, .10) 1px, transparent 1px),
        linear-gradient(180deg, rgba(124, 230, 255, .10) 1px, transparent 1px),
        #08131f;
    background-size: 28px 28px, 28px 28px, auto;
    box-shadow: 0 36px 90px rgba(0, 0, 0, .34);
}

.articopay-laptop-bar {
    height: 26px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 8px;
}

.articopay-laptop-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
}

.articopay-laptop-screen {
    display: grid;
    grid-template-columns: 96px 1fr;
    min-height: 300px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, .03);
}

.articopay-mini-sidebar {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 18px 14px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
}

.articopay-mini-logo {
    width: 38px;
    height: 38px;
    display: block;
    border-radius: 8px;
    background: var(--auth-blue);
}

.articopay-mini-sidebar i {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
}

.articopay-mini-content {
    padding: 18px;
}

.articopay-mini-banner {
    height: 80px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fdff, #bdeeff);
}

.articopay-mini-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.articopay-mini-metrics span {
    height: 70px;
    border: 1px solid rgba(124, 230, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.articopay-mini-chart {
    height: 112px;
    display: flex;
    align-items: end;
    gap: 14px;
    margin-top: 16px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
}

.articopay-mini-chart b {
    flex: 1;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #7ce6ff, var(--auth-blue));
}

.articopay-notification {
    position: absolute;
    z-index: 4;
    min-width: 230px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
    animation: authFloat 5.6s ease-in-out infinite;
}

.articopay-notification strong,
.articopay-notification small {
    display: block;
}

.articopay-notification strong {
    color: #071827;
    font-size: 14px;
    font-weight: 850;
}

.articopay-notification small {
    margin-top: 2px;
    color: #53667b;
    font-size: 12px;
    font-weight: 650;
}

.articopay-notification-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border-radius: 8px;
    background: var(--auth-blue);
}

.articopay-notification-mark span {
    width: 18px;
    height: 18px;
    display: block;
    background: #fff;
    clip-path: polygon(50% 0, 100% 38%, 80% 100%, 20% 100%, 0 38%);
}

.notification-one {
    left: 1%;
    top: 4%;
}

.notification-two {
    right: 1%;
    top: 32%;
    animation-delay: .9s;
}

.notification-three {
    left: 18%;
    bottom: 1%;
    animation-delay: 1.7s;
}

.theme-switch {
    display: none;
}

.articopay-auth-card div[style*="bottom:0px"] {
    display: none;
}

body.articopay-register-page {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden !important;
}

body.articopay-register-page .articopay-auth-main {
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    padding: 4px 16px !important;
}

body.articopay-register-page .articopay-auth-shell {
    height: calc(100dvh - 8px) !important;
    min-height: 0 !important;
    align-items: center;
}

body.articopay-register-page .articopay-auth-card {
    height: 100% !important;
    max-height: none !important;
    overflow: hidden !important;
}

body.articopay-register-page .articopay-auth-card > .w-100 {
    height: 100%;
    max-height: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 16px;
    padding-bottom: 10px;
}

body.articopay-register-page #register-form {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.articopay-register-page .articopay-auth-card .text-center.mb-4 {
    min-height: auto;
    margin-bottom: 8px !important;
}

body.articopay-register-page .articopay-register-title {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    font-size: clamp(26px, 2vw, 34px) !important;
    line-height: 1.05;
}

body.articopay-register-page .articopay-register-subtitle {
    margin-bottom: 0 !important;
    font-size: 14px !important;
    line-height: 1.2;
}

body.articopay-register-page .articopay-auth-card .form-control,
body.articopay-register-page .articopay-auth-card .btn {
    height: 48px !important;
    min-height: 48px !important;
    font-size: 17px !important;
}

body.articopay-register-page .articopay-auth-card .mb-3 {
    margin-bottom: 8px !important;
}

body.articopay-register-page .articopay-auth-card .form-label {
    margin-bottom: 4px !important;
    font-size: 14px !important;
    line-height: 1.15;
}

body.articopay-register-page .articopay-document-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px !important;
    line-height: 1.1;
}

body.articopay-register-page .articopay-register-terms {
    margin-top: 2px;
    margin-bottom: 10px;
    min-height: 28px;
    font-size: 13px !important;
    line-height: 1.2;
}

body.articopay-register-page .articopay-register-terms input {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
}

body.articopay-register-page .articopay-auth-card .text-center.mt-5 {
    margin-top: 6px !important;
    padding-bottom: 0;
    line-height: 1.15 !important;
}

body.articopay-register-page .articopay-auth-card .text-center.mt-5 .btn {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
}

body.articopay-register-page .articopay-auth-card .nav-logo {
    height: 48px !important;
    max-height: 48px !important;
    width: auto !important;
    margin-bottom: 8px;
}

@keyframes authFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-height: 820px) {
    body.articopay-register-page .articopay-auth-main {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    body.articopay-register-page .articopay-auth-shell {
        height: calc(100dvh - 8px) !important;
        min-height: 0 !important;
    }

    body.articopay-register-page .articopay-auth-card .form-control,
    body.articopay-register-page .articopay-auth-card .btn {
        height: 44px !important;
        min-height: 44px !important;
        font-size: 15px !important;
    }

    body.articopay-register-page .articopay-auth-card .mb-3 {
        margin-bottom: 6px !important;
    }

    body.articopay-register-page .articopay-register-title {
        font-size: 26px !important;
    }

    body.articopay-register-page .articopay-register-subtitle,
    body.articopay-register-page .articopay-document-hint {
        font-size: 12px !important;
    }

    body.articopay-register-page .articopay-register-terms {
        margin-bottom: 8px;
    }

    body.articopay-register-page .articopay-auth-card .nav-logo {
        height: 42px !important;
        max-height: 42px !important;
    }

    body.articopay-register-page .articopay-auth-card .text-center.mb-4 {
        margin-bottom: 8px !important;
    }
}

@media (max-height: 820px) {
    .articopay-auth-main {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .articopay-auth-shell,
    .articopay-auth-card {
        max-height: calc(100vh - 28px);
    }

    .articopay-auth-card .form-control,
    .articopay-auth-card .btn {
        height: 54px !important;
    }

    .articopay-auth-card .mb-3 {
        margin-bottom: 10px !important;
    }

    .articopay-register-title {
        margin-top: 10px !important;
        font-size: 28px !important;
    }

    .articopay-register-subtitle {
        font-size: 14px !important;
    }

    .articopay-register-terms {
        margin-bottom: 10px;
        font-size: 13px !important;
    }

    .articopay-login-logo,
    .articopay-auth-card .text-center.mb-4 {
        min-height: 48px;
        margin-bottom: 12px !important;
    }

    .articopay-login-logo-img,
    .articopay-auth-card .nav-logo {
        max-height: 48px !important;
    }

    .articopay-auth-card h1 {
        font-size: 34px;
    }

    .articopay-auth-card p {
        margin-bottom: 12px;
    }
}

@media (max-width: 1180px) {
    .articopay-auth-main {
        padding: 18px;
    }

    .articopay-auth-shell {
        width: min(620px, 100%);
        height: calc(100vh - 36px);
    }

    .articopay-auth-card {
        max-height: calc(100vh - 36px);
    }
}

@media (max-width: 640px) {
    .articopay-auth-main {
        padding: 12px;
    }

    .articopay-auth-shell,
    .articopay-auth-card {
        height: auto;
        max-height: calc(100vh - 24px);
    }

    .articopay-auth-card h1 {
        font-size: 38px;
    }

    .articopay-auth-card .form-control,
    .articopay-auth-card .btn {
        height: 52px !important;
        border-radius: 14px !important;
        font-size: 15px;
    }

    .articopay-auth-card .step-circle {
        min-width: 0;
        flex: 1;
        font-size: 12px;
    }

    .articopay-auth-card #password-validation-rules {
        grid-template-columns: 1fr;
    }
}

/* White-label auth polish */
:root {
    --auth-blue: var(--gateway-primary-color) !important;
    --auth-bg: var(--gateway-background-color, #050608) !important;
    --auth-panel: var(--gateway-surface-color, #0d0f12) !important;
    --auth-panel-2: color-mix(in srgb, var(--gateway-surface-color, #12161c) 86%, #000000) !important;
    --auth-text: var(--gateway-text-color, #ffffff) !important;
    --auth-muted: var(--gateway-text-muted, #a6b4c4) !important;
    --auth-line: var(--gateway-border-color, rgba(255, 255, 255, .12)) !important;
}

.articopay-auth-main {
    background: var(--gateway-background-color) !important;
}

.articopay-auth-card {
    width: min(560px, 100%) !important;
}

.articopay-auth-card .form-control,
.articopay-auth-card .btn {
    border-radius: var(--gateway-control-radius, 8px) !important;
}

.articopay-auth-card .btn-primary,
.articopay-auth-card .btn-success {
    background: var(--gateway-button-color) !important;
    border-color: var(--gateway-button-color) !important;
    color: var(--gateway-button-text-color) !important;
}

.articopay-auth-card h1,
.articopay-auth-card p,
.articopay-auth-card label,
.articopay-auth-card .form-label {
    overflow-wrap: anywhere;
}

.articopay-preview-copy span,
.articopay-mini-logo,
.articopay-notification-mark {
    background-color: var(--gateway-primary-color) !important;
    color: var(--gateway-button-text-color) !important;
}

.articopay-preview-copy span {
    background: transparent !important;
    color: var(--gateway-primary-color) !important;
}

.articopay-mini-banner {
    background: linear-gradient(135deg, color-mix(in srgb, var(--gateway-primary-color) 14%, #ffffff), var(--gateway-secondary-color)) !important;
}

.articopay-mini-chart b {
    background: linear-gradient(135deg, color-mix(in srgb, var(--gateway-primary-color) 14%, #ffffff), var(--gateway-secondary-color)) !important;
}

@media (max-width: 640px) {
    html,
    body {
        overflow-y: auto !important;
    }

    .articopay-auth-main {
        min-height: 100dvh !important;
        height: auto !important;
        overflow-y: auto !important;
    }

    .articopay-auth-shell,
    .articopay-auth-card {
        max-height: none !important;
        min-height: calc(100dvh - 24px) !important;
    }

    .articopay-auth-card h1 {
        font-size: 32px !important;
    }

    body.articopay-register-page .articopay-auth-main {
        height: 100dvh !important;
        min-height: 100dvh !important;
        overflow-y: hidden !important;
        padding: 4px 8px !important;
    }

    body.articopay-register-page .articopay-auth-shell,
    body.articopay-register-page .articopay-auth-card {
        height: calc(100dvh - 8px) !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    body.articopay-register-page .articopay-register-title {
        font-size: 24px !important;
    }

    body.articopay-register-page .articopay-auth-card .form-control,
    body.articopay-register-page .articopay-auth-card .btn {
        height: 43px !important;
        min-height: 43px !important;
        font-size: 14px !important;
    }

    body.articopay-register-page .articopay-register-terms {
        align-items: flex-start;
    }

    body.articopay-register-page .articopay-auth-card .mb-3 {
        margin-bottom: 6px !important;
    }

    body.articopay-register-page .articopay-auth-card .form-label,
    body.articopay-register-page .articopay-register-terms,
    body.articopay-register-page .articopay-auth-card .text-center.mt-5 .btn {
        font-size: 12px !important;
    }
}

/* Rounded premium theme pass */
:root {
    --artico-radius-sm: 14px;
    --artico-radius-md: 18px;
    --artico-radius-lg: 24px;
    --artico-radius-xl: 30px;
}

.articopay-auth-card,
.articopay-auth-card > .w-100,
.articopay-auth-card .alert,
.articopay-auth-card .step-container,
.articopay-auth-card #password-validation-rules,
.articopay-auth-card .articopay-preview-panel {
    border-radius: var(--artico-radius-xl) !important;
}

.articopay-auth-card .form-control,
.articopay-auth-card .form-select,
.articopay-auth-card .btn,
.articopay-auth-card select,
.articopay-auth-card .input-group-text,
.articopay-auth-card .toggle-password,
.articopay-back-home,
.articopay-theme-toggle {
    border-radius: var(--artico-radius-md) !important;
}

.articopay-auth-card .step-circle,
.articopay-mini-logo,
.articopay-notification-mark,
.rounded-pill {
    border-radius: 999px !important;
}

/* Final auth light theme readability */
html[data-bs-theme="light"] {
    --auth-bg: #f4f7fb !important;
    --auth-panel: #ffffff !important;
    --auth-panel-2: #f8fbff !important;
    --auth-text: #07111f !important;
    --auth-muted: #4c5f76 !important;
    --auth-line: rgba(0, 108, 224, .22) !important;
}

html[data-bs-theme="light"],
html[data-bs-theme="light"] body,
html[data-bs-theme="light"] .articopay-auth-main {
    background: #f4f7fb !important;
    color: var(--auth-text) !important;
}

html[data-bs-theme="light"] .articopay-auth-main {
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 108, 224, .08), transparent 34%),
        linear-gradient(180deg, #eef4fb 0%, #f8fafc 100%) !important;
}

html[data-bs-theme="light"] .articopay-auth-card,
html[data-bs-theme="light"] .articopay-auth-card h1,
html[data-bs-theme="light"] .articopay-register-title,
html[data-bs-theme="light"] .articopay-auth-card label,
html[data-bs-theme="light"] .articopay-auth-card .form-label,
html[data-bs-theme="light"] .articopay-register-terms {
    color: var(--auth-text) !important;
}

html[data-bs-theme="light"] .articopay-auth-card p,
html[data-bs-theme="light"] .articopay-register-subtitle,
html[data-bs-theme="light"] .articopay-document-hint {
    color: var(--auth-muted) !important;
}

html[data-bs-theme="light"] .articopay-auth-card a,
html[data-bs-theme="light"] .articopay-auth-card .btn-link {
    color: var(--auth-blue) !important;
}

html[data-bs-theme="light"] .articopay-auth-card .form-control {
    background: #ffffff !important;
    border-color: rgba(0, 108, 224, .26) !important;
    color: #07111f !important;
}

html[data-bs-theme="light"] .articopay-auth-card .form-control::placeholder {
    color: #688098 !important;
}

html[data-bs-theme="light"] .articopay-auth-card .toggle-password {
    color: #60748d !important;
}

body.articopay-register-page .articopay-username-field {
    position: relative;
}

body.articopay-register-page .articopay-username-field > span {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 16px;
    color: var(--gateway-primary-color);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
}

body.articopay-register-page .articopay-username-field > .form-control {
    padding-left: 36px !important;
}

/* Four-step registration wizard */
body.articopay-register-wizard-page .articopay-auth-card {
    width: min(600px, 100%) !important;
    overflow: visible !important;
}

.articopay-register-wizard {
    position: relative;
    width: 100%;
    max-height: calc(100dvh - 28px);
    display: flex;
    flex-direction: column;
    padding: clamp(18px, 3vh, 30px);
    border: 1px solid var(--auth-line);
    border-radius: 24px;
    background: color-mix(in srgb, var(--auth-panel) 96%, transparent);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.articopay-register-header {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.articopay-register-wizard-page .articopay-register-header .nav-logo {
    width: auto !important;
    max-width: 170px;
    height: 38px !important;
    max-height: 38px !important;
    margin: 0;
    object-position: left center;
}

.articopay-register-theme-button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--auth-line);
    border-radius: 10px;
    background: var(--auth-panel-2);
    color: var(--gateway-primary-color);
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.articopay-register-theme-button:hover {
    border-color: color-mix(in srgb, var(--gateway-primary-color) 54%, transparent);
    background: color-mix(in srgb, var(--gateway-primary-color) 12%, var(--auth-panel-2));
    transform: translateY(-1px);
}

.articopay-register-theme-button svg {
    width: 18px;
    height: 18px;
}

body.articopay-register-wizard-page > .articopay-auth-theme-toggle {
    display: none !important;
}

body.articopay-register-wizard-page > .articopay-auth-home-link {
    display: none !important;
}

.articopay-login-wizard {
    min-height: 500px;
    justify-content: flex-start;
}

.articopay-login-content {
    min-height: 0;
    display: flex;
    flex: 1;
    align-items: center;
    padding: clamp(22px, 4vh, 42px) 0 10px;
}

.articopay-login-content > .row {
    margin: 0 !important;
}

.articopay-login-wizard .articopay-step-heading {
    margin-bottom: 22px;
}

.articopay-login-wizard .articopay-login-main-heading {
    margin-top: -12px;
    margin-bottom: 24px;
}

.articopay-login-wizard .articopay-step-heading h1,
.articopay-login-wizard .articopay-step-heading p {
    text-align: left !important;
}

.articopay-login-wizard form > .btn,
.articopay-login-wizard #menuEscolha .btn {
    width: 100%;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
}

.articopay-login-forgot {
    margin: -4px 0 14px !important;
    color: var(--auth-muted) !important;
    font-size: 12px !important;
    text-align: right !important;
}

.articopay-login-forgot a,
.articopay-login-links a {
    color: var(--gateway-primary-color) !important;
    font-weight: 800;
}

.articopay-login-forgot a:hover,
.articopay-login-links a:hover,
.articopay-login-forgot a:focus-visible,
.articopay-login-links a:focus-visible {
    color: color-mix(in srgb, var(--gateway-primary-color) 78%, #ffffff) !important;
}

.articopay-login-links {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--auth-muted);
    font-size: 12px;
}

.articopay-login-links a {
    text-decoration: none;
}

.articopay-login-security {
    position: absolute;
    left: 50%;
    bottom: -36px;
    width: min(560px, calc(100vw - 32px));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--auth-muted);
    font-size: 12px;
    transform: translateX(-50%);
}

.articopay-login-security svg {
    width: 17px;
    height: 17px;
}

body.articopay-login-page .articopay-auth-card {
    overflow: visible !important;
}

@media (max-height: 700px) {
    .articopay-login-wizard {
        min-height: 440px;
    }

    .articopay-login-content {
        padding-top: 14px;
    }

    .articopay-login-wizard .articopay-step-heading {
        margin-bottom: 12px;
    }

    .articopay-login-security {
        bottom: -25px;
        font-size: 10px;
    }
}

@media (max-width: 560px) {
    .articopay-login-wizard {
        min-height: min(540px, calc(100dvh - 52px));
    }

    .articopay-login-content {
        padding-top: 16px;
    }

    .articopay-login-security {
        bottom: -27px;
        width: calc(100vw - 24px);
        gap: 6px;
        font-size: 10px;
    }
}

.articopay-register-progress {
    width: min(350px, 76%);
    display: flex;
    align-items: center;
    margin: clamp(12px, 2.2vh, 22px) auto;
}

.articopay-progress-step {
    position: relative;
    flex: 1;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--auth-muted);
}

.articopay-progress-step::before {
    content: "";
    position: absolute;
    top: 14px;
    right: 50%;
    width: 100%;
    height: 2px;
    background: var(--auth-line);
}

.articopay-progress-step:first-child::before {
    display: none;
}

.articopay-progress-step span {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    margin: auto;
    border-radius: 50%;
    background: var(--auth-panel-2);
    font-size: 13px;
    font-weight: 800;
}

.articopay-progress-step.is-active span,
.articopay-progress-step.is-complete span {
    background: var(--gateway-button-color);
    color: var(--gateway-button-text-color);
}

.articopay-progress-step.is-active::before,
.articopay-progress-step.is-complete::before {
    background: var(--gateway-button-color);
}

.articopay-register-wizard form {
    min-height: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.articopay-register-step {
    min-height: 0;
    flex: 1;
}

.articopay-register-step[hidden] {
    display: none !important;
}

.articopay-step-heading {
    margin-bottom: clamp(12px, 2vh, 20px);
}

.articopay-step-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--gateway-primary-color);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.articopay-register-wizard-page .articopay-step-heading h1 {
    margin: 0 0 4px !important;
    color: var(--auth-text) !important;
    font-size: clamp(22px, 3vh, 28px) !important;
    line-height: 1.1;
    text-align: left;
}

body.articopay-register-wizard-page .articopay-step-heading p {
    margin: 0;
    color: var(--auth-muted) !important;
    font-size: 13px;
    text-align: left;
}

.articopay-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(8px, 1.2vh, 12px) 12px;
}

body.articopay-register-wizard-page .articopay-field {
    margin-bottom: clamp(10px, 1.6vh, 15px);
}

body.articopay-register-wizard-page .articopay-fields-grid .articopay-field {
    margin: 0;
}

.articopay-field label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: var(--auth-text) !important;
    font-size: 12px;
    font-weight: 800;
}

.articopay-field label small {
    color: var(--auth-muted);
    font-size: 10px;
}

body.articopay-register-wizard-page .articopay-field .form-control {
    width: 100%;
    height: clamp(42px, 5.5vh, 50px) !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    background: var(--auth-panel-2) !important;
    font-size: 14px !important;
}

.articopay-field-error {
    display: block;
    margin-top: 3px;
    color: #ff8f8f;
    font-size: 10px;
    line-height: 1.15;
}

.articopay-field-feedback {
    display: none !important;
}

.articopay-validated-field {
    position: relative;
}

.articopay-validated-field > .articopay-phone-field,
.articopay-validated-field > .articopay-username-field {
    position: relative;
}

.articopay-validated-field .form-control {
    padding-right: 44px !important;
}

.articopay-validation-icon {
    position: absolute;
    z-index: 5;
    top: 50%;
    right: 12px;
    width: 20px;
    height: 20px;
    display: none;
    place-items: center;
    border-radius: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.articopay-validation-icon.is-valid,
.articopay-validation-icon.is-error {
    display: grid;
}

.articopay-validation-icon.is-valid {
    background: transparent;
    color: #4ade80;
}

.articopay-validation-icon.is-error {
    background: transparent;
    color: #ff6b6b;
}

.articopay-validation-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.articopay-register-wizard-page .articopay-field .form-control.is-valid {
    border-color: rgba(34, 197, 94, .62) !important;
}

body.articopay-register-wizard-page .articopay-field .form-control.is-invalid {
    border-color: rgba(239, 68, 68, .78) !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, .12) !important;
}

:root[data-bs-theme="dark"] body.articopay-register-wizard-page .articopay-field .form-control,
:root[data-bs-theme="dark"] body.articopay-register-wizard-page .articopay-field .form-control:focus,
:root[data-bs-theme="dark"] body.articopay-register-wizard-page .articopay-field .form-control.is-valid,
:root[data-bs-theme="dark"] body.articopay-register-wizard-page .articopay-field .form-control.is-invalid {
    background-color: #17171a !important;
    color: #ffffff !important;
}

:root[data-bs-theme="dark"] body.articopay-register-wizard-page .articopay-field .form-control:-webkit-autofill,
:root[data-bs-theme="dark"] body.articopay-register-wizard-page .articopay-field .form-control:-webkit-autofill:hover,
:root[data-bs-theme="dark"] body.articopay-register-wizard-page .articopay-field .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
    box-shadow: 0 0 0 1000px #17171a inset !important;
    transition: background-color 9999s ease-out 0s;
}

:root[data-bs-theme="light"] body.articopay-register-wizard-page .articopay-field .form-control,
:root[data-bs-theme="light"] body.articopay-register-wizard-page .articopay-field .form-control:focus,
:root[data-bs-theme="light"] body.articopay-register-wizard-page .articopay-field .form-control.is-valid,
:root[data-bs-theme="light"] body.articopay-register-wizard-page .articopay-field .form-control.is-invalid {
    background-color: #ffffff !important;
    color: #07111f !important;
}

:root[data-bs-theme="light"] body.articopay-register-wizard-page .articopay-field .form-control:-webkit-autofill,
:root[data-bs-theme="light"] body.articopay-register-wizard-page .articopay-field .form-control:-webkit-autofill:hover,
:root[data-bs-theme="light"] body.articopay-register-wizard-page .articopay-field .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #07111f !important;
    caret-color: #07111f;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    transition: background-color 9999s ease-out 0s;
}

.articopay-step-note {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: -36px;
    width: min(560px, calc(100vw - 32px));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--auth-muted);
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    transform: translateX(-50%);
    pointer-events: none;
}

.articopay-step-note svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}

.articopay-phone-field,
.articopay-password-field,
body.articopay-register-wizard-page .articopay-username-field {
    position: relative;
}

.articopay-phone-field > span {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--auth-muted);
    font-size: 12px;
    transform: translateY(-50%);
}

.articopay-phone-field > span img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

body.articopay-register-wizard-page .articopay-phone-field .form-control {
    padding-left: 78px !important;
}

body.articopay-register-wizard-page .articopay-username-field > span {
    left: 14px;
    font-size: 14px;
}

body.articopay-register-wizard-page .articopay-username-field .form-control {
    padding-left: 32px !important;
}

.articopay-password-field button {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--auth-muted);
    transform: translateY(-50%);
}

.articopay-password-field button svg {
    width: 17px;
}

.articopay-password-strength > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.articopay-password-strength > div span {
    height: 4px;
    border-radius: 999px;
    background: var(--auth-line);
}

.articopay-password-strength[data-score="1"] > div span:nth-child(-n+1),
.articopay-password-strength[data-score="2"] > div span:nth-child(-n+2) {
    background: #ef5350;
}

.articopay-password-strength[data-score="3"] > div span:nth-child(-n+3) {
    background: #ffb020;
}

.articopay-password-strength[data-score="4"] > div span {
    background: #22c55e;
}

body.articopay-register-wizard-page .articopay-password-strength p {
    display: flex;
    justify-content: space-between;
    margin: 7px 0 0;
    color: var(--auth-muted) !important;
    font-size: 10px;
    text-align: left;
}

body.articopay-register-wizard-page .articopay-register-terms {
    align-items: center;
    margin: clamp(10px, 1.5vh, 16px) 0 0;
    font-size: 11px !important;
    font-weight: 600 !important;
}

body.articopay-register-wizard-page .articopay-register-terms input {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    flex-basis: 20px;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: grid;
    place-items: center;
    margin: 0;
    border: 1.5px solid color-mix(in srgb, var(--auth-muted) 58%, transparent);
    border-radius: 6px;
    background: color-mix(in srgb, var(--auth-panel-2) 94%, transparent);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
    cursor: pointer;
    transition:
        border-color .18s ease,
        background-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

body.articopay-register-wizard-page .articopay-register-terms input::after {
    content: "";
    width: 6px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    opacity: 0;
    transform: translateY(-1px) rotate(45deg) scale(.45);
    transition: opacity .14s ease, transform .18s cubic-bezier(.2, .9, .3, 1.35);
}

body.articopay-register-wizard-page .articopay-register-terms:hover input {
    border-color: color-mix(in srgb, var(--gateway-primary-color) 68%, var(--auth-line));
}

body.articopay-register-wizard-page .articopay-register-terms input:checked {
    border-color: var(--gateway-primary-color);
    background: var(--gateway-primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gateway-primary-color) 18%, transparent);
}

body.articopay-register-wizard-page .articopay-register-terms input:checked::after {
    opacity: 1;
    transform: translateY(-1px) rotate(45deg) scale(1);
}

body.articopay-register-wizard-page .articopay-register-terms input:active {
    transform: scale(.92);
}

body.articopay-register-wizard-page .articopay-register-terms input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--gateway-primary-color) 24%, transparent);
}

html[data-bs-theme="light"] body.articopay-register-wizard-page .articopay-register-terms input {
    border-color: color-mix(in srgb, var(--auth-muted) 48%, transparent);
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}

html[data-bs-theme="light"] body.articopay-register-wizard-page .articopay-register-terms input:checked {
    border-color: var(--gateway-primary-color);
    background: var(--gateway-primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gateway-primary-color) 15%, transparent);
}

.articopay-review-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.articopay-review-card {
    margin-bottom: 8px;
    padding: 10px 12px;
    border: 1px solid var(--auth-line);
    border-radius: 10px;
    background: var(--auth-panel-2);
}

.articopay-review-card h2 {
    margin: 0 0 6px;
    color: var(--auth-muted);
    font-size: 11px;
    font-weight: 700;
}

.articopay-review-card dl {
    margin: 0;
}

.articopay-review-card dl > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 2px 0;
}

.articopay-review-card dt,
.articopay-review-card dd {
    margin: 0;
    font-size: 11px;
}

.articopay-review-card dt {
    color: var(--auth-muted);
    font-weight: 500;
}

.articopay-review-card dd {
    max-width: 65%;
    overflow: hidden;
    color: var(--auth-text);
    font-weight: 800;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.articopay-review-access {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.articopay-review-access h2 {
    margin: 0;
}

body.articopay-register-wizard-page .articopay-review-access p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--auth-text) !important;
}

.articopay-review-access svg {
    width: 15px;
}

.articopay-review-password-toggle {
    display: grid;
    width: 24px;
    height: 24px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--auth-muted);
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease;
}

.articopay-review-password-toggle:hover,
.articopay-review-password-toggle:focus-visible {
    outline: none;
    background: color-mix(in srgb, var(--gateway-primary-color) 12%, transparent);
    color: var(--gateway-primary-color);
}

.articopay-review-password-toggle[aria-pressed="true"] {
    color: var(--gateway-primary-color);
}

.articopay-register-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: clamp(12px, 2vh, 20px);
}

body.articopay-register-wizard-page .articopay-register-actions .btn {
    height: clamp(42px, 5.5vh, 48px) !important;
    min-height: 42px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
}

.articopay-secondary-button {
    border: 1px solid var(--auth-line) !important;
    background: var(--auth-panel-2) !important;
    color: var(--auth-text) !important;
}

.articopay-register-actions [hidden] {
    display: none !important;
}

@media (max-height: 700px) {
    .articopay-register-wizard {
        padding: 14px 20px;
    }

    .articopay-register-progress {
        margin: 8px auto;
    }

    .articopay-step-heading {
        margin-bottom: 9px;
    }

    body.articopay-register-wizard-page .articopay-step-heading h1 {
        font-size: 20px !important;
    }

    body.articopay-register-wizard-page .articopay-step-heading p {
        font-size: 11px;
    }

    .articopay-register-actions {
        margin-top: 9px;
    }

    .articopay-step-note {
        bottom: -25px;
        font-size: 10px;
    }
}

@media (max-width: 560px) {
    body.articopay-register-wizard-page .articopay-auth-home-link,
    body.articopay-register-wizard-page .articopay-auth-theme-toggle {
        display: none;
    }

    body.articopay-register-wizard-page .articopay-auth-main {
        padding: 6px !important;
    }

    .articopay-register-wizard {
        max-height: calc(100dvh - 12px);
        padding: 14px;
        border-radius: 18px;
    }

    .articopay-register-header {
        min-height: 30px;
    }

    body.articopay-register-wizard-page .articopay-register-header .nav-logo {
        height: 30px !important;
        max-height: 30px !important;
    }

    .articopay-register-theme-button {
        width: 32px;
        height: 32px;
    }

    .articopay-step-note {
        bottom: -27px;
        width: calc(100vw - 24px);
        gap: 6px;
        font-size: 10px;
    }

    .articopay-step-note svg {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .articopay-register-progress {
        width: 84%;
        margin: 7px auto;
    }

    .articopay-progress-step,
    .articopay-progress-step span {
        height: 25px;
    }

    .articopay-progress-step span {
        width: 25px;
        font-size: 11px;
    }

    .articopay-progress-step::before {
        top: 12px;
    }

    .articopay-fields-grid {
        gap: 6px 8px;
    }

    .articopay-field label {
        font-size: 10px;
    }

    body.articopay-register-wizard-page .articopay-field .form-control {
        height: 39px !important;
        min-height: 39px !important;
        padding: 0 10px !important;
        font-size: 11px !important;
    }

    body.articopay-register-wizard-page .articopay-phone-field .form-control {
        padding-left: 68px !important;
    }

    .articopay-phone-field > span {
        left: 8px;
        gap: 4px;
        font-size: 10px;
    }

    .articopay-phone-field > span img {
        width: 17px;
        height: 17px;
    }

    body.articopay-register-wizard-page .articopay-username-field .form-control {
        padding-left: 26px !important;
    }

    body.articopay-register-wizard-page .articopay-username-field > span {
        left: 10px;
        font-size: 11px;
    }
}
