﻿body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Poppins", serif !important;
    overflow: hidden;
    font-size: 13px;
    background-color: transparent;
}

.main_chat_detaction {
    max-height: calc(100vh - 29vh);
    overflow-y: auto;
    scrollbar-width: thin;
}

/*.main_transection_chat {
    max-height: calc(100vh - 22vh);
    overflow-y: auto;
    scrollbar-width: thin;
    display: flex;
    justify-content: center;
}*/

.column-gap-4 {
    column-gap: 50px;
}
/* Right icon bar styling */
.right-icon-bar {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #1E5AB8;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
}

    .right-icon-bar img {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
        cursor: pointer;
    }

/* Popup overlay styling */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Popup content styling */
.popup-content {
    display: flex;
    position: fixed;
    width: 100%;
    height: 97vh;
    background-color: white;
    overflow-y: hidden;
    padding: 20px 20px;
    z-index: 1000;
    justify-content: end;
    padding-right: 80px;
}

/* Sidebar styling */
.sidebar {
    width: 14rem;
    background-color: #f8f9fa;
    padding: 0;
    height: 100%;
    overflow-y: hidden;
    border: 1px solid #8CC1ED;
}

.recording-header .form-control {
    padding: 6px;
    text-align: left;
    text-indent: 0;
}
.recording-header {
    display: flex;
    gap: 6px;
    padding: 6px 6px;
    justify-content: space-between;
    height: 3.4rem;
    display: flex;
    align-items: center;
}
.subjective_inner img.img-fluid {
    align-self: baseline;
}
/* Main content area styling */
.main-content {
    flex: 1;
    /* padding: 20px; */
    /* overflow-y: auto; */
    min-width: 280px;
    border: 1px solid #8CC1ED;
    background-color: #fff;
    height:100%;
    overflow:auto;
}

.form-control {
    border-color: #8CC1ED;
}
/* Chat section styling */
.chat-section {
    width: 23rem;
    padding: 0px 5px;
    /* background-color: #f8f9fa; */

    height: 100%;
    overflow-y: hidden;
    border: 1px solid #8CC1ED;
    padding: 1rem;
}
.reportRange {
    border-radius: 5px;
    border: 1px solid #8CC1ED;
    background: #FFF;
    padding: 0px 5px;
    /* min-width: 90%; */
    justify-content: space-between;
    flex-grow: 1;
    font-size:12px;
}
.patient-card.active {
    background-color: #DBE7FF;
    border-color: #8CC1ED;
    color: #000;
}
.patient-card {
    position: relative;
}

    .patient-card .atr, .patient-card .stm {
        position: absolute;
        right: 0;
    }

div.pt_msg {
    margin-left: 20px;
    padding: 0.5rem 0.8rem;
    background: #E3EBF9;
    border-radius: 0.5rem;
}
    div.pt_msg:focus-visible {
        border: 1px solid #8CC1ED;
        outline: 1px solid #8CC1ED;
    }

    div.pt_msg p:focus-visible {
        outline: none;
    }

.finalizedP {
    pointer-events: none;
}
.main_transection_chat h6 {
    display: none;
}

div.dr_msg {
    margin-right: 20px;
    padding: 10px;
    background: #F6F6F6;
    border-radius: 8px;
    margin-left: 1px;
}

    div.dr_msg:focus-visible {
        border: 1px solid #8CC1ED;
        outline: 1px solid #8CC1ED;
    }

    div.dr_msg p:focus-visible {
        outline: none;
    }

/* Colors, borders, and alignment tweaks */

h5 {
    font-weight: bold;
    color: #1E5AB8;
}

.list-group-item {
    border: 1px solid #8CC1ED;
}

.search_area {
    padding: 0px 10px;
}

    .search_area .form-control {
        /* border-radius: 25px; */
         background: transparent url(../Images/search.svg) no-repeat; 
        max-width: 140px;
        background-position: right 10px center;
        padding-right: 25px;
        border: 1px solid #007bff;
        position:relative;
    }

        .search_area .form-control:after {
            content: "";
            background: url('../Images/search.svg') no-repeat;
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .custom-color {
            border-color: #007bff;
        }

.list-group-item {
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 0 !important;
    border-left: 0;
    border-right: 0;
    height: calc(100vh - 36rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: none;
}

.custom_btn {
    background-color: #0547CA;
    border-radius: 5px;
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    display:inline-flex;
    justify-content:center;
}
#finlize {
    background-color: #09BD00;
}
.custom_btn:hover{
    color:#fff;
}

input#daterange {
    border-radius: 4px;
    border: 1px solid #007bff;
    max-width: 10.8rem;
    font-size: 0.85rem;
    height: 1.9rem;
}
.btns_group {
    display: flex;
    align-items: center;
}

.consent-checkbox {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}
.icons_style.disabled {
    cursor: not-allowed;
    opacity: 0.5; /* Dim the button when disabled */
    pointer-events:none;
}
.consent-checkbox label {
    margin: 0;
}

    .consent-checkbox input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        margin-right: 10px;
        border: 2px solid #555;
        border-radius: 5px;
        display: inline-block;
        position: relative;
        cursor: pointer;
    }

        .consent-checkbox input[type="checkbox"]:checked {
            background-color: #28a745; /* Green background for checked state */
            border-color: #28a745;
        }

            .consent-checkbox input[type="checkbox"]:checked::after {
                content: '✔';
                color: white;
                font-size: 10px;
                position: absolute;
                top: 0px;
                left: 2px;
            }

.subjective_inner.d-flex p {
    /* max-width: 90%; */
    width: 100%;
    margin-top: 0;
    border-bottom: 1px dotted #cce7ff;
    padding-bottom: 10px;
    margin-bottom: 0;
}
h6#subjective-header {
    color: #5771A6;
}
.subjective_inner .dropdown.dropleft {
    margin-right: 5px;
}
.icons_right a img.img-fluid {
    max-width: 14px;
}

.subjective_inner {
    margin-bottom: 0px;
    padding-bottom: 10px;
}



/* Dropdown menu */


    /* Add a triangular pointer at the top of the dropdown */
.dropdown-menu .dropdown-arrow {
    position: absolute;
    top: 8px;
    right: -12px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #F9F9F9;
    transform: rotate(90deg);
}

    /* Menu item styles */


.dropdown-menu a {
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}
    .dropdown-menu a img {
        margin-right: 10px;
    }
.cust-drop {
    /* display: inline-block; */
    width: max-content;
    height: auto;
    padding: 0;
    background: transparent;
    min-width: auto;
    border: none;
    outline: none;
    box-shadow: none;
    line-height: normal;
}
    .cust-drop:active, .cust-drop:hover, .cust-drop:focus {
        width: max-content;
        height: auto;
        padding: 0;
        background: transparent;
        min-width: auto;
        border: none;
        outline: none;
        box-shadow: none;
        line-height: normal
    }
    .cust-drop:before {
        display: none;
    }
.dropdown-menu.show {
    display: block;
    width: 200px;
    background: #F9F9F9;
    border: none;
    fill: var(--White-Color, #F9F9F9);
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.15));
    padding:0;
}
.dropdown-menu a:hover {
    background: #DEF;
}
.tabs {
    display: flex;
    gap: 10px;
}

/* Individual tabs */

.tab {
    padding: 4px 12px;
    text-align: center;
    border-radius: 6px;
    background-color: #e9f3ff;
    color: #3c5aa6;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none !important;
}

    .tab.active {
        background-color: #cce7ff;
        color: #003a91;
        font-weight: 600;
    }


/* Tab content area */
.tab-content {
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
    color: #333;
}

.toast-success {
    background-color: #009620 !important;
    border: 1px solid #A0A8BA !important;
    box-shadow: none !important;
    border-radius: 1.7rem !important;
    display: flex;
    align-items: center;
    opacity: 1 !important;
}

.toast-top-right {
    right: 5.7rem !important;
}

.toast-close-button {
    right: -2.3rem !important;
    order: 2;
    font-size: 3rem !important;
    font-weight: 200 !important;
    min-width: 0 !important;
    height: 0 !important;
    top: 0 !important;
    opacity: 1 !important
}

.custom-toast-bg .toast-close-button {
    right: -1.5rem !important;
}

.toastCopiedSuccessfully .toast-close-button {
    right: -0.3rem !important;
}

    .toast-close-button:hover {
        color: #fff !important;
        opacity: 1 !important;
    }

.toast-message {
    font-size: 1.5rem;
    font-weight: 500;
}

.generatingDiv {
    font-family: Poppins;
    font-weight: 500;
    font-size: 2rem;
    line-height: 100%;
    text-align: center;
}

.generatingSubDiv {
    font-family: Poppins;
    font-weight: 300;
    font-size: 1.3rem;
    text-align: center;
}


@media(max-width:992px) {

    body {
        overflow-y: auto;
    }

    .popup-content {
        overflow-y: auto;
    }

    .right-icon-bar {
        position: relative;
        top: 10px;
        right: 0px;
        border-radius: 0px;
        flex-direction: row;
        gap: 10px;
    }

    .popup-content {
        display: flex;
        position: relative;
        /*top: 20px;*/
        right: 0px;
        width: 100%;
        height: 97vh;
        background-color: white;
        /*padding: 20px 0px;*/
        z-index: 1000;
        justify-content: space-between;
    }

    .chat-section {
        order: 2;
    }

    .sidebar {
        order: 1;
    }

    .container-fluid.main-content {
        order: 3;
    }

    .sidebar {
        display: none;
    }

    /*.chat-section, .sidebar {
        height: 50vh;
    }*/
}

@media(max-width:767px) {
    /*.popup-content.flex-wrap > div {
        width: 100%;
        margin-bottom: 60px;
    }*/

    .chat-section, .sidebar {
        height: 100%;
    }
}

.main_icon_parent_div{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.icons_style {
    width: 35px;
    height: 35px;
    cursor:pointer;
}

#patientList.list-group {
    overflow: auto;
    height: calc(100vh - 151px);
    scrollbar-width: thin;
}

.search-icon {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
}

.fw-bold {
    font-weight: 600;
}

.fs-11 {
    font-size: 1.1rem;
}

.fs-7 {
    font-size: 0.7rem;
}

.text-underline {
    text-decoration: underline;
}

.subjective-header {
    font-size: 0.9rem;
    color: #5771A6;
}

.doctorMainDiv {
    background-color: #F6F6F6;
    border-radius: .5rem;
}

.patientMainDiv {
    background-color: #EAF1FE;
    border-radius: .5rem;
}

.speakers {
    text-decoration: underline !important;
    font-weight: 400 !important;
    color: #5C5C5C !important;
    font-size: .8rem !important;
}

#toast-container>.custom-toast-bg {
    background-image: url("../Images/autopause.svg") !important;
    background-size: 2.2rem;
}

#toast-container>.session-end-toast-bg {
    background-image: url("../Images/sessionended.svg") !important;
    background-size: 2.2rem;
}

#toast-container>.toastCopiedSuccessfully {
    background-image: url("../Images/sessionended.svg") !important;
    background-size: 2.2rem;
}

#toast-container .custom-toast-bg {
    background-color: #009620 !important;
}

#toast-container .session-end-toast-bg {
    background-color: #009620 !important;
}

.spinner {
    width: 56px;
    height: 56px;
    display: grid;
    border-radius: 50%;
    -webkit-mask: radial-gradient(farthest-side,#0000 40%,#474bff 41%);
    background: linear-gradient(0deg,rgba(71,75,255,0.5) 50%,rgba(71,75,255,1) 0) center/4.5px 100%, linear-gradient(90deg,rgba(71,75,255,0.25) 50%,rgba(71,75,255,0.75) 0) center/100% 4.5px;
    background-repeat: no-repeat;
    animation: spinner-d3o0rx 1s infinite steps(12);
}

    .spinner::before,
    .spinner::after {
        content: "";
        grid-area: 1/1;
        border-radius: 50%;
        background: inherit;
        opacity: 0.915;
        transform: rotate(30deg);
    }

    .spinner::after {
        opacity: 0.83;
        transform: rotate(60deg);
    }

    .refreshIcon{
        border-radius: 6px;
    }

    #finlizebutton{
        width: fit-content;
    }

    #finlize{
        width: fit-content;
    }

    .patientNames {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-left: 0.3rem;
        width: 13rem;
    }

    .patientName1 {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-left: 0.3rem;
        width: 10rem;
    }

    .PatientNameList {
        width: 10rem;
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3rem;
    }

.recording-footer {
    font-size: .8rem;
    border-top: 1px solid #8CC1ED;
    text-decoration: underline;
    text-align: center;
    display: flex;
    justify-content: center;
    height: 3.4rem;
    gap: 6px;
    padding: 6px 6px;
    align-items: center;
}
@keyframes spinner-d3o0rx {
    100% {
        transform: rotate(1turn);
    }
}