/* =========================================================
   RAPIDXPERTZ VENDOR REGISTRATION
   ========================================================= */

.vendor-registration-page {
    background: #f7fafd;
    min-height: 700px;
    padding-bottom: 100px;
}

.vendor-registration-section {
    position: relative;
    overflow: hidden;
    padding: 70px 0 0;
}


/* =========================================================
   PAGE HEADING
   ========================================================= */

.registration-heading {
    margin-bottom: 50px;
}

.registration-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 15px;
    padding: 7px 13px;

    border-radius: 50px;

    background: #dce8ff;
    color: #0b2f6b;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.registration-heading h1 {
    margin: 0 0 15px;

    color: #0b2f6b;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(36px, 4vw, 54px);
    font-weight: 800;

    line-height: 1.08;
    letter-spacing: -.045em;
}

.registration-heading p {
    max-width: 760px;

    margin: 0;

    color: #66778b;

    font-family: "Onest", sans-serif;

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   LEFT STEPPER
   ========================================================= */

.registration-stepper {
    position: sticky;
    top: 110px;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-btn {
    width: 100%;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 15px;

    border: 1px solid transparent;
    border-radius: 14px;

    background: transparent;

    color: #66778b;

    text-align: left;

    transition: .25s ease;
}

.step-btn:hover {
    background: #eef4fb;
    color: #0b2f6b;
}

.step-btn.active {
    background: #ffffff;
    color: #0b2f6b;

    border-color: #e2e8ef;

    box-shadow:
        0 10px 30px rgba(11,47,107,.06);
}

.step-number {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e0e5eb;
    color: #66778b;

    font-size: 15px;
    font-weight: 700;

    transition: .25s ease;
}

.step-btn.active .step-number {
    background: #0b2f6b;
    color: #ffffff;

    box-shadow:
        0 8px 18px rgba(11,47,107,.20);
}

.step-btn.completed .step-number {
    background: #d9e2ff;
    color: #0b2f6b;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.step-content small {
    color: inherit;
    opacity: .7;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .16em;
}

.step-content strong {
    color: inherit;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   FORM
   ========================================================= */

.registration-form {
    position: relative;
    z-index: 2;

    min-height: 620px;

    display: flex;
    flex-direction: column;

    padding: 48px;

    background: #ffffff;

    border: 1px solid #e7ecf1;
    border-radius: 24px;

    box-shadow:
        0 20px 55px rgba(11,47,107,.07);
}

.form-step {
    animation: registrationFade .3s ease;
}

@keyframes registrationFade {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.form-step h2 {
    margin: 0 0 35px;

    color: #0b2f6b;

    font-family: "Space Grotesk", sans-serif;

    font-size: 30px;
    font-weight: 700;

    letter-spacing: -.025em;
}


/* =========================================================
   LABELS
   ========================================================= */

.registration-form label {
    display: block;

    margin-bottom: 9px;

    color: #1a1f36;

    font-family: "Onest", sans-serif;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   INPUTS
   ========================================================= */

.registration-form .form-control,
.registration-form .form-select {

    min-height: 50px;

    padding: 11px 15px;

    border: 1px solid #e0e6ec;
    border-radius: 11px;

    background: #f4f7fa;

    color: #1a1f36;

    font-family: "Onest", sans-serif;

    font-size: 14px;

    box-shadow: none;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.registration-form textarea.form-control {
    min-height: auto;
    resize: vertical;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {

    border-color: #087cff;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(8,124,255,.08);
}

.registration-form .form-control::placeholder {
    color: #9aa7b5;
}

.registration-form select[multiple] {
    min-height: 120px;
}


/* =========================================================
   RADIO BUTTONS
   ========================================================= */

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-option {

    display: inline-flex !important;

    align-items: center;

    gap: 8px;

    margin: 0 !important;

    padding: 10px 14px;

    border: 1px solid #e1e7ed;

    border-radius: 9px;

    background: #f7f9fb;

    color: #52667d !important;

    font-size: 13px !important;
    font-weight: 500 !important;

    cursor: pointer;

    transition: .2s ease;
}

.radio-option:hover {

    border-color: #087cff;

    color: #087cff !important;

    background: #ffffff;
}

.radio-option input {

    width: 16px;
    height: 16px;

    margin: 0;

    accent-color: #0b2f6b;
}


/* =========================================================
   DECLARATION
   ========================================================= */

.declaration-list {

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.declaration-item {

    display: flex !important;

    align-items: flex-start;

    gap: 13px;

    margin: 0 !important;

    padding: 17px;

    border: 1px solid #e3e9ef;

    border-radius: 12px;

    background: #f6f8fa;

    color: #52667d !important;

    font-size: 14px !important;

    line-height: 1.6;

    font-weight: 500 !important;

    cursor: pointer;
}

.declaration-item input {

    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    margin-top: 2px;

    accent-color: #0b2f6b;
}


/* =========================================================
   FORM NAVIGATION
   ========================================================= */

.form-navigation {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: auto;

    padding-top: 45px;
}

.btn-registration-primary,
.btn-registration-secondary {

    min-height: 48px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 11px 24px;

    border-radius: 10px;

    font-family: "Onest", sans-serif;

    font-size: 13px;
    font-weight: 700;

    transition: .25s ease;
}

.btn-registration-primary {

    border: 1px solid #0b2f6b;

    background: #0b2f6b;

    color: #ffffff;
}

.btn-registration-primary:hover {

    border-color: #087cff;

    background: #087cff;

    color: #ffffff;

    transform: translateY(-1px);
}

.btn-registration-secondary {

    border: 1px solid #dce3ea;

    background: #f1f4f7;

    color: #52667d;
}

.btn-registration-secondary:hover {

    background: #e6ebf0;

    color: #0b2f6b;
}


/* =========================================================
   SUCCESS MODAL
   ========================================================= */

.registration-success-modal {

    position: fixed;

    inset: 0;

    z-index: 2000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(8,43,99,.55);

    backdrop-filter: blur(8px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition: .3s ease;
}

.registration-success-modal.show {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}

.success-card {

    width: 100%;
    max-width: 500px;

    padding: 45px;

    border-radius: 24px;

    background: #ffffff;

    text-align: center;

    box-shadow:
        0 30px 80px rgba(0,0,0,.18);
}

.success-icon {

    width: 78px;
    height: 78px;

    margin: 0 auto 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #d9e2ff;

    color: #0b2f6b;

    font-size: 36px;
}

.success-card h3 {

    margin-bottom: 12px;

    color: #0b2f6b;

    font-family: "Space Grotesk", sans-serif;

    font-size: 30px;
    font-weight: 800;
}

.success-card p {

    margin-bottom: 28px;

    color: #66778b;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .vendor-registration-section {
        padding-top: 50px;
    }

    .registration-stepper {

        position: static;

        margin-bottom: 15px;
    }

    .registration-form {
        padding: 35px 30px;
    }

}


@media (max-width: 700px) {

    .vendor-registration-section {
        padding-top: 40px;
    }

    .registration-heading h1 {
        font-size: 36px;
    }

    .registration-heading p {
        font-size: 15px;
    }

    .registration-form {

        min-height: 0;

        padding: 28px 20px;

        border-radius: 18px;
    }

    .form-step h2 {
        font-size: 25px;
    }

    .radio-group {
        display: grid;
        grid-template-columns: 1fr;
    }

    .radio-option {
        width: 100%;
    }

    .form-navigation {
        padding-top: 30px;
    }

}


@media (max-width: 450px) {

    .registration-form {
        padding: 22px 16px;
    }

    .registration-heading h1 {
        font-size: 32px;
    }

    .btn-registration-primary,
    .btn-registration-secondary {
        padding-left: 15px;
        padding-right: 15px;
    }

}

/* =========================================================
   VENDOR REGISTRATION - STEPPER FIX
   ========================================================= */

.registration-stepper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}


/* EACH STEP */

.registration-stepper .step-btn {
    width: 100%;
    min-height: 88px;

    display: flex;
    align-items: center;

    gap: 22px;

    padding: 18px 24px;

    border: 1px solid transparent;
    border-radius: 16px;

    background: transparent;

    text-align: left;

    cursor: pointer;

    transition: all 0.25s ease;
}


/* NUMBER */

.registration-stepper .step-number {
    width: 44px;
    height: 44px;

    min-width: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e5ebf2;

    color: #607086;

    font-size: 16px;
    font-weight: 600;

    line-height: 1;

    transition: all 0.25s ease;
}


/* TEXT */

.registration-stepper .step-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
}


/* STEP LABEL */

.registration-stepper .step-content small {
    display: block;

    margin-bottom: 4px;

    font-size: 10px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #7d8da3;
}


/* STEP TITLE */

.registration-stepper .step-content strong {
    display: block;

    font-size: 15px;

    line-height: 1.3;

    font-weight: 600;

    color: #0b2f6b;
}


/* ACTIVE STEP */

.registration-stepper .step-btn.active {

    background: #ffffff;

    border-color: #dce5ef;

    box-shadow: 0 8px 25px rgba(11, 47, 107, 0.07);

}


/* ACTIVE NUMBER */

.registration-stepper .step-btn.active .step-number {

    background: #0b2f6b;

    color: #ffffff;

    box-shadow: 0 7px 18px rgba(11, 47, 107, 0.18);

}


/* COMPLETED NUMBER */

.registration-stepper .step-number.completed {

    background: #dce8f8;

    color: #0b2f6b;

}


/* HOVER */

.registration-stepper .step-btn:hover {

    background: #ffffff;

    border-color: #e2e8f0;

}


.registration-stepper .step-btn:hover .step-number {

    background: #0b2f6b;

    color: #ffffff;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .registration-stepper {
        margin-bottom: 20px;
    }

    .registration-stepper .step-btn {
        min-height: 72px;
        padding: 14px 18px;
        gap: 16px;
    }

    .registration-stepper .step-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

}
/* =========================================================
   FIX LEFT STEPPER - PERFECT ALIGNMENT
   ========================================================= */

.registration-stepper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* EVERY STEP SAME STRUCTURE */

.registration-stepper .step-btn {
    width: 100% !important;
    min-height: 88px;

    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;

    align-items: center !important;

    column-gap: 18px;

    padding: 16px 20px !important;

    margin: 0 !important;

    box-sizing: border-box;

    text-align: left;

    border: 1px solid transparent;
    border-radius: 16px;

    background: transparent;

    transition: all 0.25s ease;
}


/* =========================================================
   NUMBER CIRCLE
   ========================================================= */

.registration-stepper .step-number {
    width: 48px !important;
    height: 48px !important;

    min-width: 48px !important;
    min-height: 48px !important;

    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    justify-self: center;

    border-radius: 50%;

    box-sizing: border-box;

    font-size: 16px;
    font-weight: 600;

    line-height: 1;

    background: #e3ebf6;
    color: #123d78;

    flex-shrink: 0;
}


/* =========================================================
   TEXT AREA
   ========================================================= */

.registration-stepper .step-content {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column;

    align-items: flex-start !important;
    justify-content: center;

    text-align: left !important;
}


/* STEP 01 / STEP 02 */

.registration-stepper .step-content small {
    display: block;

    margin: 0 0 5px 0 !important;
    padding: 0 !important;

    font-size: 10px;
    line-height: 1.2;

    font-weight: 700;
    letter-spacing: 1.5px;

    color: #8b9bb0;
}


/* COMPANY DETAILS / SERVICE REQUIREMENT */

.registration-stepper .step-content strong {
    display: block;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 16px;
    line-height: 1.3;

    font-weight: 600;

    color: #0b3673;
}


/* =========================================================
   ACTIVE STEP
   ========================================================= */

.registration-stepper .step-btn.active {
    background: #ffffff;

    border-color: #dfe7f0;

    box-shadow: 0 8px 25px rgba(11, 47, 107, 0.07);
}


/* ACTIVE CIRCLE */

.registration-stepper .step-btn.active .step-number {
    background: #0b3b7d;
    color: #ffffff;

    box-shadow: 0 6px 16px rgba(11, 59, 125, 0.20);
}


/* =========================================================
   COMPLETED STEP
   ========================================================= */

.registration-stepper .step-number.completed {
    background: #e1ebf8;
    color: #0b3b7d;
}


/* =========================================================
   HOVER
   ========================================================= */

.registration-stepper .step-btn:hover {
    background: #ffffff;
    border-color: #e1e8f0;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .registration-stepper .step-btn {
        grid-template-columns: 56px minmax(0, 1fr) !important;
        min-height: 76px;

        padding: 14px 16px !important;

        column-gap: 14px;
    }

    .registration-stepper .step-number {
        width: 42px !important;
        height: 42px !important;

        min-width: 42px !important;
        min-height: 42px !important;
    }

}


/* vendor registration form css start from here above is client registration form    */

