/* =========================================================
   BELVARIS REGISTRATION
   ========================================================= */

.bv-register-page {
    background: #f7f9fc;
}


/* =========================================================
   HEADER
   ========================================================= */

.bv-register-header {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 clamp(22px, 5vw, 72px);

    background: #ffffff;

    border-bottom: 1px solid #edf0f4;
}

.bv-register-logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #0f1b2d;

    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.055em;
}

.bv-register-header-right {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #667085;

    font-size: 0.72rem;
}

.bv-register-header-right a {
    color: #1a56db;

    font-weight: 700;
}


/* =========================================================
   MAIN
   ========================================================= */

.bv-register-main {
    min-height: calc(100vh - 76px);

    padding: 50px 20px 70px;
}

.bv-register-container {
    width: min(100%, 960px);

    margin: 0 auto;
}


/* =========================================================
   INTRO
   ========================================================= */

.bv-register-intro {
    margin-bottom: 28px;
}

.bv-register-eyebrow {
    margin-bottom: 9px;

    color: #1a56db;

    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.bv-register-intro h1 {
    margin: 0 0 9px;

    color: #0f1b2d;

    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 750;
    letter-spacing: -0.045em;
}

.bv-register-intro p {
    margin: 0;

    color: #667085;

    font-size: 0.82rem;
    line-height: 1.6;
}


/* =========================================================
   SIMULATION NOTICE
   ========================================================= */

.bv-simulation-notice {
    display: flex;
    gap: 14px;

    margin-bottom: 28px;
    padding: 16px 18px;

    background: #eef4ff;

    border: 1px solid #dbe7ff;

    border-radius: 15px;
}

.bv-notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    color: #1a56db;

    background: #ffffff;

    border-radius: 10px;
}

.bv-notice-icon svg {
    width: 18px;
    height: 18px;
}

.bv-simulation-notice strong {
    display: block;

    margin-bottom: 4px;

    color: #0f1b2d;

    font-size: 0.75rem;
}

.bv-simulation-notice p {
    margin: 0;

    color: #5f6f83;

    font-size: 0.69rem;
    line-height: 1.55;
}


/* =========================================================
   PROGRESS
   ========================================================= */

.bv-register-progress {
    display: flex;
    align-items: center;

    margin-bottom: 22px;

    padding: 0 8px;
}

.bv-progress-step {
    display: flex;
    align-items: center;
    gap: 8px;

    flex-shrink: 0;

    color: #98a2b3;

    font-size: 0.68rem;
    font-weight: 650;
}

.bv-progress-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    color: #98a2b3;

    background: #ffffff;

    border: 1px solid #dfe4eb;

    border-radius: 50%;

    font-size: 0.62rem;
    font-weight: 700;
}

.bv-progress-step.active {
    color: #0f1b2d;
}

.bv-progress-step.active .bv-progress-number {
    color: #ffffff;

    background: #1a56db;

    border-color: #1a56db;

    box-shadow:
        0 5px 14px rgba(26, 86, 219, 0.18);
}

.bv-progress-step.completed .bv-progress-number {
    color: #ffffff;

    background: #00c853;

    border-color: #00c853;
}

.bv-progress-line {
    height: 1px;

    flex: 1;

    min-width: 20px;

    margin: 0 10px;

    background: #e3e7ed;
}


/* =========================================================
   FORM CARD
   ========================================================= */

.bv-registration-form {
    background: #ffffff;

    border: 1px solid #edf0f4;

    border-radius: 24px;

    box-shadow:
        0 18px 55px rgba(15, 27, 45, 0.07);

    overflow: hidden;
}

.bv-register-step {
    display: none;

    padding: clamp(25px, 5vw, 45px);
}

.bv-register-step.active {
    display: block;

    animation:
        bv-step-in 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes bv-step-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.bv-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;

    margin-bottom: 30px;

    padding-bottom: 22px;

    border-bottom: 1px solid #edf0f4;
}

.bv-section-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bv-section-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    color: #1a56db;

    background: #eef4ff;

    border-radius: 10px;

    font-size: 0.65rem;
    font-weight: 800;
}

.bv-section-heading h2 {
    margin: 0;

    color: #0f1b2d;

    font-size: 1.25rem;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.bv-section-heading p {
    max-width: 300px;

    margin: 0;

    color: #8a94a4;

    font-size: 0.68rem;
    line-height: 1.5;

    text-align: right;
}


/* =========================================================
   FORM GRID
   ========================================================= */

.bv-form-grid {
    display: grid;

    gap: 18px;
}

.bv-form-grid.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bv-field {
    min-width: 0;
}

.bv-field.full-width {
    margin-top: 18px;
}

.bv-field label {
    display: block;

    margin-bottom: 7px;

    color: #0f1b2d;

    font-size: 0.7rem;
    font-weight: 700;
}

.bv-field label .optional {
    margin-left: 5px;

    color: #98a2b3;

    font-size: 0.6rem;
    font-weight: 500;
}

.bv-field input,
.bv-field select,
.bv-field textarea {
    width: 100%;

    color: #101828;

    background: #ffffff;

    border: 1px solid #dfe4eb;

    border-radius: 11px;

    outline: none;

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.bv-field input,
.bv-field select {
    height: 50px;

    padding: 0 14px;
}

.bv-field textarea {
    min-height: 88px;

    padding: 13px 14px;

    resize: vertical;
}

.bv-field input::placeholder,
.bv-field textarea::placeholder {
    color: #a4acb8;
}

.bv-field input:focus,
.bv-field select:focus,
.bv-field textarea:focus {
    border-color: #1a56db;

    box-shadow:
        0 0 0 3px rgba(26, 86, 219, 0.08);
}


/* =========================================================
   SELECT
   ========================================================= */

.bv-select-wrap {
    position: relative;
}

.bv-select-wrap select {
    appearance: none;

    padding-right: 42px;

    cursor: pointer;
}

.bv-select-arrow {
    position: absolute;

    right: 14px;
    top: 50%;

    display: flex;

    color: #8995a6;

    pointer-events: none;

    transform: translateY(-50%);
}

.bv-select-arrow svg {
    width: 16px;
    height: 16px;
}


/* =========================================================
   FIELD HINT
   ========================================================= */

.bv-field-hint {
    display: block;

    margin-top: 6px;

    color: #98a2b3;

    font-size: 0.6rem;
}


/* =========================================================
   PASSWORD STRENGTH
   ========================================================= */

.bv-password-strength {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 7px;
}

.bv-strength-track {
    width: 80px;
    height: 4px;

    overflow: hidden;

    background: #e8ebef;

    border-radius: 10px;
}

.bv-strength-track span {
    display: block;

    width: 0;
    height: 100%;

    background: #98a2b3;

    border-radius: inherit;

    transition:
        width 250ms ease,
        background 250ms ease;
}

.bv-password-strength > span:last-child {
    color: #98a2b3;

    font-size: 0.58rem;
}


/* =========================================================
   INFO CARD
   ========================================================= */

.bv-info-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 26px;
    padding: 14px;

    background: #f8fafc;

    border: 1px solid #edf0f4;

    border-radius: 12px;
}

.bv-info-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    color: #1a56db;

    background: #eef4ff;

    border-radius: 9px;
}

.bv-info-card-icon svg {
    width: 16px;
    height: 16px;
}

.bv-info-card strong {
    display: block;

    margin-bottom: 3px;

    color: #0f1b2d;

    font-size: 0.68rem;
}

.bv-info-card p {
    margin: 0;

    color: #7b8797;

    font-size: 0.62rem;
    line-height: 1.5;
}


/* =========================================================
   UPLOAD
   ========================================================= */

.bv-upload-area {
    display: flex;
    align-items: center;
    gap: 25px;

    padding: 25px;

    background: #f9fafc;

    border: 1px dashed #cbd4df;

    border-radius: 17px;
}

.bv-upload-preview {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 110px;
    height: 130px;

    flex: 0 0 110px;

    overflow: hidden;

    color: #9ba6b4;

    background: #ffffff;

    border: 1px solid #e1e6ed;

    border-radius: 14px;
}

.bv-upload-preview svg {
    width: 42px;
    height: 42px;
}

.bv-upload-preview img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.bv-upload-content h3 {
    margin: 0 0 5px;

    color: #0f1b2d;

    font-size: 0.9rem;
}

.bv-upload-content p {
    margin: 0 0 7px;

    color: #7b8797;

    font-size: 0.66rem;
}

.bv-upload-content .bv-upload-warning {
    color: #d97706;

    font-size: 0.62rem;
}

.bv-upload-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 10px;
    padding: 9px 13px;

    color: #ffffff;

    background: #0f1b2d;

    border-radius: 9px;

    font-size: 0.64rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 160ms ease,
        background 160ms ease;
}

.bv-upload-button:hover {
    background: #172b4a;

    transform: translateY(-1px);
}

.bv-upload-button svg {
    width: 14px;
    height: 14px;
}

.bv-file-name {
    display: block;

    margin-top: 7px;

    color: #98a2b3;

    font-size: 0.58rem;
}


/* =========================================================
   FINAL CHECK
   ========================================================= */

.bv-final-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-top: 25px;

    color: #667085;

    font-size: 0.66rem;
    line-height: 1.5;

    cursor: pointer;
}

.bv-final-check input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.bv-custom-check {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 19px;
    height: 19px;

    flex: 0 0 19px;

    background: #ffffff;

    border: 1px solid #cbd3dd;

    border-radius: 6px;
}

.bv-custom-check svg {
    display: none;

    width: 13px;
    height: 13px;
}

.bv-final-check input:checked + .bv-custom-check {
    color: #ffffff;

    background: #1a56db;

    border-color: #1a56db;
}

.bv-final-check input:checked + .bv-custom-check svg {
    display: block;
}


/* =========================================================
   ACCOUNT PREVIEW
   ========================================================= */

.bv-account-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 25px;

    background: #f8fafc;

    border: 1px solid #edf0f4;

    border-radius: 14px;

    overflow: hidden;
}

.bv-account-preview > div {
    padding: 16px;

    border-right: 1px solid #edf0f4;
}

.bv-account-preview > div:last-child {
    border-right: 0;
}

.bv-account-preview span {
    display: block;

    margin-bottom: 5px;

    color: #8a94a4;

    font-size: 0.58rem;
}

.bv-account-preview strong {
    color: #0f1b2d;

    font-size: 0.76rem;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.bv-step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 34px;
    padding-top: 23px;

    border-top: 1px solid #edf0f4;
}

.bv-next-button,
.bv-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-width: 150px;
    height: 49px;

    padding: 0 18px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #164dc8
        );

    border-radius: 11px;

    box-shadow:
        0 9px 20px rgba(26, 86, 219, 0.18);

    font-size: 0.69rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.bv-next-button:hover,
.bv-submit-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 12px 25px rgba(26, 86, 219, 0.24);
}

.bv-next-button svg,
.bv-submit-button svg {
    width: 16px;
    height: 16px;
}

.bv-back-button {
    height: 49px;

    padding: 0 18px;

    color: #667085;

    background: #f5f7fa;

    border: 1px solid #e4e7ec;

    border-radius: 11px;

    font-size: 0.69rem;
    font-weight: 700;

    cursor: pointer;
}

.bv-back-button:hover {
    color: #0f1b2d;

    background: #eef1f5;
}


/* =========================================================
   FOOTER
   ========================================================= */

.bv-register-footer {
    margin-top: 25px;

    color: #98a2b3;

    text-align: center;

    font-size: 0.61rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .bv-register-header {
        height: 68px;

        padding: 0 16px;
    }

    .bv-register-header-right span {
        display: none;
    }

    .bv-register-main {
        padding: 30px 12px 50px;
    }

    .bv-register-intro h1 {
        font-size: 1.8rem;
    }

    .bv-register-progress {
        padding: 0;
    }

    .bv-progress-label {
        display: none;
    }

    .bv-progress-step {
        gap: 0;
    }

    .bv-progress-line {
        margin: 0 7px;
    }

    .bv-registration-form {
        border-radius: 18px;
    }

    .bv-register-step {
        padding: 24px 18px;
    }

    .bv-section-heading {
        display: block;
    }

    .bv-section-heading p {
        margin-top: 10px;

        text-align: left;
    }

    .bv-form-grid.two-columns {
        grid-template-columns: 1fr;
    }

    .bv-field.full-width {
        margin-top: 0;
    }

    .bv-upload-area {
        align-items: flex-start;
        flex-direction: column;
    }

    .bv-account-preview {
        grid-template-columns: 1fr;
    }

    .bv-account-preview > div {
        border-right: 0;
        border-bottom: 1px solid #edf0f4;
    }

    .bv-account-preview > div:last-child {
        border-bottom: 0;
    }

    .bv-submit-button,
    .bv-next-button {
        min-width: 0;

        flex: 1;
    }
}


@media (max-width: 420px) {

    .bv-simulation-notice {
        padding: 13px;
    }

    .bv-notice-icon {
        display: none;
    }

    .bv-step-actions {
        gap: 9px;
    }

    .bv-back-button {
        padding: 0 14px;
    }
}
.bv-field input.bv-invalid,
.bv-field select.bv-invalid,
.bv-field textarea.bv-invalid {
    border-color: #e5484d;

    box-shadow:
        0 0 0 3px rgba(229, 72, 77, 0.08);
}