/* _content/DEG.Web.CustomerPortal/Components/Layout/MainLayout.razor.rz.scp.css */
.app-root[b-6q4x0gsanj] {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: var(--deg-bg); /* or just #f6f6f6 */
}
/* _content/DEG.Web.CustomerPortal/Components/Pages/PartnerRegistration.razor.rz.scp.css */
/* page background */
.registration-page[b-z0zp3sm87t] {
    min-height: 100vh;
    padding: 3rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: transparent;
}

/* shell = logo + card centered together */
.registration-shell[b-z0zp3sm87t] {
    position: relative;
    max-width: 1100px;
    width: 100%;
}

/* card: sidebar + content */
.registration-layout[b-z0zp3sm87t] {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    width: 100%;
    background: #ffffff;
    border-radius: 26px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 1;
    min-height: 620px; /* adjust to the tallest step */
    transition: min-height 220ms ease; /* harmless, but keeps it smooth if you tweak later */
}

/* smooth resize of card when the step changes */
.registration-shell[b-z0zp3sm87t],
.registration-layout[b-z0zp3sm87t] {
    transition: max-width 220ms ease, min-height 220ms ease;
}

    /* approximate sizes per step – adjust as needed */
    .registration-shell.step-1[b-z0zp3sm87t],
    .registration-layout.step-1[b-z0zp3sm87t] {
        max-width: 1000px;
        min-height: 520px;
    }

    .registration-shell.step-2[b-z0zp3sm87t],
    .registration-layout.step-2[b-z0zp3sm87t] {
        max-width: 1100px;
        min-height: 580px;
    }

    .registration-shell.step-3[b-z0zp3sm87t],
    .registration-layout.step-3[b-z0zp3sm87t] {
        max-width: 1100px;
        min-height: 620px;
    }

    /* success sheet typically a bit lower */
    .registration-shell.step-success[b-z0zp3sm87t],
    .registration-layout.step-success[b-z0zp3sm87t] {
        max-width: 900px;
        min-height: 460px;
    }


/* sidebar steps */
.step-sidebar[b-z0zp3sm87t] {
    padding: 2rem 1.75rem;
    background: linear-gradient(180deg, #f5f6ff 0, #f7f7fb 45%, #ffffff 100%);
    border-right: 1px solid #eef0f5;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* full pills on desktop */
.step-tab[b-z0zp3sm87t] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #111827;
    cursor: pointer;
    flex: 0 0 auto;
}

    .step-tab:hover[b-z0zp3sm87t] {
        background: rgba(75, 77, 237, 0.06);
    }

    .step-tab.active[b-z0zp3sm87t] {
        background: #4b4ded;
        color: #ffffff;
        box-shadow: 0 12px 32px rgba(75, 77, 237, 0.35);
    }

/* index bubble */
.step-index[b-z0zp3sm87t] {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* text beside index */
.step-text[b-z0zp3sm87t] {
    display: flex;
    flex-direction: column;
}

.step-title[b-z0zp3sm87t] {
    font-size: 0.9rem;
    font-weight: 600;
}

.step-caption[b-z0zp3sm87t] {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* main content */
.step-main[b-z0zp3sm87t] {
    padding: 2.25rem 2.75rem 2rem;
}

.step-main-inner[b-z0zp3sm87t] {
    max-width: 720px;
    width: 100%;
}

/* header */
.registration-header h1[b-z0zp3sm87t] {
    margin: 0 0 0.5rem;
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.registration-header p[b-z0zp3sm87t] {
    margin: 0;
    color: #6b7280;
    max-width: 560px;
    line-height: 1.5;
}

/* grid of fields */
.form-grid[b-z0zp3sm87t] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.75rem;
    margin-top: 2rem;
}

.form-field[b-z0zp3sm87t] {
    display: flex;
    flex-direction: column;
}

.form-field-full[b-z0zp3sm87t] {
    grid-column: 1 / -1;
}

/* sections */
.form-section[b-z0zp3sm87t] {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

/* brand chips */
.brand-chipset[b-z0zp3sm87t] {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .brand-chipset .mud-chip[b-z0zp3sm87t] {
        border-radius: 999px;
        padding-inline: 0.9rem;
        font-size: 0.85rem;
    }

        .brand-chipset .mud-chip.mud-chip-selected[b-z0zp3sm87t] {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        }

/* subtle brand section entrance */
.brand-section[b-z0zp3sm87t] {
    opacity: 0;
    transform: translateY(6px);
    animation: brandFadeIn-b-z0zp3sm87t 160ms ease-out forwards;
}

@keyframes brandFadeIn-b-z0zp3sm87t {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* keep validation from shifting layout */
.brand-validation[b-z0zp3sm87t] {
    min-height: 1.2rem;
}

/* actions */
.step-actions[b-z0zp3sm87t] {
    margin-top: 2.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* attached pill + input for "same as ..." */
.field-label[b-z0zp3sm87t] {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.attached-input-wrapper[b-z0zp3sm87t] {
    display: flex;
    align-items: stretch;
}

.attached-pill[b-z0zp3sm87t] {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    background: #f5f5f7;
    border-radius: 4px 0 0 4px;
    border: 1px solid rgba(0, 0, 0, 0.23);
    border-right: none;
    white-space: nowrap;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.attached-input[b-z0zp3sm87t] {
    flex: 1;
}

[b-z0zp3sm87t] .attached-input .mud-input-root {
    border-radius: 0 4px 4px 0;
    border-left: none;
}

[b-z0zp3sm87t] .attached-pill .mud-checkbox-label {
    font-size: 0.8rem;
}

/* reserve error/helper space */
[b-z0zp3sm87t] .mud-input-control-helper-container {
    min-height: 1.2rem;
}

/* alerts */
.alert[b-z0zp3sm87t] {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

    .alert.success[b-z0zp3sm87t] {
        background: #e2f5ea;
        color: #205529;
    }

    .alert.error[b-z0zp3sm87t] {
        background: #fdecea;
        color: #a4262c;
    }

/* finance grid single column */
.finance-grid[b-z0zp3sm87t] {
    grid-template-columns: 1fr;
}

/* validation error at step level */
.step-error-label[b-z0zp3sm87t] {
    margin-top: 1rem;
    color: #b91c1c;
    font-size: 0.85rem;
}

/* highlight missing required fields when validation fails */
.invalid-field[b-z0zp3sm87t]  .mud-input-root {
    border-color: #ef4444 !important;
}

    .invalid-field[b-z0zp3sm87t]  .mud-input-root.mud-input-outlined {
        border-width: 2px;
    }

/* GDPR helpers */
.gdpr-row[b-z0zp3sm87t] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gdpr-label[b-z0zp3sm87t] {
    font-size: 0.9rem;
}

.helper-text.gdpr-note[b-z0zp3sm87t] {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.deg-logo-vertical[b-z0zp3sm87t] {
    position: absolute;
    top: 50vh; /* center relative to viewport, not content */
    transform: translateY(-50%);
    height: 70vh;
    max-height: 520px;
    width: auto;
    opacity: 0.08;
    pointer-events: none;
    display: none; /* still controlled by your media queries */
}


/* horizontal logo above form (inside card) */
.deg-logo-horizontal[b-z0zp3sm87t] {
    display: none;
    margin: 0 0 1.5rem;
    max-width: 260px;
    width: 100%;
    opacity: 0.9;
}

/* left side */
.deg-logo-left[b-z0zp3sm87t] {
    right: 100%; /* stick to left of card */
    margin-right: 2.5rem; /* gap between logo and card */
}

/* right side (mirrored) */
.deg-logo-right[b-z0zp3sm87t] {
    left: 100%; /* stick to right of card */
    margin-left: 2.5rem;
    transform: translateY(-50%) scaleX(-1); /* mirror horizontally */
}

/* responsive */
@media (max-width: 1024px) {
    .registration-layout[b-z0zp3sm87t] {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .step-sidebar[b-z0zp3sm87t] {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 0.4rem;
        overflow-x: visible;
        border-right: none;
        border-bottom: 1px solid #e4e7f0;
        padding: 1rem 1rem 0.5rem;
    }

    /* small dot-style pills on narrow screens */
    .step-tab[b-z0zp3sm87t] {
        width: 34px;
        height: 34px;
        padding: 0;
        justify-content: center;
    }

    .step-text[b-z0zp3sm87t] {
        display: none; /* hide titles/captions on mobile */
    }

    .step-main[b-z0zp3sm87t] {
        padding: 1.75rem 1.5rem 1.5rem;
    }

    .form-grid[b-z0zp3sm87t] {
        grid-template-columns: 1fr;
    }
}

/* show vertical logo only on wide screens */
@media (min-width: 1200px) {
    .deg-logo-vertical[b-z0zp3sm87t] {
        display: block;
    }

    .deg-logo-horizontal[b-z0zp3sm87t] {
        display: none;
    }
}

/* on smaller screens show horizontal logo instead */
@media (max-width: 1199.98px) {
    .deg-logo-vertical[b-z0zp3sm87t] {
        display: none;
    }

    .deg-logo-horizontal[b-z0zp3sm87t] {
        display: block;
    }
}

/* extra spacing below success text */
.success-register-btn[b-z0zp3sm87t] {
    margin-top: 1.75rem; /* adjust up/down as you like */
}
