/*--------------------------- Common --------------------------*/

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.verticalCenter {
    display: flex;
    align-items: center;
}

.spaceEvenly {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.textEnd {
    text-align: end;
}

.hidden {
    display: none;
}

/*--------------------------------------------------------- */

.showTodoModal {
    float: right;
}

.websiteLogoWidth {
    width: 150px;
    height: auto; /* Let the height adjust proportionally */
    vertical-align: middle; /* Ensure it aligns vertically with the navbar */
}

#topNav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
    border-bottom: 1px solid var(--border-color-3);
    background-color: #fff;
    margin: 0;
}

.patientPortalDashboard {
    padding: 0;
}

/* .contactPersonPhoto {
    border-radius: 100%;
} */

.contactPersonPhoto {
    width: 30px; /* Match the smaller size as per the screenshot */
    height: 30px; /* Explicitly set height to match width for consistency */
    border-radius: 100%;
    object-fit: cover; /* Ensure the image fits properly without distortion */
}

.patientDetailsNavBar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* .patientFullNameNavBar {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    color: #4e4e4e;
    font-weight: 600;
} */

.patientFullNameNavBar {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    color: #4e4e4e;
    font-weight: 600;
    line-height: 1; /* Prevent line-height from adding extra space */
    margin: 0; /* Remove any default margins */
}

.patientPortalDashboardRow {
    height: 100%;
}

.messagesContainer {
    background-color: #f6f8fc;
    flex: 1;
}

.chatMessage {
    margin-bottom: 10px;
}

.messageReceiverStyle {
    display: flex;
    justify-content: end;
    align-items: center;
}

.messagerSenderStyle {
    display: flex;
    justify-content: start;
    align-items: center;
}

.chatMessageContent {
    margin-bottom: 0;
    padding: 20px;
    border-radius: 30px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: #000;
    width: fit-content;
}

.chatMessagesPatientPortal {
    flex-grow: 1;
    overflow: hidden;
    overflow-y: scroll;
}

.messageSenderContent {
    background-color: #edf1ff;
}

.messageReceiverContent {
    background-color: #f3f3f3;
}

.contactPersonPhoto {
    width: 65px;
    height: 65px;
    border-radius: 100%;
}

.chatTextInput {
    border-top: 1px solid rgb(0, 0, 0, 0.3);
    padding: 20px 0px;
    margin-top: 10px;
    position: sticky;
    bottom: 0;
    background-color: transparent;
}

.chatTextInputStyle {
    border: none;
    color: rgb(0, 0, 0, 0.5);
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 18px;
    width: 100%;
    background: transparent;
}

.chatTextInputStyle:focus {
    border: none;
    outline: none;
}

.chatTextInputStyle:hover {
    border: none;
}

.sendMessage {
    cursor: pointer;
}

.backButton {
    cursor: pointer;
    margin: 10px;
}

.chatContainerPatientPortal {
    padding: 0px 50px;
}

/* -------------------------------- Dashboard  -----------------------*/

#showCropModal {
    border-radius: 50%;
}

.patientPortalDashboardCol1 {
    border-right: 1px solid rgb(0, 0, 0, 0.3);
    width: 394px;
    /* height: 100%; */
}

.dashboardTotalContainer {
    padding: 0;
}

.patientPortalDashboardHeading {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #8c8c8c;
    margin-top: 10px;
}

.dentistName {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #4e4e4e;
}

.credentials {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: #000;
}

.patientPortalDentistContent {
    border-bottom: 1px solid rgb(0, 0, 0, 0.3);
}

.linkText {
    font-size: 12px;
    color: #1a62d9;
    font-family: "Inter", sans-serif;
}

.linkTextreview {
    font-size: 12px;
    color: #1a62d9;
    font-family: "Inter", sans-serif;
}

.dentistLink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.patientDetailsNavBar img:last-child {
    /* Target the dropdown arrow */
    width: 20px;
    height: 20px; /* Ensure consistent height */
    vertical-align: middle; /* Align with the text */
}

/* -----------------------------------------------------Patient Portal Medical History Styles $$$$$$$$$$$$$$---------------------------------------------------- */
.medicalHistoryQuestion {
    color: var(--text-input-color-9);
    font-size: 16px;
}

.priceInput {
    padding: 10px 15px;
    border-radius: 10px;
    margin-right: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    border: none;
    min-width: 60px;
    text-align: center;
}

.medicalHistoryInActive {
    background-color: var(--text-input-color-3);
    color: var(--text-input-color-5);
}

.medicalHistoryActive {
    background-color: var(--menu-active);
    color: var(--menu-active-text-color);
    font-weight: 500;
}

.medicalHistoryRow {
    margin-bottom: 15px;
    align-items: center;
}

.medicalHistoryInputText {
    border: none;
    border-bottom: 1px solid var(--border-color-3);
    background-color: transparent;
    width: 100%;
    padding: 5px 0;
}

.patientPortalTreatmentPlan {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.3);
    padding: 20px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.patientPortalMedicalHistoryContainer {
    background-color: #e8eefa;
    padding: 20px;
}

.submitMedicalHistoryPatientPortal {
    width: 100%;
    height: 40px;
    background-color: #4256f2;
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Inter", sans-serif;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 500;
}

.heading {
    margin-top: 20px;
    margin-bottom: 30px;
}

.patientName {
    font-family: "Inter", sans-serif;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 5px;
}

.patientPortalIntro {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #333;
}

.field,
.heading {
    font-weight: bold;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
}

/* Side-by-side section adjustments */
.dentalheadRow {
    padding: 0 15px;
    margin-bottom: 20px;
}

.col-lg-6 {
    padding-left: 15px;
    padding-right: 15px;
}

.infoRow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.labelStyleInMedicalHistory {
    margin-bottom: 0;
    font-size: 16px;
}

.medicalHistoryInputLabel {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* Sub-question container adjustments */
.subQuestionContainer {
    display: flex;
    align-items: center;
}

.subQuestionContainer .row {
    width: 100%;
    align-items: center;
}

.subQuestionContainer .col-6 {
    display: flex;
    align-items: center;
}

.subQuestionInputValue {
    width: 80px;
    padding: 5px;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 14px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .col-lg-6 {
        margin-bottom: 20px;
    }

    .patientPortalTreatmentPlan {
        padding: 15px;
    }

    .medicalHistoryRow {
        margin-bottom: 10px;
    }

    .priceInput {
        padding: 8px 12px;
        min-width: 50px;
    }

    .subQuestionInputValue {
        width: 70px;
    }
}

@media (max-width: 576px) {
    .infoRow {
        flex-direction: column;
        align-items: flex-start;
    }

    .col-lg-4,
    .col-lg-3,
    .col-lg-5 {
        width: 100%;
        margin-bottom: 10px;
    }

    .priceInput {
        width: 48%;
        margin-right: 4%;
    }

    .priceInput:nth-child(2) {
        margin-right: 0;
    }

    .subQuestionContainer {
        width: 100%;
    }

    .subQuestionInputValue {
        width: 100%;
        max-width: 100px;
    }
}
/*---------------------------------------DROPDOWN LOGOUT------------------------------------*/

.logoutBtn {
    font-family: "Inter", sans-serif;
    color: #ff0000;
    width: 158px;
    height: 64px;
    background-color: #ffffff;
    border: 1px solid #000;
    display: none;
    position: absolute;
    top: 60px;
    right: 10px;
    z-index: 9999;
}

/*----------------------------------------- Styling for the sections in col-2 ---------------------------------------------*/

.alternateimages {
    font-family: "Inter", sans-serif;
    color: black;
}

.col-2heading {
    padding: 8px 2px;
}

/* Styling for the sections in col-2 */
.patientPortalSection {
    background-color: #fff;
    color: #b7b7b7;
    padding: 10px 2px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    box-sizing: border-box;
    transition: border 0.3s ease;
    width: 300px;
}

.patientPortalSection1 {
    padding: 8px 2px;
    margin-bottom: 10px;
}

/* Hover state */

/* Active section styling for sections with notifications (e.g., Post-op and Pre-op) */
.activeSection {
    background-color: #f6f8fc;
    position: relative;
}

/* Active heading styling for sections with notifications */
.activeHeading {
    color: #4e4e4e;
}

/* Styling for sections with icons */
.withIcon {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Icon styling */
.sectionIcon {
    width: 30px;
    height: 30px;
}

.imagebackground {
    background-color: #c1c1c1;
    width: 30px;
    height: 40px;
    padding-right: 5px;
    align-content: center;
}

/* Blue status dot for active sections */
.statusDot {
    width: 10px;
    height: 10px;
    background-color: #4256f2;
    border-radius: 50%;
    display: inline-block;
}

.patientportalcol2 {
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    width: 331px;
}

.col-2names {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #1a1a1a;
}

.messagesdashboard {
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    width: 394px;
}

.lastblockpatientportal {
    background-color: #edf1ff;
    flex: 1;
    display: flex; /* Add flexbox to center the child */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.lastblockRectangle {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.3);
    width: 522px;
    height: 600px;
    box-sizing: border-box;
}

.messageicon .statusDot {
    position: absolute;
    top: 130px;
    right: 1150px;
}

.statusDot {
    width: 12px;
    height: 12px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
}

.col-2informationnames {
    font-size: 18px;
    font-family: "Inter", sans-serif;
    color: #8c8c8c;
    margin-top: 10px;
}

.dentistcredentials {
    padding: 0px 25px;
}
.patientPortalMedicalHistoryHr {
    background-color: #ffff;
    align-content: center;
    height: 105px;
    width: 1399px;
}
