body.mdt-cadastro {
    margin: 0;
    min-height: 100vh;
    background: #f5f7fb;
    color: var(--mdt-text);
    font-family: Inter,"Segoe UI",Roboto,Arial,sans-serif
}

.mdt-cadastro-layout {
    display: flex;
    min-height: 100vh
}

.mdt-cadastro-side {
    position: sticky;
    top: 0;
    width: 330px;
    height: 100vh;
    flex: 0 0 330px;
    padding: 2.5rem;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 20% 20%,rgba(48,103,168,.45),transparent 35%),linear-gradient(145deg,#07162c,#0d2344 55%,#102e58)
}

    .mdt-cadastro-side > div {
        width: 100%;
        display: flex;
        flex-direction: column;
        min-height: calc(100vh - 5rem)
    }

.mdt-cadastro-back {
    color: rgba(255,255,255,.82);
    text-decoration: none;
    font-weight: 650
}

    .mdt-cadastro-back:hover {
        color: #fff
    }

.mdt-cadastro-side-content {
    margin: auto 0
}

.mdt-cadastro-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    color: #8bbcff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em
}

.mdt-cadastro-side h1 {
    margin-bottom: 1rem;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.04em
}

.mdt-cadastro-side p {
    margin-bottom: 2rem;
    color: rgba(255,255,255,.72);
    line-height: 1.65
}

.mdt-cadastro-side-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: .8rem;
    color: rgba(255,255,255,.86)
}

    .mdt-cadastro-side-item i {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,.1)
    }

.mdt-cadastro-panel {
    flex: 1 1 auto;
    min-width: 0;
    padding: 2.5rem
}

.mdt-cadastro-card {
    width: min(980px,100%);
    margin: 0 auto;
    padding: 2rem 2.25rem;
    border: 1px solid #e5eaf1;
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15,35,65,.06)
}

.mdt-cadastro-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #edf0f4
}

.mdt-cadastro-step {
    display: block;
    margin-bottom: .45rem;
    color: var(--mdt-blue);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em
}

.mdt-cadastro-header h2 {
    margin: 0 0 .35rem;
    color: var(--mdt-navy);
    font-size: 1.85rem;
    font-weight: 800
}

.mdt-cadastro-header p, .mdt-section-title p {
    margin: 0;
    color: var(--mdt-muted)
}

.mdt-form-section {
    padding: 2rem 0;
    border-bottom: 1px solid #edf0f4
}

.mdt-section-title {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    margin-bottom: 1.25rem
}

.mdt-section-number {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--mdt-blue);
    color: #fff;
    font-size: .82rem;
    font-weight: 800
}

.mdt-section-title h3 {
    margin: 0 0 .2rem;
    color: var(--mdt-navy);
    font-size: 1.05rem;
    font-weight: 800
}

.mdt-section-title p {
    font-size: .88rem
}

.mdt-cadastro .form-control, .mdt-cadastro .form-select {
    min-height: 50px;
    border-color: var(--mdt-border);
    border-radius: .75rem;
    box-shadow: none
}

    .mdt-cadastro .form-control:focus, .mdt-cadastro .form-select:focus {
        border-color: var(--mdt-blue);
        box-shadow: 0 0 0 .22rem rgba(18,104,232,.1)
    }

.mdt-lgpd-section {
    border-bottom: 0
}

    .mdt-lgpd-section .form-check {
        padding: 1rem 1rem 1rem 2.7rem;
        border: 1px solid #e2e9f3;
        border-radius: .8rem;
        background: #f8fbff
    }

    .mdt-lgpd-section .form-check-input {
        margin-left: -1.7rem
    }

    .mdt-lgpd-section .form-check-label {
        color: #42526a;
        font-size: .9rem;
        line-height: 1.55
    }

.mdt-cadastro-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem
}

    .mdt-cadastro-actions .btn {
        min-height: 50px;
        min-width: 160px;
        border-radius: .75rem;
        font-weight: 700
    }

    .mdt-cadastro-actions .mdt-primary-btn {
        width: auto !important;
        padding-left: 1.5rem;
        padding-right: 1.5rem
    }

.mdt-success-btn {
    background-color: #198754;
    border-color: #198754;
    color: #fff;
}

    .mdt-success-btn:hover {
        background-color: #157347;
        border-color: #146c43;
        color: #fff;
    }

@media(max-width:991.98px) {
    .mdt-cadastro-panel {
        padding: 1.25rem
    }

    .mdt-cadastro-card {
        padding: 1.5rem
    }
}

@media(max-width:575.98px) {
    .mdt-cadastro-panel {
        padding: 0
    }

    .mdt-cadastro-card {
        border: 0;
        border-radius: 0;
        padding: 1.25rem;
        box-shadow: none
    }

    .mdt-cadastro-actions {
        flex-direction: column-reverse
    }

        .mdt-cadastro-actions .btn {
            width: 100% !important
        }
}
/* ==========================================================
   WIZARD / ETAPAS DO CADASTRO
   ========================================================== */

.mdt-wizard {
    display: flex;
    align-items: center;
    margin: 24px 0 34px;
}

.mdt-wizard-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8a96a8;
}

.mdt-wizard-circle {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border: 2px solid #dce3ec;
    border-radius: 50%;
    background: #fff;
    font-size: 17px;
    transition: all .25s ease;
}

.mdt-wizard-label {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

    .mdt-wizard-label strong {
        font-size: 13px;
        font-weight: 700;
    }

    .mdt-wizard-label small {
        margin-top: 3px;
        font-size: 11px;
    }


/* Linha entre etapas */
.mdt-wizard-line {
    height: 2px;
    flex: 1;
    min-width: 30px;
    margin: 0 14px;
    background: #e3e8ef;
    transition: background .25s ease;
}


/* Etapa ativa */
.mdt-wizard-item.active {
    color: #0d6efd;
}

    .mdt-wizard-item.active .mdt-wizard-circle {
        color: #fff;
        border-color: #0d6efd;
        background: #0d6efd;
        box-shadow: 0 4px 12px rgba(13, 110, 253, .20);
    }


/* Etapa concluída */
.mdt-wizard-item.completed {
    color: #198754;
}

    .mdt-wizard-item.completed .mdt-wizard-circle {
        color: #fff;
        border-color: #198754;
        background: #198754;
    }


/* ==========================================================
   PÁGINAS DO WIZARD
   ========================================================== */

.mdt-wizard-page {
    display: none;
}

    .mdt-wizard-page.active {
        display: block;
        animation: mdtWizardFade .25s ease;
    }

@keyframes mdtWizardFade {

    from {
        opacity: 0;
        transform: translateX(8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ==========================================================
   BOTÕES
   ========================================================== */

.mdt-wizard-actions .btn {
    min-height: 50px;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: .75rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Botões principais: Salvar / Avançar / Criar conta */
.mdt-wizard-actions .mdt-primary-btn,
.mdt-wizard-actions .mdt-success-btn {
    width: 160px;
}

/* Botão verde */
.mdt-success-btn {
    background-color: #198754;
    border-color: #198754;
    color: #fff;
}

    .mdt-success-btn:hover {
        background-color: #157347;
        border-color: #146c43;
        color: #fff;
    }

/* Botão ignorar não precisa ter largura fixa */
.mdt-wizard-actions .mdt-skip-btn {
    min-width: auto;
    padding-left: .75rem;
    padding-right: .75rem;
}

.mdt-wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e8edf3;
}

.mdt-wizard-actions-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mdt-skip-btn {
    color: #7b8798;
    text-decoration: none;
}

    .mdt-skip-btn:hover {
        color: #495567;
        text-decoration: underline;
    }


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767.98px) {

    .mdt-wizard {
        margin-bottom: 25px;
    }

    .mdt-wizard-label {
        display: none;
    }

    .mdt-wizard-line {
        margin: 0 8px;
    }

    .mdt-wizard-circle {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .mdt-wizard-actions {
        align-items: stretch;
    }

    .mdt-wizard-actions-right {
        flex: 1;
        justify-content: flex-end;
    }
}

