/* Register Specific Overrides */
.register-wrap .left-pane {
    padding: 2rem 2.75rem;
}

.register-wrap .right-pane {
    padding: 2rem 2.5rem;
}

.register-wrap {
    width: min(1120px, calc(100% - 2rem));
}

.register-wrap .right-pane {
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    justify-content: flex-start !important;
    padding-top: 2rem;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.register-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin: 0 0 1.4rem;
}

.step-pill {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: width .2s ease, background .2s ease, box-shadow .2s ease;
}

.step-pill.is-active {
    width: 24px;
    background: var(--cbic-blue);
    box-shadow: 0 4px 12px rgba(12, 77, 162, .28);
}

.step-pill.is-done {
    background: var(--cbic-blue);
    opacity: .55;
}

.form-step {
    display: none;
}

.form-step.is-active {
    display: block;
}

.wizard-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
    align-items: center;
    margin-top: .75rem;
}

.wizard-actions .btn-submit {
    margin-top: 0;
}

.btn-step-secondary {
    border: 1px solid #dbe6f5;
    background: #fff;
    color: #475569;
    border-radius: 999px;
    min-height: 48px;
    font-size: .9rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    transition: border-color .2s, color .2s, background .2s;
}

.btn-step-secondary:hover {
    border-color: var(--cbic-blue);
    color: var(--cbic-blue);
    background: #f8fbff;
}

.section-mini-title {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: .25rem 0 1rem;
    color: var(--cbic-blue);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.document-check-status {
    min-height: 18px;
    margin: .35rem 0 .65rem;
    font-size: .78rem;
    font-weight: 700;
    color: #64748b;
}

.document-check-status.is-loading {
    color: #0c4da2;
}

.document-check-status.is-ok {
    color: #15803d;
}

.document-check-status.is-error {
    color: #b91c1c;
}

@media (max-width: 768px) {
    .wizard-actions {
        grid-template-columns: 1fr;
    }
    .register-wrap .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .two-cols {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
.account-type-toggle {
    display: flex;
    background: #f8f9fa;
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.account-type-toggle input[type="radio"] {
    display: none;
}

.account-type-toggle .type-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    color: #6c757d;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 0 !important;
}

.account-type-toggle .type-btn span {
    display: block;
    margin-top: .15rem;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .62;
}

.account-type-toggle input[type="radio"]:checked + .type-btn {
    background: white;
    color: var(--cbic-blue);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.pj-context-card {
    display: none;
    align-items: flex-start;
    gap: .8rem;
    padding: .9rem 1rem;
    margin: -.75rem 0 1.2rem;
    border: 1px solid rgba(12, 77, 162, .18);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(12, 77, 162, .07), rgba(255, 63, 79, .05));
    color: #334155;
}

.is-pj .pj-context-card {
    display: flex;
}

.pj-context-card i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--cbic-blue), var(--cbic-red));
}

.pj-context-card strong,
.pj-context-card span {
    display: block;
}

.pj-context-card strong {
    color: var(--cbic-blue);
    font-size: .84rem;
    font-weight: 900;
}

.pj-context-card span {
    margin-top: .2rem;
    color: #64748b;
    font-size: .76rem;
    font-weight: 650;
    line-height: 1.45;
}

#pjFields {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f7faff;
    border-radius: 12px;
    border: 1px solid #dbe6f5;
    box-shadow: inset 0 2px 4px rgba(12, 77, 162, 0.03);
}

.form-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.form-section.no-border {
    border-bottom: none;
    padding-top: 0;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cbic-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    font-size: 1.2rem;
    opacity: 0.8;
}

@media (min-width: 981px) {
    .register-wrap {
        width: min(985px, calc(100vw - 2rem));
    }

    .register-wrap .left-pane,
    .register-wrap .right-pane {
        padding: clamp(1.55rem, 2.7vw, 2.55rem);
    }

    .register-wrap .right-pane {
        max-height: calc(100vh - 2rem);
    }

    .register-identity {
        margin-top: 1.45rem;
    }

    .register-steps {
        margin-bottom: 1rem;
    }

    .form-section {
        padding: 1rem 0;
        margin-bottom: .65rem;
    }

    .section-title {
        margin-bottom: 1rem;
        font-size: .96rem;
    }

    .account-type-toggle {
        margin-bottom: 1.25rem;
    }

    .account-type-toggle .type-btn {
        padding: .65rem;
        font-size: .78rem;
    }

    .pj-context-card {
        padding: .75rem .85rem;
    }

    .wizard-actions {
        gap: .7rem;
        margin-top: .55rem;
    }

    .btn-step-secondary {
        min-height: 44px;
        font-size: .78rem;
        border-radius: 10px;
    }
}
