﻿.text-success {
    color: #057A55 !important;
}

.text-danger {
    color: #B42318 !important; /* red */
}

.alertIcon {
    margin-right: 6px;
    vertical-align: middle;
}
.onboardingAlertText h6 {
    margin: 0;
    display: flex;
    align-items: center;
}
/* ---------------------------------------------------
   Onboarding General
--------------------------------------------------- */

.onboardingTitle {
    font-weight: 700;
}

.onboardingDescription {
    margin-top: 10px;
    margin-bottom: 25px;
    color: #6b7280;
}


/* ---------------------------------------------------
   Dashboard Layout
--------------------------------------------------- */

.onboardingDashboard {
    padding: 40px;
}

.onboardingSidebarCard {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e5e7eb;
    height: 100%;
}

.onboardingContentCard {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    border: 1px solid #e5e7eb;
    min-height: 650px;
}


/* ---------------------------------------------------
   Cards
--------------------------------------------------- */

.onboardingCard {
    border-radius: 14px;
    transition: all .25s cubic-bezier(.4,0,.2,1);
}

    .onboardingCard.primary {
        background: linear-gradient(90deg,#2e77f2,#59c7fa);
        color: #fff;
        box-shadow: none !important;
        border-radius: 100px;
    }

        .onboardingCard.primary h6,
        .onboardingCard.primary p,
        .onboardingCard:hover h6,
        .onboardingCard:hover p {
            color: #fff !important;
        }

    .onboardingCard.secondary {
        background: #ffffff;
        border: 1px solid #e6ecf5;
        box-shadow: none !important;
        border-radius: 100px;
    }

    .onboardingCard:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
        background: linear-gradient(90deg,#2e77f2,#59c7fa);
        color: #fff !important;
    }


/* ---------------------------------------------------
   Divider
--------------------------------------------------- */

.dividerSandbox {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0;
    color: #8a94a6;
    font-size: 13px;
}

    .dividerSandbox::before,
    .dividerSandbox::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #d7dde5;
    }

    .dividerSandbox span {
        padding: 0 12px;
    }


/* ---------------------------------------------------
   Progress Card
--------------------------------------------------- */

.onboardingProgressCard {
    margin-top: 20px;
    padding: 25px;
    border-radius: 14px;
}

.progressText {
    font-size: 12px;
    color: #6b7280;
}


/* ---------------------------------------------------
   NDA Document Viewer
--------------------------------------------------- */

.ndaDocument {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;
    line-height: 1.6;
}

    .ndaDocument h5 {
        margin-top: 20px;
        font-weight: 600;
    }


/* ---------------------------------------------------
   PAGE LAYOUT
--------------------------------------------------- */

.onboardingDashboard {
    padding: 40px;
}

.sidebarCard {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e5e7eb;
}

.contentCard {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    border: 1px solid #e5e7eb;
    min-height: 100vh;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}


/* ---------------------------------------------------
   FINTECH HORIZONTAL STEPPER
--------------------------------------------------- */

.topStepper {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid #edf2f7;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.horizontalStepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* STEP BLOCK */

.stepWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

/* STEP CIRCLE */

.stepCircle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #f9fafb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    transition: all .3s ease;
}

/* STEP LABEL */

.stepLabel {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

.stepWrapper.completed .stepLabel {
    color: #057a55;
}

/* CONNECTOR LINE */

.stepLine {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    margin: 0 10px;
    border-radius: 10px;
}


/* ACTIVE STEP */

.stepWrapper.active .stepCircle {
    background: radial-gradient(circle, #2e77f2, #59c7fa);
    border: none;
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(46,119,242,0.15), 0 10px 20px rgba(0,0,0,0.08);
}

.stepWrapper.active .stepLabel {
    color: #111827;
}


/* COMPLETED STEP */

.stepWrapper.completed .stepCircle {
    background: #E6F9F0 !important;
    color: #057A55 !important;
    border: 1px solid #057A55 !important;
}


/* PROGRESS LINE */

.stepWrapper.completed + .stepLine {
    background: linear-gradient(90deg,#2e77f2,#59c7fa);
}


/* HOVER */

.stepWrapper:hover .stepCircle {
    transform: scale(1.07);
}


/* ---------------------------------------------------
   Onboarding Alert Banner
--------------------------------------------------- */

.onboardingAlert {
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

/*  Pending (Red) */
.errorAlert {
    background: #FDECEA !important;
    color: #B42318 !important;
    border: 1px solid #F04438 !important;
}

.successAlert {
    background: #E6F9F0 !important;
    color: #057A55 !important;
    border: 1px solid #057A55 !important;
}

.onboardingAlertContent {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.onboardingAlertText {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #1f2937;
}

.alertIcon {
    font-size: 20px !important;
}

.startOnboardingBtn {
    border-radius: 8px;
}


/* ---------------------------------------------------
   Divider
--------------------------------------------------- */

.stepDivider {
    margin: 30px 0;
    border-top: 1px solid #e5e7eb;
}


/* -------------------------------------------
   Account Created Success Screen
------------------------------------------- */

.accountCreatedWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

.accountCreatedContent {
    text-align: center;
    max-width: 520px;
}

.accountCreatedImage {
    width: 300px;
    margin-bottom: 25px;
}

.accountCreatedTitle {
    margin-bottom: 10px;
    font-weight: 700;
}

.accountCreatedText {
    color: #6b7280;
    margin-bottom: 25px;
}

.accountCreatedBtn {
    border-radius: 10px;
    padding: 10px 24px;
}


/* -------------------------------------------
  Sign NDA Screen
------------------------------------------- */

.signatureSection {
    margin-top: 30px;
}

.signatureCanvas {
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    background: #fafafa;
}

.backBtn {
    background: #fff !important;
    border: none;
    padding: 14px 30px !important;
    color: #46a3f6 !important;
    font-size: 16px !important;
    border-radius: 10px !important;
    transition: background 0.3s ease;
    border: 1px solid #46a3f6 !important;
}


/********************** KYC Upload css ***************/

.validation-text {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
    font-weight: 500;
}

.kycCard {
    padding: 35px;
    border-radius: 16px;
}

.kycSubText {
    color: #6b7280;
}

.kycSection {
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
}

.selectInput {
    margin-top: 4px;
}

.sectionTitle {
    margin-bottom: 10px;
}


/* Upload container */

.uploadBox {
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    padding: 18px;
    background: #fafafa;
    text-align: center;
    transition: all .2s ease;
}

    /* Hover effect */

    .uploadBox:hover {
        border-color: #2e77f2;
        background: #f5f9ff;
    }

/* Upload icon */

.uploadIcon {
    font-size: 26px;
    color: #2e77f2;
    margin-bottom: 8px;
}

.fileName {
    margin-top: 6px;
    font-size: 12px;
    color: #374151;
    font-weight: 500;
}
.uploadFooter {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

/* Hide default upload border */

.uploadInput .rz-fileupload-content {
    border: none !important;
    background: transparent !important;
}

.datepickerSelect input {
    height: 56px !important;
    margin-top: 4px;
    border-radius: 12px !important;
}
.validation-text {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 4px;
    font-family: var(--HeadingFont);
}

