:root {
    --root-font-size: 1rem;
    --root-background-color: #EEF1F6;
    --root-border-bottom: 1px solid rgba(187, 193, 209, 0.4);
    --root-link-color: blue;
    --root-link-color-hover: blue;
    --root-link-color-active: blue;
    --root-link-color-visited: blue;

    --home-button-border-radius: 23px;
    --home-button-background-color: #000000;
    --home-button-color: #ffffff;
    --home-button-font-size: 1rem;
    --home-button-box-shadow: 0px 1px 15px rgba(30, 30, 30, 0.1);
    --home-link-color: blue;

    --header-background-color: rgba(255, 255, 255, 1);
    --header-progress-background-color: rgba(255, 255, 255, .90);
    --header-progress-backdrop-filter: blur(8px);

    --progress-background-color: rgba(187, 193, 209, 0.4);
    --progress-color: #000000;

}


@font-face {
    font-family: "Roboto";
    src: url('/assets/f/Roboto-Regular.ttf');
}

.html, body {
    margin: 0;
    padding: 0;
    background: var(--root-background-color);
    font-size: var(--root-font-size);
    font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    scroll-behavior: smooth;
}

a {
    color: var(--root-link-color);
    text-decoration: none;
}

a:hover {
    color: var(--root-link-color-hover);
}

a:active {
    color: var(--root-link-color-active);
}

a:visited {
    color: var(--root-link-color-visited);
}

::-webkit-scrollbar {
    display: none;
}

@keyframes scaleIn {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1.0); }
}

@keyframes progressBar {
    0% { max-width: 0; }
    100% { max-width: 50%; }
}

@keyframes msgIn {
    0% { max-height: 100vmax; }
    80% { transform: scale(1.1); }
    100% {
        transform: scale(1);
        max-height: 100vmax;
        overflow: visible;
        padding-top: 1rem;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    border-bottom: var(--root-border-bottom);
    background-color: var(--header-background-color);
    z-index: 5;
}

.header .logo {
    position: absolute;
    top: 14px;
    left: 14px;
    height: 28px;
}

/* @media only screen and (min-width: 768px) {
    .header .ham {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .header .ham {
        position: absolute;
        top: 16px;
        right: 25px;
        height: 24px;
        cursor: pointer;
    }
} */


/* ------------------------------------------------------------------------- */
/* Home Page                                                                 */
/* ------------------------------------------------------------------------- */
.main-container {
    position: relative;
    padding: 90px 30px;
    margin: auto 0;
    height: 100%;
    overflow-y: scroll;
}

.main-container h1 {
    position: relative;
    margin: auto;
    width: 100%;
    font-size: 52px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -.005em;
}

.main-container button {
    height: 46px;
    padding: 0 30px 0 30px;
    border: none;
    border-radius: var(--home-button-border-radius);
    background-color: var(--home-button-background-color);
    color: var(--home-button-color);
    font-size: var(--home-button-font-size);
    box-shadow: var(--home-button-box-shadow);
    cursor: pointer;
}

.main-footer {
    height: 128px;
    margin-top: auto;
}

.main-footer .main-footer-logo {
    display: block;
    margin: auto;
    height: 32px;
}

.main-footer .main-footer-copy {
    margin-top: 18px;
    width: 100%;
    text-align: center;
}

.main-footer .main-footer-links {
    margin-top: 18px;
    width: 100%;
    text-align: center;
}

.main-footer span {
    color: var(--home-link-color);
    cursor: pointer;
}


/* ------------------------------------------------------------------------- */
/* Chat                                                                      */
/* ------------------------------------------------------------------------- */
.header-progress-wrapper {
    position: fixed;
    top: 57px;
    right: 0;
    left: 0;
    height: 70px;
    border-bottom: var(--root-border-bottom);
    background-color: var(--header-progress-background-color);
    backdrop-filter: var(--header-progress-backdrop-filter);
    z-index: 5;
}

.header-progress-wrapper .progress {
    margin: 30px auto;
    height: 10px;
    width: 50%;
    background-color: var(--progress-background-color);
    border-radius: 6px;
}

.header-progress-wrapper .progress .bar {
    height: 10px;
    width: 0;
    background-color: var(--progress-color);
    border-radius: 6px;
}

.header-progress-wrapper .help {
    position: absolute;
    top: 25px;
    left: 25px;
    height: 20px;
    cursor: pointer;
}

.legal-header {
    height: auto;
    margin-top: 25px;
    margin-bottom: 25px;
}

.legal-header .legal {
    margin: 20px 0 20px 0;
    width: 100%;
    text-align: center;
    color: #5F6169;
    font-weight: 400;
    font-size: 0.92em;
    line-height: 20px;
    overflow-wrap: normal;
}

.legal span {
    color: var(--root-link-color);
    cursor: pointer;
}

.input-helper {
    display: none;
    position: absolute;
    bottom: 70px;
    padding: 4px 14px 4px 14px;
    border-radius: 15px;
    background-color: #B5D6FF;
    color: #0662D1;
    font-size: 11px;
    font-weight: 500;
    z-index: 5;
}

.error-helper {
    display: none;
    position: absolute;
    bottom: 70px;
    padding: 4px 14px 4px 14px;
    border-radius: 15px;
    background-color: #ec3f65;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    z-index: 6;
}

.msg-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #ffffff;
    border-top: 1px solid rgba(187, 193, 209, 0.4);
    z-index: 5;
}

.msg-footer .msg-footer-wrapper {
    margin: 0 auto 0 auto;
    height: 60px;
    display: flex;
    flex-direction: row;
    gap: 19px;
}

.msg-footer-wrapper input {
    flex-grow: 4;
    flex-shrink: 3;
    margin: 6px auto 0 auto;
    max-width: 600px;
    height: 46px;
    border: none;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
}
.msg-footer-wrapper input:focus {
    outline: none;
}
.msg-footer-wrapper input::placeholder {
    color: #BBC1D1;
}

.msg-footer-wrapper .lock {
    margin: 19px 0 0 19px;
    height: 20px;
    color: #98A0B2;
}

.msg-footer-wrapper .send {
    margin: 10px 14px 0 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    transition: 0.1s;
    cursor: pointer;
}

.msg-footer-wrapper .send:hover {
    background-color: rgba(187, 193, 209, 0.4);
}

.msg-footer-wrapper .send:active {
    background-color: rgba(187, 193, 209, 0.4);
    transform: scale(1.1);
}

.msg-footer-wrapper .send img {
    margin: 10px 0 0 8px;
    width: 24px;
}

/* ------------------------------------------------------------------------- */
/* Payer select component                                                    */
/* ------------------------------------------------------------------------- */
.payer-wrapper {
    position: absolute;
    /* display: none; */
    padding: 0 0 20px 0;
    height: auto;
    max-height: 60%;
    right: 0;
    bottom: 60px;
    left: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    border-top: 1px solid rgba(187, 193, 209, 0.4);
    box-shadow: 0px 1px 3px rgba(93, 98, 107, 0.1);
    background-color: #ffffff;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 7;
}

.payer-wrapper .payer-list-header {
    position: fixed;
    height: 40px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid rgba(187, 193, 209, 0.4);
}

.payer-wrapper .payer-list-header span {
    line-height: 40px;
    font-weight: 600;
}

.payer-wrapper .payer-list-header span:first-child {
    padding-left: 20px;
}

.payer-wrapper .payer-list {
    padding: 20px 20px 0 20px;
}

.payer-wrapper .payer-list .sp {
    height: 20px;
}

.payer-wrapper .payer-list button {
    width: auto;
    height: 35px;
    padding: 0 20px 0 20px;
    border: none;
    background-color: #B5D6FF;
    color: #0662D1;
    border: 1px solid #0662D1;
    border-radius: 18px;
    cursor: pointer;
}

.payer-wrapper .payer-list button:hover {
    background-color: #0662D1;
    color: #ffffff;
    border: 1px solid #0662D1;
}



#anchor {
    overflow-anchor: auto;
    height: 1px;
}

/* ------------------------------------------------------------------------- */
/* Conversation Component                                                    */
/* ------------------------------------------------------------------------- */
.convo-wrapper {
    position: absolute;
    overflow-y: scroll;
    overflow-x: hidden;
    top: 126px;
    right: 0;
    bottom: 60px;
    left: 0;
    margin: 0 auto 0 auto;
    display: flex;
    flex-direction: column;
    overflow-anchor: none;
}

.convo-wrapper .msg-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ------------------------------------------------------------------------- */
/* User message bubble                                                       */
/* ------------------------------------------------------------------------- */
.convo-wrapper .msg-wrapper > .msg-user {
    display: inline-block;
    margin: 10px 0 24px auto;
    width: auto;
    align-items: right;
    max-width: 450px;
    background-color: #000000;
    color: #ffffff;
    padding: 17px 20px 17px 20px;
    box-shadow: 0px 1px 3px rgba(93, 98, 107, 0.1);
    border-radius: 12px;
    font-weight: 500;
    line-height: 1.4rem;
    overflow-wrap: normal;
}

.msg-user span {
    display: inline-flex;
    flex-direction: column;
    margin: 0 auto 0 auto;
}


/* ------------------------------------------------------------------------- */
/* Brain message bubble                                                      */
/* ------------------------------------------------------------------------- */
.convo-wrapper .msg-wrapper > .msg-brain {
    display: inline-block;
    margin-right: auto;
    margin-bottom: 14px;
    width: auto;
    max-width: 450px;
    background-color: #ffffff;
    color: #000000;
    padding: 17px 20px 17px 20px;
    box-shadow: 0px 1px 3px rgba(93, 98, 107, 0.1);
    border-radius: 12px;
    font-weight: 500;
    line-height: 1.4rem;
    overflow-wrap: normal;
}


/* ------------------------------------------------------------------------- */
/* Single Select Card Component                                              */
/* ------------------------------------------------------------------------- */

.card-container {
    display: none;
    height: auto;
    width: 100%;
}

.card-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 24px;
    gap: 10px;
}

.card-wrapper::-webkit-scrollbar {
    display: block;
    height: 6px;
}
.card-wrapper::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}
.card-wrapper::-webkit-scrollbar-thumb {
    background: rgba(187, 193, 209, 0.4);
    border-radius: 3px;
}
.card-wrapper::-webkit-scrollbar-thumb:hover {
    background: #000000;
}

.card-wrapper .card {
    position: relative;
    margin-bottom: 25px;
    margin-right: 17px;
    padding: 17px 20px 0 20px;
    min-width: 232px;
    height: 240px;
    width: 232px;
    background-color: #ffffff;
    box-shadow: 0px 1px 3px rgba(93, 98, 107, 0.1);
    border-radius: 12px;
    scroll-snap-align: start;
}

.card-wrapper .card h1 {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 800;
}

.card-wrapper .card .qualifications {
    display: inline-block;
    margin-bottom: 16px;
    padding: 4px 8px 4px 8px;
    border-radius: 3px;
    background-color: #FFE9BC;
    color: #D29619;
    font-size: 11px;
    font-weight: 500;
}

.card-wrapper .card .location {
    margin: 16px auto 16px auto;
    padding: 6px 12px 6px 10px;
    border-radius: 4px;
    background-color: #EEF1F6;
    color: #98A0B2;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.card-wrapper .card .content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    font-weight: 500;
    line-height: 20px;
    overflow: hidden;
}

.card-wrapper .card .bio {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-weight: 500;
    line-height: 20px;
    overflow: hidden;
}

.card-wrapper .card .content p {
    margin-top: 0;
}

.card-wrapper .card img {
    width: 100%;
    border-radius: 8px;
}

.card-wrapper .card .top button {
    position: absolute;
    width: 100%;
    height: 46px;
    left: 0;
    bottom: 46px;
    border: 0;
    color: #000000;
    background-color: #ffffff;
    border-top: 1px solid rgba(187, 193, 209, 0.4);
    font-size: 0.92rem;
    font-weight: 500;
    transition: 0.1s;
    cursor: pointer;
}

.card-wrapper .card .top button:hover {
    color: blue;
}

.card-wrapper .card .bottom button {
    position: absolute;
    width: 100%;
    height: 46px;
    left: 0;
    bottom: 0;
    border: 0;
    border-radius: 0 0 12px 12px;
    background-color: #BBC1D1;
    color: #323540;
    font-size: 0.92rem;
    font-weight: 500;
    transition: 0.1s;
    cursor: pointer;
}

.card-wrapper .card .bottom button:hover {
    background-color: #000000;
    color: #ffffff;
}


/* ------------------------------------------------------------------------- */
/* Multi Select List Component                                              */
/* ------------------------------------------------------------------------- */
.convo-wrapper .msg-wrapper > .button-group {
    display: flex;
    margin-bottom: 25px;
    flex-direction: row;
    flex-wrap: wrap;
}

.convo-wrapper .msg-wrapper > .button-group button {
    margin: 0 14px 14px 0;
    padding: 12px 20px 12px 20px;
    background-color: #BBC1D1;
    border: none;
    color: #323540;
    box-shadow: 0px 1px 15px rgba(30, 30, 30, 0.1);
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: 0.1s;
    cursor: pointer;
}

.convo-wrapper .msg-wrapper > .button-group button:hover {
    background-color: #000000;
    color: #ffffff;
}

.convo-wrapper .msg-wrapper > .button-group button:active {
    transform: scale(1.1);
}

.bot-wrapper {
    position: absolute;
    left: 17px;
    bottom: 113px;
    width: 46px;
    height: 46px;
    background-color: #ffffff;
    border-radius: 23px;
    box-shadow: 0px 1px 3px rgba(93, 98, 107, 0.1);
    animation: scaleIn 0.15s ease-out 0s forwards;
}

.bot-wrapper img {
    margin-top: 10px;
    margin-left: 5px;
    width: 36px;
}

.checkbox-wrapper .round {
    position: relative;
    display: flex;
    flex-direction: row;
    margin-bottom: 18px;
}

.checkbox-wrapper .round label {
    background-color: #EEF1F6;
    border: 3px solid #98A0B2;
    border-radius: 50%;
    cursor: pointer;
    height: 20px;
    width: 20px;
    display: block;
}

.checkbox-wrapper .round span {
    padding-left: 14px;
    color: #000000;
    height: 20px;
    line-height: 28px;
}

.checkbox-wrapper .round label:after {
    position: absolute;
    top: 8px;
    left: 7px;
    width: 11px;
    height: 5px;
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    opacity: 0;
    content: "";
    transform: rotate(-45deg);
}

.checkbox-wrapper .round input[type="checkbox"] {
    visibility: hidden;
    display: none;
    opacity: 0;
}

.checkbox-wrapper .round input[type="checkbox"]:checked + label {
    background-color: #000000;
    border-color: #000000;
}

.checkbox-wrapper .round input[type="checkbox"]:checked + label:after {
    opacity: 1;
}

.checkbox-group button {
    margin: 10px 0 15px 0;
    padding: 12px 20px 12px 20px;
    background-color: #BBC1D1;
    border: none;
    color: #323540;
    box-shadow: 0px 1px 15px rgba(30, 30, 30, 0.1);
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: 0.1s;
    cursor: pointer;
}

.checkbox-group button:hover {
    background-color: #000000;
    color: #ffffff;
}

.checkbox-group button:active {
    transform: scale(1.1);
}


.convo-wrapper .msg-wrapper > .providers {
    display: flex;
    margin-bottom: 25px;
    flex-direction: row;
    flex-wrap: wrap;
    width: 550px;
}



.modal {
    /* display: none; */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 150ms ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(2px);
    width: 100vw;
    height: 100vh;
    z-index: 100;
}

.modal-content {
    position: relative;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    width: 90%;
    height: 90%;
    border-radius: 12px;
    z-index: 101;
    /* pointer-events: auto; */
}

.modal-header {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 800;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(187, 193, 209, 0.4);
}

.modal-body {
    position: absolute;
    top: 63px;
    bottom: 61px;
    padding: 10px 30px 20px 30px;
    overflow-y: scroll;
    overflow-wrap: normal;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 20px;
}

.modal-body::-webkit-scrollbar {
    display: block;
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}
.modal-body::-webkit-scrollbar-thumb {
    background: rgba(187, 193, 209, 0.4);
    border-radius: 3px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
    background: #000000;
}

.modal-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    border-top: 1px solid rgba(187, 193, 209, 0.4);
    background-color: #ffffff;
}

.modal-footer button {
    position: absolute;
    top: 10px;
    left: 35%;
    right: 35%;
    height: 40px;
    padding: 0 30px 0 30px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    background-color: #000000;
    color: #ffffff;
    font-size: 0.92rem;
    box-shadow: 0px 1px 15px rgba(30, 30, 30, 0.1);
    transition: 0.1s;
}

.modal-footer button:active {
    transform: scale(1.1);
}

video {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

@media only screen and (max-width: 600px) {
    .convo-wrapper {
        padding: 0 15px 30px 15px;
    }

    .msg-footer .msg-footer-wrapper {
        padding: 0;
    }

    .input-helper {
        left: 15px;
    }

    .error-helper {
        left: 15px;
    }

    .modal-content {
        width: 90%;
        height: 70%;
    }
}

@media only screen and (min-width: 600px) {
    .convo-wrapper {
        padding: 0 5% 30px 5%;
    }

    .msg-footer .msg-footer-wrapper {
        padding: 0 5% 30px 5%;
    }

    .input-helper {
        left: 5%;
    }

    .error-helper {
        left: 5%;
    }

    .modal-content {
        width: 70%;
        height: 80%;
    }
}

@media only screen and (min-width: 768px) {
    .convo-wrapper {
        padding: 0 10% 30px 10%;
    }

    .msg-footer .msg-footer-wrapper {
        padding: 0 10% 30px 10%;
    }

    .input-helper {
        left: 10%;
    }

    .error-helper {
        left: 10%;
    }

    .modal-content {
        width: 60%;
        height: 70%;
    }
}

@media only screen and (min-width: 992px) {
    .convo-wrapper {
        padding: 0 18% 30px 18%;
    }

    .msg-footer .msg-footer-wrapper {
        padding: 0 18% 30px 18%;
    }

    .input-helper {
        left: 18%;
    }

    .error-helper {
        left: 18%;
    }

    .modal-content {
        width: 50%;
        height: 60%;
    }

    .modal-content video {
        position: relative;
        max-height: 200px;
    }
}

/* https://codepen.io/nzbin/pen/GGrXbp */
.dot-pulse {
  position: relative;
  left: -9999px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #000;
  color: #000;
  box-shadow: 9999px 0 0 -5px;
  animation: dot-pulse 1.5s infinite linear;
  animation-delay: 0.25s;
  margin: 0 20px;
}
.dot-pulse::before, .dot-pulse::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #000;
  color: #000;
}
.dot-pulse::before {
  box-shadow: 9984px 0 0 -5px;
  animation: dot-pulse-before 1.5s infinite linear;
  animation-delay: 0s;
}
.dot-pulse::after {
  box-shadow: 10014px 0 0 -5px;
  animation: dot-pulse-after 1.5s infinite linear;
  animation-delay: 0.5s;
}

@keyframes dot-pulse-before {
  0% {
    box-shadow: 9984px 0 0 -5px;
  }
  30% {
    box-shadow: 9984px 0 0 2px;
  }
  60%, 100% {
    box-shadow: 9984px 0 0 -5px;
  }
}
@keyframes dot-pulse {
  0% {
    box-shadow: 9999px 0 0 -5px;
  }
  30% {
    box-shadow: 9999px 0 0 2px;
  }
  60%, 100% {
    box-shadow: 9999px 0 0 -5px;
  }
}
@keyframes dot-pulse-after {
  0% {
    box-shadow: 10014px 0 0 -5px;
  }
  30% {
    box-shadow: 10014px 0 0 2px;
  }
  60%, 100% {
    box-shadow: 10014px 0 0 -5px;
  }
}
