/* =========================================================
   VISION CONSTRUCTORS
   CONTRIBUTOR WIZARD - COMPLETE FINAL CSS
   Version: 3.0
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.vcpw-page {
    padding: 28px 0 50px;
    background: #f5f8fa;
    overflow-x: hidden;
}

.vcpw-page .container {
    max-width: 1240px;
}


/* =========================================================
   MAIN SHELL
   ========================================================= */

.vcpw-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);

    background: #ffffff;

    border: 1px solid #dce7ec;
    border-radius: 22px;

    overflow: hidden;

    box-shadow: 0 18px 48px rgba(20, 57, 75, 0.08);
}


/* =========================================================
   LEFT SIDEBAR
   ========================================================= */

.vcpw-aside {
    min-width: 0;

    padding: 34px 30px;

    background:
        linear-gradient(
            155deg,
            #123f53 0%,
            #0f4d64 54%,
            #11637b 100%
        );

    color: #ffffff;
}

.vcpw-brand {
    display: inline-block;

    margin-bottom: 44px;

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none !important;
}

.vcpw-kicker {
    display: block;

    margin-bottom: 10px;

    color: #8fdbeb;

    font-size: 10px;
    font-weight: 800;

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

.vcpw-aside h1 {
    max-width: 250px;

    margin: 0 0 14px;

    color: #ffffff !important;

    font-size: 29px;
    line-height: 1.18;
    font-weight: 800;
}

.vcpw-aside-intro {
    max-width: 255px;

    margin: 0;

    color: #d6e7ed !important;

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

.vcpw-benefits {
    margin-top: 28px;

    display: grid;
    gap: 12px;
}

.vcpw-benefit-item {
    display: flex;
    align-items: center;
    gap: 11px;

    color: #e7f4f7;
}

.vcpw-benefit-item b {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

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

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.13);

    color: #a4e6f2;

    font-size: 9px;
    font-weight: 900;
}

.vcpw-benefit-item span {
    color: #dfeef3 !important;

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


/* =========================================================
   MAIN WIZARD AREA
   ========================================================= */

.vcpw-main {
    min-width: 0;

    padding: 30px 34px 24px;

    background: #ffffff;
}


/* =========================================================
   TOP HEADER
   ========================================================= */

.vcpw-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.vcpw-step-label {
    display: block;

    color: #84959d;

    font-size: 9px;
    font-weight: 800;

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

.vcpw-top h2 {
    margin: 5px 0 0;

    color: #183b4b;

    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.vcpw-step-count {
    flex: 0 0 auto;

    color: #a0adb3;

    font-size: 12px;
}

.vcpw-step-count strong {
    color: #006c90;

    font-size: 20px;
    font-weight: 800;
}


/* =========================================================
   PROGRESS BAR
   ========================================================= */

.vcpw-progress {
    position: relative;

    width: 100%;
    height: 5px;

    margin: 16px 0 26px;

    overflow: hidden;

    border-radius: 999px;

    background: #e9f0f3;
}

.vcpw-progress span {
    display: block;

    width: 20%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #006b90,
            #1493ad
        );

    transition: width 0.25s ease;
}


/* =========================================================
   STEPS
   ========================================================= */

.vcpw-step {
    display: none;

    min-width: 0;
}

.vcpw-step.active {
    display: block;
}

.vcpw-section-head {
    margin-bottom: 20px;
}

.vcpw-section-head > span {
    display: block;

    margin-bottom: 5px;

    color: #007292;

    font-size: 9px;
    font-weight: 900;

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

.vcpw-section-head h3 {
    margin: 0 0 6px;

    color: #1d4050;

    font-size: 19px;
    line-height: 1.3;
    font-weight: 800;
}

.vcpw-section-head p {
    margin: 0;

    color: #748890;

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


/* =========================================================
   STEP 1 - PROFILE TYPE
   ========================================================= */

.vcpw-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.vcpw-type-card {
    position: relative;

    min-width: 0;

    padding: 18px;

    border: 1px solid #dbe6eb;
    border-radius: 15px;

    background: #ffffff;

    cursor: pointer;

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

.vcpw-type-card:hover {
    transform: translateY(-1px);

    border-color: #9cc8d7;

    box-shadow: 0 8px 22px rgba(22, 70, 91, 0.07);
}

.vcpw-type-card.selected {
    border-color: #087a9d;

    background: #f7fcfd;

    box-shadow: 0 8px 22px rgba(10, 108, 144, 0.08);
}

.vcpw-type-card input {
    position: absolute;
    top: 15px;
    right: 15px;
}

.vcpw-type-content {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    padding-right: 25px;
}

.vcpw-type-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

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

    border-radius: 11px;

    background: #edf6f8;

    color: #087697;

    font-size: 17px;
}

.vcpw-type-card strong {
    display: block;

    margin-top: 1px;

    color: #183b4b;

    font-size: 14px;
    font-weight: 800;
}

.vcpw-type-card span {
    display: block;

    margin-top: 5px;

    color: #748990;

    font-size: 10px;
    line-height: 1.55;
}


/* =========================================================
   FORMS
   ========================================================= */

.vcpw-single-column {
    max-width: 620px;
}

.vcpw-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.vcpw-full {
    grid-column: 1 / -1;
}

.vcpw-field {
    min-width: 0;
}

.vcpw-field label {
    display: block;

    margin-bottom: 6px;

    color: #395563;

    font-size: 10px;
    font-weight: 800;
}

.vcpw-field input,
.vcpw-field textarea {
    display: block;

    width: 100%;
    max-width: 100%;

    box-sizing: border-box;

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

    background: #ffffff;

    padding: 11px 13px;

    color: #203d4a;

    font-family: inherit;
    font-size: 12px;

    outline: none;

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

.vcpw-field input {
    min-height: 42px;
}

.vcpw-field textarea {
    min-height: 128px;

    resize: vertical;

    line-height: 1.6;
}

.vcpw-field input:focus,
.vcpw-field textarea:focus {
    border-color: #08799b;

    box-shadow: 0 0 0 3px rgba(8, 121, 155, 0.08);
}

.vcpw-field small {
    display: block;

    margin-top: 5px;

    color: #8d9da4;

    font-size: 9px;
}


/* =========================================================
   EMAIL CHECK
   ========================================================= */

.vcpw-email-state {
    margin-top: 10px;

    padding: 10px 12px;

    border-radius: 9px;

    font-size: 10px;
}

.vcpw-email-state.loading {
    background: #f2f6f7;
    color: #687d86;
}

.vcpw-email-state.success {
    background: #edf9f4;
    color: #18725f;
}

.vcpw-email-state.error {
    background: #fff2f2;
    color: #9c3e3e;
}

.vcpw-existing {
    margin-top: 14px;

    padding: 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    border: 1px solid #efcccc;
    border-radius: 12px;

    background: #fff7f7;
}

.vcpw-existing strong {
    color: #8d3636;

    font-size: 11px;
}

.vcpw-existing p {
    margin: 4px 0 0;

    color: #876565;

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

.vcpw-login-btn,
.vcpw-login-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 0 14px;

    border-radius: 8px;

    background: #183f51;

    color: #ffffff !important;

    font-size: 10px;
    font-weight: 800;

    text-decoration: none !important;

    white-space: nowrap;
}


/* =========================================================
   IMAGE UPLOAD
   ========================================================= */

.vcpw-upload {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: center;
    gap: 16px;

    padding: 14px;

    border: 1px dashed #cbdbe2;
    border-radius: 12px;

    background: #fafcfd;
}

.vcpw-upload-control {
    min-width: 0;
}

.vcpw-preview {
    min-height: 84px;

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

    overflow: hidden;

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

    background: #ffffff;

    color: #8b9da5;

    font-size: 9px;
}

.vcpw-preview img {
    display: block;

    width: 100%;
    height: 82px;

    object-fit: contain;

    padding: 5px;
}


/* =========================================================
   REVIEW
   ========================================================= */

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

    overflow: hidden;

    border: 1px solid #dfe8ec;
    border-radius: 13px;

    background: #ffffff;
}

.vcpw-review > div {
    min-width: 0;

    padding: 14px;

    border-bottom: 1px solid #edf2f4;
}

.vcpw-review > div:nth-child(odd) {
    border-right: 1px solid #edf2f4;
}

.vcpw-review .full {
    grid-column: 1 / -1;

    border-right: 0 !important;
}

.vcpw-review span {
    display: block;

    color: #8b9ba2;

    font-size: 8px;
    font-weight: 800;

    text-transform: uppercase;
}

.vcpw-review strong {
    display: block;

    margin-top: 4px;

    color: #284653;

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

    word-break: break-word;
}

.vcpw-note {
    margin-top: 16px;

    padding: 14px;

    border-radius: 11px;

    background: #f1f7f9;
}

.vcpw-note strong {
    color: #214958;

    font-size: 10px;
}

.vcpw-note p {
    margin: 5px 0 0;

    color: #677f89;

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


/* =========================================================
   BUTTON AREA
   ========================================================= */

.vcpw-actions {
    margin-top: 26px;
    padding-top: 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    border-top: 1px solid #e9eef1;
}

.vcpw-actions-right {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 10px;
}

.vcpw-btn {
    min-height: 40px;

    padding: 0 18px;

    border: 1px solid transparent;
    border-radius: 9px;

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

    font-family: inherit;
    font-size: 10px;
    font-weight: 800;

    text-decoration: none !important;

    cursor: pointer;

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

.vcpw-btn:hover {
    transform: translateY(-1px);
}

.vcpw-btn.primary {
    background: #006b8f;

    color: #ffffff !important;
}

.vcpw-btn.primary:hover {
    background: #005b7a;
}

.vcpw-btn.secondary {
    border-color: #d5e1e6;

    background: #ffffff;

    color: #31515f !important;
}

.vcpw-btn:disabled {
    opacity: 0.6;

    cursor: not-allowed;

    transform: none;
}

.vcpw-save-status {
    margin-top: 9px;

    text-align: center;

    color: #93a2a9;

    font-size: 9px;
}


/* =========================================================
   ALERTS
   ========================================================= */

.vcpw-alert {
    margin-bottom: 18px;

    padding: 13px 14px;

    border-radius: 10px;

    font-size: 10px;
}

.vcpw-alert.error {
    border: 1px solid #efcece;

    background: #fff7f7;

    color: #8c3f3f;
}

.vcpw-alert.success {
    border: 1px solid #cde8df;

    background: #f2fbf7;

    color: #367263;
}

.vcpw-alert ul {
    margin: 7px 0 0;

    padding-left: 18px;
}


/* =========================================================
   PENDING / WELCOME PAGES
   ========================================================= */

.vcpw-result-page {
    min-height: 65vh;

    padding: 60px 0;

    background: #f5f8fa;
}

.vcpw-result-card {
    width: min(620px, calc(100% - 24px));

    margin: 0 auto;

    padding: 38px;

    border: 1px solid #dce7ec;
    border-radius: 20px;

    background: #ffffff;

    box-shadow: 0 18px 50px rgba(18, 54, 72, 0.07);

    text-align: center;
}

.vcpw-result-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 17px;

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

    border-radius: 50%;

    font-size: 25px;
    font-weight: 900;
}

.vcpw-result-icon.mail {
    background: #edf6f9;

    color: #006c90;
}

.vcpw-result-icon.success {
    background: #eaf8f3;

    color: #14755e;
}

.vcpw-result-card h1 {
    margin: 7px 0 11px;

    color: #17394a;

    font-size: 27px;
    line-height: 1.25;
}

.vcpw-result-card p {
    color: #6d828c;

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

.vcpw-result-card p strong {
    display: block;

    margin-top: 4px;

    color: #234553;
}

.vcpw-text-link {
    display: inline-block;

    margin-top: 17px;

    color: #006688 !important;

    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   WELCOME CREDENTIALS
   ========================================================= */

.vcpw-credentials {
    margin: 22px 0;

    overflow: hidden;

    border: 1px solid #dfe8ec;
    border-radius: 13px;

    text-align: left;
}

.vcpw-credentials div {
    padding: 12px 14px;

    border-bottom: 1px solid #edf2f4;
}

.vcpw-credentials div:last-child {
    border-bottom: 0;
}

.vcpw-credentials span {
    display: block;

    color: #89999f;

    font-size: 8px;
    font-weight: 800;

    text-transform: uppercase;
}

.vcpw-credentials strong {
    display: block;

    margin-top: 3px;

    color: #1c3d4c;

    font-size: 12px;

    word-break: break-word;
}

.vcpw-security-note {
    padding: 11px;

    border-radius: 9px;

    background: #fff8e9;

    color: #846728;

    font-size: 10px;
    line-height: 1.55;
}

.vcpw-result-actions {
    margin-top: 20px;

    display: flex;
    justify-content: center;
    gap: 10px;
}


/* =========================================================
   DESKTOP - SHORT HEIGHT
   ========================================================= */

@media (min-width: 901px) and (max-height: 780px) {

    .vcpw-page {
        padding-top: 18px;
        padding-bottom: 28px;
    }

    .vcpw-aside {
        padding-top: 26px;
        padding-bottom: 26px;
    }

    .vcpw-brand {
        margin-bottom: 30px;
    }

    .vcpw-aside h1 {
        font-size: 26px;
    }

    .vcpw-benefits {
        margin-top: 22px;
        gap: 9px;
    }

    .vcpw-main {
        padding-top: 24px;
        padding-bottom: 20px;
    }

    .vcpw-progress {
        margin-bottom: 20px;
    }

    .vcpw-actions {
        margin-top: 20px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .vcpw-page {
        padding: 18px 0 34px;
    }

    .vcpw-shell {
        max-width: 760px;

        grid-template-columns: 1fr;

        border-radius: 18px;
    }

    .vcpw-aside {
        padding: 24px;

        border-radius: 0;
    }

    .vcpw-brand {
        margin-bottom: 18px;
    }

    .vcpw-aside h1 {
        max-width: 100%;

        font-size: 24px;
    }

    .vcpw-aside-intro {
        max-width: 580px;
    }

    .vcpw-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        margin-top: 18px;
    }

    .vcpw-main {
        padding: 24px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    .vcpw-page {
        padding: 10px 0 24px;
    }

    .vcpw-page .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .vcpw-shell {
        width: 100%;

        border-radius: 14px;
    }

    .vcpw-aside {
        padding: 18px 16px;
    }

    .vcpw-brand {
        margin-bottom: 11px;

        font-size: 11px;
    }

    .vcpw-kicker {
        font-size: 8px;
    }

    .vcpw-aside h1 {
        margin-bottom: 0;

        font-size: 19px;
        line-height: 1.25;
    }

    .vcpw-aside-intro,
    .vcpw-benefits {
        display: none;
    }

    .vcpw-main {
        padding: 18px 14px;
    }

    .vcpw-top {
        align-items: center;
    }

    .vcpw-step-label {
        font-size: 8px;
    }

    .vcpw-top h2 {
        font-size: 17px;
    }

    .vcpw-step-count strong {
        font-size: 17px;
    }

    .vcpw-progress {
        margin-top: 13px;
        margin-bottom: 18px;
    }

    .vcpw-section-head {
        margin-bottom: 16px;
    }

    .vcpw-section-head h3 {
        font-size: 16px;
    }

    .vcpw-section-head p {
        font-size: 10px;
    }

    .vcpw-type-grid,
    .vcpw-grid,
    .vcpw-review {
        grid-template-columns: 1fr;
    }

    .vcpw-full,
    .vcpw-review .full {
        grid-column: auto;
    }

    .vcpw-type-card {
        padding: 15px;
    }

    .vcpw-type-content {
        padding-right: 22px;
    }

    .vcpw-type-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;

        font-size: 15px;
    }

    .vcpw-field input,
    .vcpw-field textarea {
        font-size: 16px;
    }

    .vcpw-upload {
        grid-template-columns: 1fr;
    }

    .vcpw-preview {
        min-height: 95px;
    }

    .vcpw-preview img {
        height: 92px;
    }

    .vcpw-existing {
        flex-direction: column;
        align-items: stretch;
    }

    .vcpw-login-btn {
        width: 100%;
    }

    .vcpw-review > div:nth-child(odd) {
        border-right: 0;
    }

    .vcpw-actions {
        margin-top: 20px;

        align-items: stretch;
    }

    .vcpw-actions-right {
        flex: 1;
        justify-content: flex-end;
    }

    .vcpw-btn {
        min-height: 42px;

        padding: 0 14px;
    }

    .vcpw-result-page {
        padding: 34px 0;
    }

    .vcpw-result-card {
        width: calc(100% - 16px);

        padding: 25px 18px;

        border-radius: 15px;
    }

    .vcpw-result-card h1 {
        font-size: 22px;
    }

    .vcpw-result-actions {
        flex-direction: column;
    }

    .vcpw-result-actions .vcpw-btn {
        width: 100%;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

    .vcpw-main {
        padding-left: 12px;
        padding-right: 12px;
    }

    .vcpw-actions {
        flex-wrap: wrap;
    }

    .vcpw-actions-right {
        width: 100%;
    }

    .vcpw-actions .vcpw-btn,
    .vcpw-actions-right .vcpw-btn {
        width: 100%;
        flex: 1 1 100%;
    }

}


/* =========================================================
   SAFETY - PREVENT HIDDEN CONTENT / OVERFLOW
   ========================================================= */

.vcpw-page,
.vcpw-shell,
.vcpw-aside,
.vcpw-main,
.vcpw-step,
.vcpw-grid,
.vcpw-field,
.vcpw-type-card,
.vcpw-review,
.vcpw-upload,
.vcpw-existing,
.vcpw-actions {
    box-sizing: border-box;
}

.vcpw-main,
.vcpw-step,
.vcpw-grid,
.vcpw-field,
.vcpw-review,
.vcpw-review > div {
    min-width: 0;
}

.vcpw-step {
    min-height: auto !important;
    height: auto !important;

    overflow: visible !important;
}

.vcpw-step.active {
    display: block !important;
}

.vcpw-field input,
.vcpw-field textarea,
.vcpw-review strong {
    overflow-wrap: anywhere;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .vcpw-progress span,
    .vcpw-type-card,
    .vcpw-btn,
    .vcpw-field input,
    .vcpw-field textarea {
        transition: none;
    }

}
