/* =========================================================
   GETTO — PROVIDER REGISTRATION / PROFILE
========================================================= */

:root {

    --carbon: #121417;
    --orange: #ff5a36;
    --warm-white: #f8f7f4;
    --slate: #5c626b;
    --mist: #e8eaed;
    --success: #32936a;

    --white: #ffffff;

    --border: #e2e4e7;
    --muted: #858b93;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;

    --shadow-card:
        0 18px 50px rgba(18,20,23,.07);

}


/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    background:
        var(--warm-white);

    color:
        var(--carbon);

    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing:
        antialiased;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
select,
textarea {

    font-family: inherit;

}


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

.register-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    height: 68px;

    background:
        rgba(248,247,244,.95);

    border-bottom:
        1px solid
        var(--mist);

    backdrop-filter:
        blur(14px);

}


.register-header-inner {

    width:
        min(
            1320px,
            calc(100% - 40px)
        );

    height: 100%;

    margin:
        0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.getto-logo {

    display: flex;

    align-items: center;

}


.logo-image {

    display: block;

    width: 200px;

    height: auto;

}


.header-right {

    display: flex;

    align-items: center;

    gap: 24px;

}


.save-status {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color:
        var(--slate);

    font-size: 10px;

    font-weight: 600;

}


.save-status i {

    color:
        var(--success);

}


.exit-link {

    color:
        var(--carbon);

    font-size: 11px;

    font-weight: 700;

}


.exit-link:hover {

    color:
        var(--orange);

}


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

.register-page {

    padding:
        64px
        0
        90px;

}


.register-page .container {

    width:
        min(
            1240px,
            calc(100% - 40px)
        );

}


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

.progress-section {

    margin-bottom: 52px;

}


.progress-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

}


.eyebrow {

    margin: 0;

    color:
        var(--orange);

    font-size: 9px;

    font-weight: 800;

    letter-spacing:
        .15em;

}


.progress-heading h1 {

    max-width: 720px;

    margin:
        12px
        0
        12px;

    font-size:
        clamp(
            34px,
            4vw,
            56px
        );

    line-height:
        1;

    font-weight: 800;

    letter-spacing:
        -.06em;

}


.progress-description {

    max-width: 680px;

    margin: 0;

    color:
        var(--slate);

    font-size: 13px;

    line-height: 1.7;

}


.progress-count {

    min-width: 100px;

    text-align: right;

}


.progress-count strong {

    display: block;

    font-size: 34px;

    line-height: 1;

    font-weight: 800;

    letter-spacing:
        -.05em;

}


.progress-count span {

    display: block;

    margin-top: 6px;

    color:
        var(--muted);

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing:
        .1em;

}


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

.steps {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

    margin-top: 36px;

}


.step {

    display: flex;

    align-items: center;

    gap: 10px;

    opacity: .4;

}


.step.completed,
.step.active {

    opacity: 1;

}


.step-number {

    width: 31px;
    height: 31px;

    flex:
        0 0
        31px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        #d4d7da;

    border-radius: 50%;

    background:
        #fff;

    color:
        var(--slate);

    font-size: 9px;

    font-weight: 800;

}


.step.completed .step-number {

    background:
        var(--success);

    border-color:
        var(--success);

    color:
        #fff;

}


.step.active .step-number {

    background:
        var(--carbon);

    border-color:
        var(--carbon);

    color:
        #fff;

}


.step small {

    display: block;

    margin-bottom: 2px;

    color:
        var(--muted);

    font-size: 8px;

    font-weight: 700;

}


.step strong {

    display: block;

    font-size: 10px;

    font-weight: 750;

}


.progress-line {

    height: 3px;

    margin-top: 21px;

    overflow:
        hidden;

    border-radius:
        999px;

    background:
        #dedfe1;

}


.progress-line span {

    display: block;

    width: 75%;

    height: 100%;

    border-radius:
        inherit;

    background:
        var(--orange);

    transition:
        width .3s ease;

}


/* =========================================================
   LAYOUT
========================================================= */

.profile-layout {

    display: grid;

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

    gap: 28px;

    align-items: start;

}


/* =========================================================
   FORM CARD
========================================================= */

.form-card {

    padding:
        42px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    background:
        var(--white);

    box-shadow:
        var(--shadow-card);

}


.form-card-header {

    display: flex;

    gap: 17px;

    padding-bottom: 32px;

    margin-bottom: 34px;

    border-bottom:
        1px solid
        var(--mist);

}


.section-number {

    width: 40px;
    height: 40px;

    flex:
        0 0
        40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background:
        var(--carbon);

    color: #fff;

    font-size: 10px;

    font-weight: 800;

}


.form-card-header h2 {

    margin:
        0
        0
        7px;

    font-size: 23px;

    line-height:
        1.2;

    font-weight: 750;

    letter-spacing:
        -.04em;

}


.form-card-header p {

    margin: 0;

    color:
        var(--slate);

    font-size: 12px;

    line-height:
        1.65;

}


/* =========================================================
   FIELDS
========================================================= */

.field-group {

    margin-bottom: 28px;

}


.field-group > label {

    display: flex;

    align-items: baseline;

    gap: 4px;

    margin-bottom: 9px;

    color:
        var(--carbon);

    font-size: 11px;

    font-weight: 700;

}


.field-group label span {

    color:
        var(--orange);

}


.label-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.optional-label,
.character-count {

    color:
        var(--muted);

    font-size: 9px;

    font-weight: 600;

}


.form-control,
.form-select {

    min-height: 48px;

    padding:
        12px
        14px;

    border:
        1px solid
        #dfe2e5;

    border-radius:
        8px;

    background:
        #fff;

    color:
        var(--carbon);

    font-size: 12px;

    box-shadow:
        none !important;

}


.form-control::placeholder {

    color:
        #a4a9ae;

}


.form-control:hover,
.form-select:hover {

    border-color:
        #c2c6ca;

}


.form-control:focus,
.form-select:focus {

    border-color:
        var(--carbon);

    box-shadow:
        0 0 0 3px
        rgba(18,20,23,.06)
        !important;

}


textarea.form-control {

    min-height: 145px;

    resize: vertical;

    line-height:
        1.65;

}


.form-control.is-invalid {

    border-color:
        #c64631;

}


.invalid-message {

    display: none;

    margin-top: 7px;

    color:
        #c64631;

    font-size: 9px;

    font-weight: 600;

}


.form-control.is-invalid ~ .invalid-message {

    display: block;

}


.field-help {

    margin-top: 8px;

    color:
        var(--muted);

    font-size: 9px;

    line-height:
        1.55;

}


/* =========================================================
   PROFILE IMAGE
========================================================= */

.profile-upload-area {

    display: flex;

    align-items: center;

    gap: 20px;

    padding:
        19px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background:
        #fafafa;

}


.profile-preview {

    width: 112px;
    height: 112px;

    flex:
        0 0
        112px;

    overflow:
        hidden;

    border-radius: 12px;

    border:
        1px solid
        var(--mist);

    background:
        #eef0f1;

}


.profile-placeholder {

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    color:
        #9aa0a7;

    font-size: 31px;

}


.profile-preview img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

}


.upload-copy {

    min-width: 0;

}


.upload-copy h3 {

    margin:
        0
        0
        5px;

    font-size: 13px;

    font-weight: 750;

    letter-spacing:
        -.02em;

}


.upload-copy p {

    max-width: 440px;

    margin:
        0
        0
        13px;

    color:
        var(--slate);

    font-size: 9px;

    line-height:
        1.6;

}


.upload-button {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    min-height: 37px;

    padding:
        0
        13px;

    border-radius: 7px;

    background:
        var(--carbon);

    color: #fff;

    font-size: 9px;

    font-weight: 750;

    cursor: pointer;

}


.upload-button:hover {

    background:
        var(--orange);

}


.remove-image {

    display: none;

    align-items: center;

    gap: 5px;

    margin-left: 8px;

    padding: 0;

    border: 0;

    background: transparent;

    color:
        #a24c3c;

    font-size: 9px;

    font-weight: 600;

    cursor: pointer;

}


/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio-section {

    padding-top: 32px;

    margin-top: 10px;

    border-top:
        1px solid
        var(--mist);

}


.portfolio-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

}


.mini-label,
.side-kicker {

    color:
        var(--orange);

    font-size: 8px;

    font-weight: 800;

    letter-spacing:
        .14em;

}


.portfolio-heading h3 {

    margin:
        7px
        0
        0;

    font-size: 16px;

    font-weight: 750;

    letter-spacing:
        -.025em;

}


.portfolio-count {

    color:
        var(--muted);

    font-size: 9px;

    font-weight: 600;

}


.portfolio-description {

    margin:
        10px
        0
        20px;

    color:
        var(--muted);

    font-size: 9px;

    line-height:
        1.55;

}


.portfolio-list {

    display: flex;

    flex-direction: column;

    gap: 9px;

}


.portfolio-item {

    display: grid;

    grid-template-columns:
        34px
        minmax(0,1fr)
        32px;

    gap: 11px;

    align-items: center;

    padding:
        11px;

    border:
        1px solid
        var(--border);

    border-radius:
        9px;

    background:
        #fff;

}


.portfolio-icon {

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 7px;

    background:
        #f0f1f2;

    color:
        var(--carbon);

}


.portfolio-input-wrap label {

    display: block;

    margin-bottom: 5px;

    color:
        var(--carbon);

    font-size: 8px;

    font-weight: 750;

}


.portfolio-input {

    min-height: 40px;

    padding:
        9px
        11px;

}


.portfolio-input-wrap small {

    display: block;

    margin-top: 5px;

    color:
        var(--muted);

    font-size: 7px;

}


.remove-portfolio {

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 6px;

    background:
        transparent;

    color:
        #989da3;

    cursor: pointer;

}


.remove-portfolio:hover {

    background:
        #f2eeee;

    color:
        #a24c3c;

}


.add-portfolio-button {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    min-height: 39px;

    margin-top: 12px;

    padding:
        0
        12px;

    border:
        1px dashed
        #cfd3d7;

    border-radius: 7px;

    background:
        transparent;

    color:
        var(--carbon);

    font-size: 9px;

    font-weight: 700;

    cursor: pointer;

}


.add-portfolio-button:hover {

    border-color:
        var(--orange);

    color:
        var(--orange);

}


/* =========================================================
   SOCIAL LINKS
========================================================= */

.social-links-section {

    padding-top: 31px;

    margin-top: 31px;

    border-top:
        1px solid
        var(--mist);

}


.section-subheading {

    margin-bottom: 22px;

}


.section-subheading h3 {

    margin:
        7px
        0
        0;

    font-size: 16px;

    font-weight: 750;

    letter-spacing:
        -.025em;

}


.field-group .link-input {

    position: relative;

}


.link-input > i {

    position: absolute;

    left: 14px;

    top: 50%;

    z-index: 2;

    transform:
        translateY(-50%);

    color:
        var(--muted);

    font-size: 13px;

}


.link-input .form-control {

    padding-left: 39px;

}


/* =========================================================
   FINAL CHECK
========================================================= */

.final-check {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding:
        17px;

    margin-top: 8px;

    border:
        1px solid
        #dbe9e0;

    border-radius: 10px;

    background:
        #f0f5f2;

}


.final-check-icon {

    color:
        var(--success);

    font-size: 18px;

}


.final-check strong {

    display: block;

    margin-bottom: 4px;

    font-size: 10px;

    font-weight: 800;

}


.final-check p {

    margin: 0;

    color:
        #65736b;

    font-size: 8px;

    line-height:
        1.6;

}


/* =========================================================
   ACTIONS
========================================================= */

.form-actions {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding-top: 32px;

    margin-top: 10px;

    border-top:
        1px solid
        var(--mist);

}


.back-button {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    min-height: 48px;

    padding:
        0
        16px;

    color:
        var(--slate);

    font-size: 10px;

    font-weight: 700;

}


.back-button:hover {

    color:
        var(--carbon);

}


.continue-button {

    min-width: 195px;

    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 8px;

    background:
        var(--orange);

    color:
        #fff;

    font-size: 10px;

    font-weight: 800;

    transition:
        background .18s ease,
        transform .18s ease;

}


.continue-button:hover:not(:disabled) {

    background:
        #e94d2d;

    transform:
        translateY(-1px);

}


.continue-button:disabled {

    opacity: .72;

    cursor: wait;

}


.button-text,
.button-loading {

    display: inline-flex;

    align-items: center;

    gap: 8px;

}


.button-loading {

    display: none;

}


/* =========================================================
   SIDE
========================================================= */

.side-panel {

    display: flex;

    flex-direction: column;

    gap: 16px;

}


.side-card {

    padding: 25px;

    border:
        1px solid
        var(--border);

    border-radius: 16px;

    background:
        #fff;

}


.dark-card {

    background:
        var(--carbon);

    border-color:
        var(--carbon);

    color:
        #fff;

}


.dark-card .side-kicker {

    color:
        #ff7958;

}


/* =========================================================
   MINI PROFILE
========================================================= */

.mini-profile-preview {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 25px;

}


.mini-profile-image {

    width: 47px;
    height: 47px;

    flex:
        0 0
        47px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    border-radius: 9px;

    background:
        rgba(255,255,255,.08);

    color:
        rgba(255,255,255,.55);

}


.mini-profile-image i {

    font-size: 17px;

}


.mini-profile-preview strong {

    display: block;

    margin-bottom: 4px;

    font-size: 11px;

    font-weight: 750;

}


.mini-profile-preview span {

    display: block;

    color:
        rgba(255,255,255,.56);

    font-size: 8px;

}


.preview-line {

    height: 1px;

    margin:
        22px
        0
        14px;

    background:
        rgba(255,255,255,.11);

}


.preview-stat-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.preview-stat-row span {

    color:
        rgba(255,255,255,.57);

    font-size: 8px;

}


.preview-stat-row strong {

    color:
        #fff;

    font-size: 11px;

}


.dark-card > p {

    margin:
        17px
        0
        0;

    color:
        rgba(255,255,255,.58);

    font-size: 9px;

    line-height:
        1.65;

}


/* =========================================================
   CHECKLIST
========================================================= */

.side-card-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

}


.completion-label {

    font-size: 10px;

    font-weight: 800;

}


.check-item {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding:
        13px
        0;

    border-top:
        1px solid
        var(--mist);

    opacity:
        .45;

}


.check-item.complete,
.check-item.active {

    opacity: 1;

}


.check-icon {

    width: 25px;
    height: 25px;

    flex:
        0 0
        25px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        #d7dade;

    border-radius:
        50%;

    color:
        var(--muted);

    font-size: 8px;

    font-weight: 800;

}


.check-item.complete .check-icon {

    background:
        var(--success);

    border-color:
        var(--success);

    color:
        #fff;

}


.check-item.active .check-icon {

    background:
        var(--carbon);

    border-color:
        var(--carbon);

    color:
        #fff;

}


.check-item strong {

    display: block;

    margin-bottom: 3px;

    font-size: 9px;

    font-weight: 750;

}


.check-item small {

    display: block;

    color:
        var(--muted);

    font-size: 8px;

    line-height:
        1.45;

}


/* =========================================================
   TRUST NOTE
========================================================= */

.side-note {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding:
        17px;

    border:
        1px solid
        #dbe9e0;

    border-radius:
        12px;

    background:
        #f0f5f2;

}


.side-note > i {

    color:
        var(--success);

    font-size: 16px;

}


.side-note strong {

    display: block;

    margin-bottom: 6px;

    font-size: 10px;

    font-weight: 800;

}


.side-note p {

    margin: 0;

    color:
        #627168;

    font-size: 8px;

    line-height:
        1.6;

}


/* =========================================================
   FOOTER
========================================================= */

.register-footer {

    border-top:
        1px solid
        var(--mist);

    background:
        #fff;

}


.footer-inner {

    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.footer-inner span {

    color:
        var(--carbon);

    font-size: 14px;

    font-weight: 800;

    letter-spacing:
        -.05em;

}


.footer-inner p {

    margin: 0;

    color:
        var(--muted);

    font-size: 9px;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .profile-layout {

        grid-template-columns: 1fr;

    }


    .side-panel {

        display: grid;

        grid-template-columns:
            repeat(2,1fr);

    }


    .side-note {

        grid-column:
            1 / -1;

    }

}


@media (max-width: 767.98px) {

    .register-header {

        height: 62px;

    }


    .register-header-inner,
    .register-page .container {

        width:
            min(
                100% - 28px,
                680px
            );

    }


    .logo-image {

        width: 155px;

    }


    .save-status {

        display: none;

    }


    .register-page {

        padding:
            42px
            0
            60px;

    }


    .progress-heading {

        display: block;

    }


    .progress-count {

        display: none;

    }


    .progress-heading h1 {

        font-size: 38px;

    }


    .steps {

        gap: 8px;

    }


    .step {

        align-items: flex-start;

        gap: 6px;

    }


    .step-number {

        width: 27px;
        height: 27px;

        flex-basis: 27px;

    }


    .step strong {

        font-size: 8px;

    }


    .step small {

        font-size: 7px;

    }


    .form-card {

        padding:
            26px
            20px;

        border-radius:
            14px;

    }


    .profile-upload-area {

        align-items:
            flex-start;

        flex-direction:
            column;

    }


    .profile-preview {

        width: 100px;
        height: 100px;

        flex-basis: 100px;

    }


    .portfolio-item {

        grid-template-columns:
            30px
            minmax(0,1fr)
            28px;

        gap: 8px;

    }


    .portfolio-icon {

        width: 30px;
        height: 30px;

    }


    .side-panel {

        grid-template-columns:
            1fr;

    }


    .side-note {

        grid-column:
            auto;

    }

}


@media (max-width: 480px) {

    .progress-heading h1 {

        font-size: 32px;

    }


    .progress-description {

        font-size: 12px;

    }


    .form-card {

        padding:
            22px
            16px;

    }


    .form-card-header h2 {

        font-size: 20px;

    }


    .form-actions {

        flex-direction:
            column-reverse;

    }


    .back-button,
    .continue-button {

        width: 100%;

    }


    .footer-inner {

        flex-direction:
            column;

        justify-content:
            center;

        gap: 6px;

    }

}
