﻿
.questionnaire {
    display: flex;
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
    background-color: var(--dss-white);
    border-radius: 15px;
    justify-content: center;
}

.questionnaire .question-content {
    width: 100%;
}

.questionnaire .intro-content {
    width: 80%;
}

@media (max-width: 1500px) {
    .questionnaire .intro-content {
        width: 100%;
    }
}

.questionnaire .product-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(0,15,85,.05);
    border: 1px solid rgba(0,15,85,.1);
    border-radius: 15px;
    margin-bottom: 1rem;
    padding: 1rem;
    cursor: pointer;
}

.questionnaire .product-box:hover {
    border: 1px solid var(--dss-blue);
}

.questionnaire .product-box p {
    font-size: 16px;
    margin: 0;
}

.questionnaire .product-box.selected {
    border: 1px solid var(--dss-blue);
}

.questionnaire .product-box.unselected {
    border: 1px solid rgba(0,15,85,.1);
    opacity: 0.5;
}

.questionnaire .product-icon {
    width: 30px;
    height: 30px;
}

.questionnaire .button-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

@media (max-width: 500px) {
    .questionnaire .button-container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
    }
}

.questionnaire .continue-button.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.questionnaire .questionmark-icon {
    max-width: 24px;
    height: 24px;
}

.questionnaire .body-map {
    background-image: url(/images/humanbodyimage.svg);
    background-repeat: no-repeat;
    background-position: top 20px center;
    max-width: 360px;
    margin: auto;
    padding: 0;
    font-size: 14px;
}

.questionnaire .body-part {
    width: 120px;
    height: 120px;
    border: 2.5px solid var(--dss-white);
}

.questionnaire .body-part:first-of-type {
    margin: auto;
}

.questionnaire .body-part-inner {
    border: 1px solid rgba(19,55,84,.2);
    box-sizing: border-box;
    border-radius: 5px;
    padding: 20px 10px;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.questionnaire .body-part-radio {
    position: relative;
    cursor: pointer;
    padding-right: 10px;
    align-items: center;
    display: flex;
}

.questionnaire .body-part-side {
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 11px;
}

.questionnaire .body-part-radio input[type="radio"] + label {
    padding-left: 5px;
}

.questionnaire input[type=radio] {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50%;
    background: rgba(0,15,85,.05);
    border: 4px solid rgba(0,15,85,.1);
    box-shadow: 0 0 0 1px var(--dss-blue);
    height: 15px;
    width: 15px;
    padding: 5px;
}

.questionnaire input[type=radio]:checked {
    background: rgba(0,15,85,.05);
    border: 4px solid var(--dss-blue);
}

.questionnaire input[type="radio"] + label {
    padding-left: 1rem;
}

.questionnaire input[type=checkbox] + label {
    padding-left: 1rem;
    margin: 0;
    color: var(--dss-blue);
    position: relative;
    font-size: 16px;
}

.questionnaire input[type=checkbox] {
    width: 15px;
    height: 15px;
}

.questionnaire input[type=checkbox]:checked {
    accent-color: var(--dss-blue);
}

.questionnaire .questionnaire-textinput {
    width: 100%;
    padding-left: 5px;
    color: #4f4f4f;
    border: none;
    border-bottom: 1px solid #4f4f4f;
}

.questionnaire .questionnaire-textinput:focus {
    border: none;
    border-bottom: 0.5px solid #000f55;
    padding-bottom: 5px;
    color: #000f55;
    width: 100%;
    outline: 0;
}

.questionnaire .navigation-button {
    border-radius: 0;
    cursor: pointer;
    border: none;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: rgba(0,15,85,.05);
    opacity: 100%;
}

.questionnaire .navigation-button:disabled {
    background-color: var(--dss-white);
    pointer-events: none;
}

.questionnaire .navigation-back {
    border-radius: 15px 0px 0px 15px;
}

.questionnaire .navigation-forward {
    border-radius: 0px 15px 15px 0px;
}

@media screen and (max-width: 1180px) {
    .questionnaire #back-button, #forward-button {
        position: fixed;
        bottom: 0;
        display: flex;
        align-items: center;
        background-color: rgba(0,15,85,.2);
        margin: 15px;
        height: 50px;
        width: 50px;
        border-radius: 5px;
        border: none;
    }

    .questionnaire #back-button {
        left: 0;
        margin-left: calc(50% - 60px);
    }

    .questionnaire #forward-button {
        right: 0;
        margin-right: calc(50% - 60px);
    }
}

.questionnaire .download-media-link {
    color: inherit;
}


/* Questionaire steps */

.questionaire-steps .step-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.questionaire-steps .substep-icon {
    background-color: var(--dss-blue);
    height: 40px;
    width: 40px;
    border-radius: 2rem;
    color: var(--dss-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.questionaire-steps .substep-col {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.questionaire-steps .title {
    font-weight: 800;
}


@media screen and (max-width: 767px) {
    .questionnaire .questionnaire-image {
        display: none;
    }

    .questionnaire .body-part {
        width: 100px;
    }
}

.questionnaire .system-information-question .privacy .checkbox {
    margin-right: 8px;
    position: relative;
    top: 2px;
}

.questionnaire .error-message-container {
    position: fixed;
    bottom: 10px;
    right: 0;
    display: block;
    z-index: 1;
    width: fit-content;
}

.questionnaire .error-message {
    background-color: rgba(194,0,22,.6);
    color: var(--dss-white);
    font-size: 14px;
    margin-bottom: 5px;
    padding: 1rem 1.5rem;
}

.questionnaire .file-upload-icon {
    max-width: 20px;
    max-height: 20px;
}

.questionnaire #UPLOADREFERRAL .question-description p:last-of-type {
    margin-bottom: 0px;
}

.file-success-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.file-success-popup-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 300px;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
}


/* Treatment provider map */
.treatment-provider-map {
    position: relative;
    min-height: 500px;
    height: calc(100vh - 370px);
    width: 100%;
    border: 2px solid black;
}

.treatment-provider-map #map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.treatment-provider-map .sidemenu {
    position: absolute;
    left: 0;
    top: 0;
    width: 35%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.treatment-provider-map .sidemenu.bg-remove {
    background: none;
}

.treatment-provider-map .mobile-tabs {
    width: 100%;
    display: flex;
}

.treatment-provider-map .mobile-list-view {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 15px;
    border: 1px solid #ebebeb;
    background-color: #f3f3f6;
    color: black;
}

.treatment-provider-map .mobile-list-view.active {
    background-color: white;
}

.treatment-provider-map .mobile-list-view svg {
    width: 20px;
    height: 20px;
    margin-bottom: -2px;
    color: black;
}

.treatment-provider-map .mobile-map-view {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 15px;
    border: 1px solid #ebebeb;
    background-color: #f3f3f6;
    color: black;
}

.treatment-provider-map .mobile-map-view.active {
    background-color: white;
}

.treatment-provider-map .mobile-map-view svg {
    width: 14px;
    height: 20px;
    color: black;
}

.treatment-provider-map .search-container {
    display: flex;
    align-items: center;
    padding: 1rem;
}

.treatment-provider-map .search {
    position: relative;
    width: 100%;
}

.treatment-provider-map .search svg {
    position: absolute;
    color: #595959;
    width: 15px;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.treatment-provider-map .search-input {
    padding: 5px 10px 5px 30px;
    border-radius: 10px;
    border: 1px solid #ebebeb;
    width: 100%;
    background-color: white;
}

.treatment-provider-map .search-input.input-shadow {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 6px;
}

.treatment-provider-map input {
    background-color: transparent;
    border: 0;
    width: 100%;
    padding: 0.5rem;
}

.treatment-provider-map .treatment-provider-list {
    display: flex;
    flex-direction: column;
    padding: 0rem 1rem 1rem 1rem;
    margin: 0;
    list-style-type: none;
    overflow: auto;
}

.treatment-provider-map .treatment-provider-list li {
    cursor: pointer;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.treatment-provider-map .treatment-provider-list li.active {
    border: 2px solid black;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 4px;
}

.treatment-provider-map .sidemenu-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background: darkcyan;
    width: 100%;
    border-radius: 8px;
    padding: 1rem;
    position: absolute;
    left: 0;
    top: 0;
}

.treatment-provider-map .list-btn {
    padding-left: 1rem;
    cursor: pointer;
}

.treatment-provider-map .list-icon {
    width: 24px;
    height: 24px;
    overflow: visible;
}

.treatment-provider-map .map-icon {
    width: 24px;
    height: 24px;
    overflow: visible;
}

.treatment-provider-map .info-container {
    position: relative;
    margin-left: 14px;
    margin-right: 14px;
}

.treatment-provider-map .info-container-mobile {
    display: none;
    visibility: hidden;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.treatment-provider-map .info-box {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 10px;
    max-width: 250px;
}

.treatment-provider-map .info-box-mobile {
    background-color: white;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    margin: 0.5rem;
    padding: 0.75rem 1.25rem 0.75rem 1.25rem;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 6px;
}

.treatment-provider-map .info-box-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    overflow-wrap: break-word;
    overflow-x: hidden;
}

.treatment-provider-map .info-box-text-mobile {
    display: flex;
    flex-direction: column;
    overflow-wrap: break-word;
    overflow-x: hidden;
}

.treatment-provider-map .content {
    width: 100%;
    padding: 1rem 0.5rem;
}

.treatment-provider-map .address-box {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.treatment-provider-map .address-box-text {
    display: flex;
    flex-direction: column;
    min-width: 40%;
    max-width: 100%;
}

.treatment-provider-map .title {
    font-weight: bold;
    font-size: 16px;
    overflow-wrap: break-word;
}

.treatment-provider-map .address {
    font-size: 16px;
    overflow-wrap: break-word;
}

.treatment-provider-map .distance {
    color: grey;
    font-size: 14px;
}

.treatment-provider-map .distance-info {
    color: grey;
    font-size: 14px;
    margin-left: 14px;
}

.treatment-provider-map .list-item-icon {
    width: 25px;
    display: none;
    flex: 0 0 auto;
}

.treatment-provider-map .check-info-icon {
    width: 22px;
    flex: 0 0 auto;
}

.treatment-provider-map .height-auto {
    height: auto;
}

.provider-button-container {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

@media screen and (max-width: 1380px) {
    .treatment-provider-map .sidemenu {
        width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .provider-button-container {
        flex-direction: column;
    }

    .treatment-provider-map .info-box {
        gap: 1rem;
    }

    .treatment-provider-map .title {
        font-size: 14px;
    }

    .treatment-provider-map .address {
        font-size: 14px;
    }

    .treatment-provider-map .distance-info {
        font-size: 12px;
    }
}
