.dyv-registration-form {
    max-width: 560px;
    margin: 0 auto;
}

.dyv-registration-field {
    margin-bottom: 22px;
}

.dyv-registration-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.dyv-registration-field input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d9dfe7;
    border-radius: 8px;
    background: #ffffff;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.dyv-registration-field input:focus {
    outline: none;
    border-color: #1f2937;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.08);
}

/*
 * Password field
 */
.dyv-password-wrapper {
    position: relative;
}

.dyv-application-card .dyv-password-wrapper input {
    padding-right: 52px;
}

.dyv-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 6px;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;
}

.dyv-password-toggle:hover {
    background: #f3f4f6;
}

.dyv-password-toggle:focus {
    outline: 2px solid #1f2937;
    outline-offset: 1px;
}

/*
 * Password strength
 */
.dyv-password-strength {
    margin-top: 9px;
}

.dyv-password-strength__bar {
    width: 100%;
    height: 5px;
    overflow: hidden;
    background: #e5e7eb;
    border-radius: 999px;
}

.dyv-password-strength__bar span {
    display: block;
    width: 0;
    height: 100%;
    background: #374151;
    border-radius: inherit;
    transition:
        width 0.25s ease,
        background-color 0.25s ease;
}

.dyv-password-strength__text {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.dyv-password-help {
    margin: 7px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

/*
 * Submit button
 */
.dyv-registration-submit {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.dyv-registration-submit:hover {
    background: #1f2937;
}

.dyv-registration-submit:active {
    transform: translateY(1px);
}

.dyv-registration-submit:focus {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

/* =========================================================
   DYVERSIFY APPLICATION — 4-STEP HEADER
   ========================================================= */

.dyv-application-header {
    width: 100%;
    margin: 0;
}

.dyv-application-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.dyv-application-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dyv-application-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 2px solid #012A4A;
    border-radius: 8px;

    color: #012A4A;

    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.dyv-application-brand-name {
    color: #012A4A;

    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
}

.dyv-application-header-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;

    text-align: right;
}

.dyv-application-header-meta strong {
    color: #102033;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.dyv-application-header-meta span {
    color: #6f7d8d;

    font-size: 11px;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   STEPPER
   --------------------------------------------------------- */

.dyv-application-stepper {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 36px;
}

.dyv-application-step {
    display: flex;
    align-items: center;
    gap: 10px;

    flex: 0 0 auto;
}

.dyv-application-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
    min-width: 32px;

    border: 1px solid #d7dee6;
    border-radius: 50%;

    background: #f4f6f8;
    color: #6f7d8d;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.dyv-application-step__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dyv-application-step__content strong {
    color: #6f7d8d;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

.dyv-application-step__content span {
    color: #9aa5b1;

    font-size: 10px;
    line-height: 1.35;
    white-space: nowrap;
}


/* ---------------------------------------------------------
   ACTIVE STEP
   --------------------------------------------------------- */

.dyv-application-step.is-active .dyv-application-step__number {
    border-color: #012A4A;
    background: #012A4A;
    color: #ffffff;
}

.dyv-application-step.is-active .dyv-application-step__content strong {
    color: #012A4A;
}

.dyv-application-step.is-active .dyv-application-step__content span {
    color: #54718a;
}


/* ---------------------------------------------------------
   STEPPER CONNECTOR
   --------------------------------------------------------- */

.dyv-application-stepper__line {
    flex: 1 1 auto;

    height: 1px;

    margin: 0 16px;

    background: #d9e0e7;
}


/* ---------------------------------------------------------
   PAGE TITLE
   --------------------------------------------------------- */

.dyv-application-title {
    max-width: 760px;
    margin-bottom: 28px;
}

.dyv-application-title h2 {
    margin: 0 0 8px;

    color: #102033;

    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.dyv-application-title p {
    max-width: 720px;
    margin: 0;

    color: #6f7d8d;

    font-size: 14px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .dyv-application-stepper {
        align-items: flex-start;
    }

    .dyv-application-step {
        gap: 7px;
    }

    .dyv-application-step__content strong {
        font-size: 11px;
    }

    .dyv-application-step__content span {
        font-size: 9px;
    }

    .dyv-application-stepper__line {
        margin: 0 10px;
    }

}


@media (max-width: 700px) {

    .dyv-application-brand-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 28px;
    }

    .dyv-application-header-meta {
        align-items: flex-start;
        text-align: left;
    }

    .dyv-application-stepper {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 28px;
    }

    .dyv-application-step {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .dyv-application-step__content {
        min-width: 0;
    }

    .dyv-application-step__content strong,
    .dyv-application-step__content span {
        white-space: normal;
    }

    .dyv-application-stepper__line {
        display: none;
    }

    .dyv-application-title {
        margin-bottom: 24px;
    }

    .dyv-application-title h2 {
        font-size: 26px;
    }

    .dyv-application-title p {
        font-size: 13px;
    }

}


@media (max-width: 480px) {

    .dyv-application-brand-name {
        font-size: 18px;
    }

    .dyv-application-step__number {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    .dyv-application-step__content strong {
        font-size: 10px;
    }

    .dyv-application-step__content span {
        display: none;
    }

}


/* =========================================================
   DYVERSIFY APPLICATION — CANVAS & FIELD POLISH
   ========================================================= */

.dyv-application-wrapper {
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px 24px;
}

.dyv-application-card {
    width: min(1180px, 100%);
    max-width: 1180px;

    margin: 0 auto;
    padding: 48px 52px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e3eaf0;
    border-radius: 14px;

    box-shadow:
        0 12px 36px rgba(1, 42, 74, 0.07);
}


/* ---------------------------------------------------------
   FORM SECTIONS
   --------------------------------------------------------- */

.dyv-form-section {
    margin-bottom: 32px;
}

.dyv-form-section h3 {
    margin: 0 0 20px;

    color: #012A4A;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}


/* ---------------------------------------------------------
   FORM GRID
   --------------------------------------------------------- */

.dyv-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px 24px;

    margin-bottom: 0;
}


/* ---------------------------------------------------------
   FORM FIELDS
   --------------------------------------------------------- */

.dyv-form-group {
    min-width: 0;
}

.dyv-form-group label {
    display: block;

    margin: 0 0 8px;

    color: #102033;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.dyv-form-group input,
.dyv-form-group select {
    width: 100%;
    min-height: 48px;

    box-sizing: border-box;

    padding: 12px 14px;

    border: 1px solid #d6e0e8;
    border-radius: 7px;

    background-color: #ffffff;
    background-image: none;

    color: #102033;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.dyv-form-group input::placeholder {
    color: #9aa7b4;
    opacity: 1;
}

.dyv-form-group input:hover,
.dyv-form-group select:hover {
    border-color: #b9c9d7;
}

.dyv-form-group input:focus,
.dyv-form-group select:focus {
    outline: none;

    border-color: #012A4A;

    background-color: #ffffff;

    box-shadow:
        0 0 0 3px rgba(1, 42, 74, 0.08);
}


/* ---------------------------------------------------------
   PASSWORD FIELD
   --------------------------------------------------------- */

.dyv-password-wrapper {
    position: relative;

    width: 100%;
}

.dyv-application-card .dyv-password-wrapper input {
    width: 100%;

    min-height: 48px;

    padding: 12px 52px 12px 14px !important;

    box-sizing: border-box;

    border: 1px solid #d6e0e8 !important;
    border-radius: 7px !important;

    background: #ffffff !important;
    background-image: none !important;

    color: #102033;

    box-shadow: none !important;
}

.dyv-application-card .dyv-password-wrapper input:hover {
    border-color: #b9c9d7 !important;
}

.dyv-application-card .dyv-password-wrapper input:focus {
    outline: none;

    border-color: #012A4A !important;

    background: #ffffff !important;

    box-shadow:
        0 0 0 3px rgba(1, 42, 74, 0.08) !important;
}


/* Password visibility button */

.dyv-password-toggle {
    position: absolute;

    top: 50%;
    right: 8px;

    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 6px;

    background: transparent !important;

    color: #54718a;

    transform: translateY(-50%);

    cursor: pointer;
}

.dyv-password-toggle:hover {
    background: #f1f6fa !important;
    color: #012A4A;
}

.dyv-password-toggle:focus {
    outline: 2px solid rgba(1, 42, 74, 0.2);
    outline-offset: 1px;
}


/* ---------------------------------------------------------
   PASSWORD STRENGTH
   --------------------------------------------------------- */

.dyv-password-strength {
    margin-top: 9px;
}

.dyv-password-strength__bar {
    display: flex;

    width: 100%;
    height: 4px;

    overflow: hidden;

    border-radius: 999px;

    background: #e7edf2;
}

.dyv-password-strength__bar span {
    display: block;

    width: 0;
    height: 100%;

    border-radius: inherit;

    background: #012A4A;

    transition:
        width 0.2s ease,
        background-color 0.2s ease;
}

.dyv-password-strength__text {
    display: block;

    margin-top: 7px;

    color: #718396;

    font-size: 11px;
    line-height: 1.4;
}

.dyv-password-help {
    margin: 7px 0 0;

    color: #718396;

    font-size: 11px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   FORM FOOTER
   --------------------------------------------------------- */

.dyv-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    margin-top: 34px;
    padding-top: 24px;

    border-top: 1px solid #e5ebf0;
}

.dyv-form-note {
    margin: 0;

    color: #718396;

    font-size: 12px;
    line-height: 1.5;
}

.dyv-form-footer button {
    min-width: 190px;
    min-height: 46px;

    padding: 12px 22px;

    border: 1px solid #012A4A;
    border-radius: 7px;

    background: #012A4A;
    color: #ffffff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.dyv-form-footer button:hover {
    border-color: #06466F;
    background: #06466F;
}

.dyv-form-footer button:active {
    transform: translateY(1px);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .dyv-application-wrapper {
        padding: 32px 20px 48px;
    }

    .dyv-application-card {
        padding: 36px 32px;
    }

}


@media (max-width: 700px) {

    .dyv-application-wrapper {
        padding: 20px 12px 32px;
    }

    .dyv-application-card {
        width: 100%;
        padding: 28px 20px;

        border-radius: 10px;
    }

    .dyv-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dyv-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .dyv-form-footer button {
        width: 100%;
    }

}


@media (max-width: 480px) {

    .dyv-application-card {
        padding: 24px 16px;
    }

    .dyv-application-wrapper {
        padding: 12px 8px 24px;
    }

}

/* =========================================================
   APPLICATION REVIEW — REFINED SUMMARY
   ========================================================= */

.dyv-application-review {
    display: flex;
    flex-direction: column;
    gap: 16px;

    width: 100%;
}


/* ---------------------------------------------------------
   REVIEW SECTION CARD
   --------------------------------------------------------- */

.dyv-application-review__section {
    padding: 22px 24px;

    border: 1px solid #e1e8ee;
    border-radius: 10px;

    background: #ffffff;

    box-shadow:
        0 2px 8px rgba(1, 42, 74, 0.035);
}


/* ---------------------------------------------------------
   SECTION HEADING
   --------------------------------------------------------- */

.dyv-application-review__section h4 {
    margin: 0 0 18px;

    padding-bottom: 12px;

    border-bottom: 1px solid #edf1f4;

    color: #012A4A;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: 0.02em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   REVIEW DATA GRID
   --------------------------------------------------------- */

.dyv-application-review__section dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px 32px;

    margin: 0;
    padding: 0;
}


/* ---------------------------------------------------------
   INDIVIDUAL REVIEW ITEM
   --------------------------------------------------------- */

.dyv-application-review__section dl > div {
    min-width: 0;
}


/* ---------------------------------------------------------
   LABEL
   --------------------------------------------------------- */

.dyv-application-review__section dt {
    margin: 0 0 5px;

    color: #718396;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;

    letter-spacing: 0.01em;
}


/* ---------------------------------------------------------
   VALUE
   --------------------------------------------------------- */

.dyv-application-review__section dd {
    margin: 0;

    color: #102033;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;

    overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   INVESTMENT VALUE EMPHASIS
   --------------------------------------------------------- */

.dyv-application-review__section:last-child dd {
    color: #012A4A;

    font-size: 18px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   REVIEW INTRO
   --------------------------------------------------------- */

.dyv-application-step-panel[data-step="4"] .dyv-form-intro {
    max-width: 680px;

    margin: 0 0 24px;

    color: #6f7d8d;

    font-size: 13px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   REVIEW FOOTER ACTIONS
   --------------------------------------------------------- */

.dyv-form-footer__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Back button */

.dyv-form-footer__actions .dyv-step-back {
    min-width: 150px;

    border-color: #d6e0e8;

    background: #ffffff;

    color: #012A4A;
}


/* Back button hover */

.dyv-form-footer__actions .dyv-step-back:hover {
    border-color: #b9c9d7;

    background: #f5f8fb;

    color: #012A4A;
}


/* Submit button */

.dyv-form-footer__actions button[type="submit"] {
    min-width: 190px;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .dyv-application-review__section {
        padding: 20px;
    }

    .dyv-application-review__section dl {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .dyv-form-footer__actions {
        width: 100%;

        flex-direction: column;
    }

    .dyv-form-footer__actions button {
        width: 100%;
    }

}