/*
 * Páginas externas (login, cadastro, senha, fluxo de pagamento).
 * Card branco de 24px sobre o canvas sage — surface contrast como elevação.
 */

.page-wrapper > main.page-content {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px 48px;
}

.page-wrapper .page-content {
    animation: enter .15s ease-out;
}

@keyframes enter {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes exit {
    0% {
        opacity: 1;
        transform: none;
    }
    100% {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.page-exit {
    animation: exit 150ms ease-out forwards;
}

.information {
    width: 100%;
    max-width: 480px;
    min-width: 0;
    height: auto;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--canvas);
    border: 1px solid var(--canvas-soft);
    border-radius: var(--radius-xl);
}

@media (max-width: 575px) {
    .information {
        padding: 28px 20px;
    }
}

.information hr {
    margin: 24px 0;
}

.information form {
    width: 100%;
}

/* CTA primário em largura total; ações secundárias abaixo */
.information form .form-footer {
    margin-top: 8px;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
}

.information form .form-footer > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.information form .form-footer > div .btn {
    flex: 1 1 auto;
}

.information form .form-footer > .btn,
.information form .form-footer > input.btn {
    width: 100%;
}

.information .ds-title {
    font-size: clamp(28px, 5vw, 36px);
}

.information .btn-lg {
    width: 100%;
}

.information-text {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    color: var(--body);
}

.information-text ul {
    margin: 0;
    padding: 0;
}

.information-text li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    list-style: none;
    margin-bottom: 12px;
}

.information-text li i {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    background: var(--primary-pale);
    color: var(--positive-deep) !important;
    font-size: 12px !important;
    float: none;
    padding: 0;
}

.information-text li span {
    display: block;
    padding-top: 2px;
}

.text-information {
    padding: 16px 0 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--body);
}

.errorlist {
    list-style: none;
    padding: 4px 4px 0;
    margin: 0 0 8px;
    color: var(--negative);
    font-size: 14px;
    font-weight: 600;
}

/* Campos com ícone/ajuda dentro de input-group */
.form-floating.input-group {
    flex-wrap: nowrap;
}

.form-floating.input-group span img {
    display: block !important;
}

.page-content .img-card {
    display: none;
}

/* Rodapé com Termos de Uso e Política de Privacidade */
.ds-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    padding: 20px 16px 28px;
    font-size: 14px;
}

.ds-footer-legal a {
    color: var(--body);
    text-underline-offset: 3px;
}

.ds-footer-legal a:hover {
    color: var(--ink);
}
