@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500&display=swap'); */

body {
    background-color: #fff;
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    /* font-family: 'Google Sans', Roboto, Arial, sans-serif; */
    overflow-x: hidden;
}

li {
    list-style: none;
}

/* a,
a:hover {
    color: #fff !important;
} */

.login-container {
    width: 100%;
    padding: 2rem;
}

.login-sec {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo img {
    max-width: 200px;
}

.form-control::placeholder {
    color: #999;
}

.login-btn {
    background: linear-gradient(to right, #0f5a99, #00a0c6);
    border: none;
    color: #fff;
    padding: 10px;
}

.login-btn:hover {
    background: linear-gradient(to right, #0e4f89, #0092b5);
    color: #fff;
}


.footer-text {
    text-align: center;
    color: #979797;
    margin-top: 4rem;
}

.forgot-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    text-decoration: none;
    color: #748eb0;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    bottom: 1px;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
}

.login-sec label {
    color: #8b8b8b;
}

.login-sec label i {
    color: #20497e;
}

/* Dashboard Page */


.sidebar {
    background: linear-gradient(to bottom, #003366, #00bcd4);
    color: white;
    height: 95vh;
    padding: 5px 0 0 0;
    position: fixed;
    width: 60px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: width 0.3s ease;
    overflow: hidden;
    z-index: 10000;
}



.sidebar:hover {
    width: 250px;
}

.sidebar ul {
    width: 100%;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 25px;
    /* padding: 5px 15px; */
    text-decoration: none;
    color: white;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


.sidebar span {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar:hover span {
    opacity: 1;
}


.main-header img {
    width: 150px;
}

.case-section .case-heading {
    padding: 0 15px;
    background-color: #f1f6fa;
}

.case-section .case-heading h2 {
    font-size: 28px;
    color: #6f7173;
    font-weight: 400;
}

.sidebar img {
    width: 30px;
    margin: 15px 0;

    cursor: pointer;
}

.sidebar li {
    position: relative;
    text-align: center;
}

.sidebar li::before {
    content: '';
    position: absolute;
    background-color: #fff;
    height: 1px;
    left: 0px;
    right: 0;
    bottom: 0;
    width: 100%;

}

.search-container {
    position: relative;
}

.search-input {
    font-weight: 400;
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    height: 40px !important;
}

.search-icon {
    position: relative;
    top: 20%;
    right: 25px;
    /* transform: translateY(-50%); */
    color: #2c5282;
    /* deep blue */
    z-index: 11;
    cursor: pointer;
}

.add-case-btn {
    color: #fff;
    background: linear-gradient(to right, #1e5083, #0399a8);
    border: none;
    padding: 12px 25px;
}

.add-case-btn i {
    color: #195587;
    background: #fff;
    padding: 2px;
    border-radius: 2px;
    margin-right: 12px;
    font-size: 14px;
}

.table-bordered td,
.table-bordered th {
    border: 0;
    border-bottom: 1px solid #d7d7dd;
}

.table .thead-light th {
    background: none;
    font-weight: 400;
    color: #1e4980;
}

.table-responsive {
    padding: 10px 15px;
}

.table-responsive tr td {
    padding: 25px 11px !important;
    color: #767677;
}

.table-responsive tr td a i {
    font-size: 20px;
    color: #20497f;
}

.table-responsive tr td img {
    width: 40px;
}

.table-responsive tr td small {
    font-size: 14px;
    padding-top: 15px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    width: 90px;
    text-align: center;
}

.main {
    margin-left: 60px;
}

.main-header {
    background-color: #fff;
    padding: 5px 15px;
    position: sticky;
    top: 0;
    z-index: 111;
}

.main-header .right-icons i {
    margin-left: 20px;
    font-size: 18px;
    color: #000;
}

.main-header .right-side {
    display: flex;
    gap: 30px;
    justify-content: end;
}

.main-header .user img {
    width: 40px !important;
}

.main-header .right-side img {
    width: 35px;
}


.notifications-icon span {
    position: absolute;
    right: 0;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 70px;
}

.progress-container-new-line {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap; 
    gap: 30px;
    min-height: 70px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    position: relative;
    min-height: 66px;
}

.progress-step-new-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    position: relative;
    min-height: 66px;
    width: calc((100% - 150px) / 6); 
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    position: relative;
    min-height: 66px;
    width: calc((100% - 150px) / 6); /* exactly 6 per row */
}

.progress-step::after {
    content: "";
    position: absolute;
    top: 12px;
    left: 64%;
    width: 100px;
    height: 2px;
    background: #ccc;
    transform: translateY(-50%);
}


.progress-step-new-line::after {
    content: "";
    position: absolute;
    top: 12px;
    left: 64%;
    width: 100px;
    height: 2px;
    background: #ccc;
    transform: translateY(-50%);
}

.step-date {
    font-size: 10px;
    color: #777;
    margin-top: 2px;
    line-height: 1;
}

/* remove line after every 6th item */
.progress-step:nth-child(6n)::after {
    content: none;
}

/* remove line after every 6th item */
.progress-step-new-line:nth-child(6n)::after {
    content: none;
}

.progress-step-new-line:last-child::after {
    content: none;
}

.progress-step:last-child::after {
    content: none;
}

.circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #9b999a;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #9b999a;
    background-color: white;
    z-index: 1;
}

.circle.checked {
    background-color: white;
    color: #003366;
    border: 2px solid #003366;

}

.session-box {
    border: 1px solid #ccc;
    padding: 2px 10px 0 4px;
    font-size: 14px;
    margin: 0 10px;
    background: #fff;
    height: 26px;
    line-height: 20px;
    z-index: 11;
    width: 150px;
}

.session-box span {
    background: #d7d7d7;
    padding: 2px 15px;
    border-right: 3px solid #003366;
    margin-right: 10px;
}

.table td,
.table th {
    vertical-align: middle;
}

.page-link {
    padding: .7rem 1.25rem;
    border: 1px solid #6f6f6f;
}

.page-item.active .page-link {
    background: none;
    border-color: #6f6f6f;
    color: #fff !important;
    z-index: auto;
}

#customPagination {
    position: relative;
    top: -20px;
}

.table .thead-light th {
    width: 4% !important;
}

.page-link:hover {
    background: none;
    border-color: #6f6f6f;
}

.pagination li a {
    color: #6f6f6f !important;
}


.footer {
    background-color: #f5f9fc;
    padding: 15px 20px;
    position: fixed;
    bottom: 0;
    color: #767677;
    width: 100%;
    z-index: 111;
}


.modal-overlay {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}


/* .custom-modal {
    background: #fff;
    width: 100%;
    max-width: 90%;
    height: 850px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
} */

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ebf0f8;
    padding-bottom: 10px;
}

.modal-header h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 400;
    color: #555555;
}

.close-modal {
    cursor: pointer;
    font-size: 35px;
    font-weight: bold;
}

.modal-body {
    display: flex;
    margin-top: 0px;
    padding-top: 0;
}

.tab-buttons {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 30px;
}

.tab-btn {
    background: #ebf0f8;
    border: none;
    padding: 10px 15px;
    text-align: left;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 400;
    color: #979696;
}

.tab-btn.active {
    background: #e0ebff;
    color: #1f477c;
}

.tab-content-container {
    flex: 1;
    padding-left: 30px;
    border-left: 1px solid #ebf0f8;
    margin-left: 30px;
}

.tab-content {
    display: none;
}

.tab-content {
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    padding-top: 0;
}

.tab-content.active {
    display: block;
    max-height: 1000px;
    /* big enough value */
    padding-top: 10px;
}

.upload-section {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.upload-box {
    width: 150px;
    height: 150px;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 1px dashed #ccc;
}

.modal-body .button:hover {
    text-decoration: none;
}

.modal-body .button {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    position: absolute;
    bottom: 0;
    right: 10px;
    color: #fff;
    background: linear-gradient(to right, #1e5083, #0399a8);
    padding: 10px 15px;
}

.modal-body .btn {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}

.pf-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}


.pf-right-section {
    position: relative;
    top: 60px;
}

.pf-group {
    margin-bottom: 30px;
}


.pf-label {
    margin-bottom: 5px;
    font-size: 18px;
    color: #979696;
}

.pf-input,
.pf-select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
}

.pf-input[readonly] {
    background-color: #f5f5f5;
}



.pf-upload-box {
    position: relative;
    border-radius: 8px;
    padding: 0;
    text-align: center;
    color: white;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/profile_patient_pic.jpg');
    background-repeat: no-repeat;
    background-position: center 40%;
    background-size: 100% 100%;
    overflow: hidden;
}

.pf-upload-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(49, 88, 142, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    z-index: 2;
}

.pf-upload-box:hover .pf-upload-overlay {
    opacity: 1;
    visibility: visible;
}

.pf-upload-text {
    font-size: 18px;
    cursor: pointer;
    line-height: 1.4;
    margin-bottom: 12px;
}

.help-modal-button {
    background: #31588e;
    color: #fff;
    border: none;
    padding: 0px 10px;
    border-radius: 0px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 15px;
}

.help-modal-icon {
    margin-right: 6px;
    font-size: 24px;
}

.pf-footer {
    text-align: right;
    position: relative;
    bottom: 0px;
    right: 15px;
}

.pf-submit-button {
    background: linear-gradient(to right, #1b3764, #0299b1);
    color: white;
    border: none;
    width: 170px;
    height: 50px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

.button-custome {
    font-size: 20px;
    color: #20497f;
}


.pf-button {
    background: linear-gradient(to right, #1b3764, #0299b1);
    color: white;
    border: none;
    width: 170px;
    height: 50px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

.pf-submit-button.submit-btn {
    background: linear-gradient(to right, #545454, #979596);
}


.tab-sec-area img {
    /* width: 100%; */
    cursor: pointer;
    height: 260px !important;
    /* object-fit: fill; */
    object-position: center;
    padding-bottom: 15px;
}

#tab3 .image-container,
#tab3 .tab-sec-area img,
#tab4 .tab-sec-area img {
    height: auto;
}

#tab3 .tab-sec-area img,
#tab4 .tab-sec-area img {
    width: 100%;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.upload-grids {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

#extraOralPhotographs,
#intraOralPhotographs,
#radiographs {
    height: 475px;
    overflow-y: scroll;
}

.tab-sec-area h2 {
    color: #979696;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
}

.tab-sec-area p {
    color: #979696;
}

.missing-upload {
    border: 2px solid red !important;
    border-radius: 8px;
}


.invalid-upload {
    border: 2px solid red;
    box-sizing: border-box;
}


.help-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-lg {
    background: linear-gradient(to right, #003366, #00bcd4);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.button-md {
    background: linear-gradient(to right, #003366, #00bcd4);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.button-sm {
    background: linear-gradient(to right, #003366, #00bcd4);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.button-sm-reverse {
    background: white;
    color: #003366;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
    margin-bottom: 4px;
}




.help-modal-box {
    background: #fff;
    width: 90%;
    max-width: 900px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
#troubleshootpart1,
#troubleshootpart2 {
    height: 720px !important;
    overflow-y: scroll;
}


.help-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8f8;
    padding: 10px 15px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

.help-modal-title {
    font-size: 16px;
}

.help-modal-close {
    font-size: 18px;
    cursor: pointer;
}

.help-modal-body {
    padding: 0;
}

.help-modal-video-wrapper {
    position: relative;
    width: 100%;
    background: #555;
    aspect-ratio: 16 / 9;
}

.help-modal-video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
}

.help-modal-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    color: white;
    cursor: pointer;
}

.dataTables_filter,
#caseTable_length {
    display: none;
}

.table-bordered {
    border: none;
}

.pagination .page-link {
    margin-left: 0;
}

table.dataTable tbody tr:hover {
    background-color: #f6fafd;
    cursor: pointer;
}


table.dataTable tbody tr td:nth-child(6),
table.dataTable thead tr th:nth-child(6) {
    text-align: center;
}

#patientData {
    height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
}


@media (min-width: 2000px) and (max-width: 2560px) {
    body {
        font-size: 22px;
    }

    .table-responsive tr td {
        padding: 50px 12px !important;
    }

    .case-section .case-heading h2 {
        font-size: 38px;
    }

    .tab-buttons {
        flex: 0 0 330px;
    }

    .upload-grid {
        grid-template-columns: repeat(auto-fit, minmax(365px, 1fr));
    }

    .teeth-area td,
    .teeth-area th {
        min-width: 30px;
    }
}


@media (max-width: 1900px) and (min-width: 1601px) {
    .table-responsive tr td {
        padding: 20px 12px !important;
    }

    .table-responsive tr td small {
        font-size: 12px;
    }

    body {
        font-size: 16px;
    }
    .tab-content-container .overflow {
    height: 575px!important;
}

    #troubleshootpart1,
    #troubleshootpart2 {
        height: 650px !important;
    }

    #tab6 .form-container {
        height: 565px !important;
    }

    #patientData {
        height: 600px;
        overflow-y: auto;
        overflow-x: hidden;
    }


    .sidebar {
        padding: 0;
    }

    .notifications-icon span {
        font-size: 12px;
    }



    /* .tab-sec-area img {
        height: 200px;
    } */

    .tab-sec-area h2 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .tab-content.active,
    .tab-buttons {
        padding-top: 10px;
    }

    .modal-header {
        padding: 5px 15px;
    }

    .upload-grid {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    }

    #extraOralPhotographs,
    #intraOralPhotographs,
    #radiographs {
        height: 425px;
        overflow-y: scroll;
    }
}

@media (max-width: 1680px) and (min-width: 1600px) {
    .table-responsive tr td {
        padding: 16px 12px !important;
    }

    #patientData {
        height: 550px;
    }
    .progress-step::after{
        
    width: 90px;
    }

    #scans{
         height: 475px;  overflow-y: scroll;
    }

    .sidebar ul li i{
        font-size: 20px;
    }

    #extraOralPhotographs,
    #intraOralPhotographs,
    #radiographs {
        height: 425px;
        overflow-y: scroll;
    }
    
    .teeth-area td, .teeth-area th{
        min-width: 38px!important;
    }
    .table-responsive tr td small {
        font-size: 12px;
        width: 60px;
    }
}

@media (max-width: 1599px) and (min-width: 1367px) {
    .main-header img {
        width: 20%;
    }

    .progress-step::after {
        width: 90px;
    }

    .teeth-area td, .teeth-area th{
            min-width: 35px!important;
    }

    #patientData {
        height: 550px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .main-header .right-side img {
        width: 25px;
    }

    .pf-group {
        margin-bottom: 20px;
    }


    .main-header .user img {
        width: 30px !important;
    }

    .case-section .case-heading h2 {
        font-size: 24px;
    }

    .table-responsive tr td {
        padding: 24px 8px !important;
    }

    #extraOralPhotographs,
    #intraOralPhotographs,
    #radiographs,
    #scans {
        height: 350px;
        overflow-y: scroll;
    }

    body {
        font-size: 14px;
    }

    .table-responsive tr td small {
        font-size: 10px;
    }

    .table-responsive tr td small {
        width: 60px;
    }

    .table.table-bordered {
        margin-bottom: 0;
    }


    .sidebar {
        padding: 0;
    }

    .notifications-icon span {
        font-size: 10px;
    }

    /*     
    .tab-sec-area img {
        height: auto;
    } */

    .tab-sec-area h2 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .tab-content.active,
    .tab-buttons {
        padding-top: 10px;
    }

    .modal-header {
        padding: 5px 15px;
    }

    .upload-grid {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    }
}

@media (max-width: 1680px) and (min-width: 1600px) {
    .table-responsive tr td {
        padding: 22px 8px !important;
    }

    body,
    .table-responsive tr td small {
        font-size: 13px;
    }
}

@media (max-width: 1485px) and (min-width: 1400px) {
    .table-responsive tr td {
        padding: 24px 8px !important;
    }

    body,
    .table-responsive tr td small {
        font-size: 10px;
    }
        .teeth-area td, .teeth-area th {
        min-width: 25px !important;
    }
}

@media (max-width: 1399px) and (min-width: 1368px) {
    .table-responsive tr td {
        padding: 20px 8px !important;
    }

    .table .thead-light th {
        width: auto !important;
    }
}

@media (max-width: 1366px) and (min-width: 1280px) {
    body {
        font-size: 13px;
    }
    .custom-modal.doctor-modal{
    width: 900px!important;
} 

.tab-sec-area img{
    width: 100%;
}

    .tab-content.active,
    .tab-buttons {
        padding-top: 10px;
        height: 500px;
    }

    #patientData {
        height: 440px;
    }

    .pf-upload-box {
        height: 250px;
    }

    /* .mx-width{
        width: 135px;
    } */
    .table .thead-light th {
            width: 6% !important;
    }

    #extraOralPhotographs,
    #intraOralPhotographs,
    #radiographs {
              height: 340px;
        overflow-y: scroll;
    }

    .table-responsive tr td small {
        font-size: 11px;
        width: 70px;
    }

    .table-responsive tr td {
        padding: 20px 10px !important;
    }

    .notifications-icon span {
        font-size: 10px;
    }

    .sidebar {
        padding: 0;
    }

     .sidebar ul li i{
        font-size: 20px;
     }


     .teeth-area td,
    .teeth-area th {
        padding: 3px!important;
    min-width: 31px!important;
    }

    #troubleshootpart1, #troubleshootpart2{
        height: 480px !important;
    }
    /* .tab-sec-area img {
        height: 200px;
    } */

    #scans{
         height: 400px !important;
         overflow-y: scroll;
    }

    .notifications-icon span {
        font-size: 13px;
    }

    .tab-sec-area h2 {
        margin-bottom: 10px;
        font-size: 20px;
    }
    .tab-content-container .overflow {
    height: 420px!important;
}

    .tab-content.active,
    .tab-buttons {
        padding-top: 10px;
    }

    .modal-header {
        padding: 5px 15px;
    }

    .upload-grid {
        grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    }
}

@media (max-width: 1279px) and (min-width: 1200px) {
    body {
        font-size: 12px;
    }

    .table .thead-light th {
        width: auto !important;
    }

    .progress-step::after {
        width: 85px;
    }


    .table-responsive tr td small {
        font-size: 8px;
        width: 50px;
    }

    .table-responsive tr td {
        padding: 20px 10px !important;
    }

    .notifications-icon span {
        font-size: 10px;
    }

    .sidebar {
        padding: 0;
    }


    /* .tab-sec-area img {
        height: 200px;
    } */

    .notifications-icon span {
        font-size: 13px;
    }

    .tab-sec-area h2 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .tab-content.active,
    .tab-buttons {
        padding-top: 10px;
    }

    .modal-header {
        padding: 5px 15px;
    }

    .upload-grid {
        grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    }
}

@media (max-width: 1199px) and (min-width: 1100px) {
    .table-responsive tr td {
        padding: 22px 8px !important;
    }
    .teeth-area td, .teeth-area th{
            padding: 3px!important;
    min-width: 25px!important;
    }
    #troubleshootpart1, #troubleshootpart2 {
    height: 500px !important;
}
#scans{
    height: 500px !important;
    overflow-y: scroll;
}

    .case-section .case-heading h2 {
        font-size: 24px;
    }

    .table .thead-light th {
        width: auto !important;
    }
    .custom-modal.doctor-modal{
    width: 900px!important;
} 

    body {
        font-size: 12px;
    }
    .tab-content-container .overflow {
    height: 555px!important;
    }

    #extraOralPhotographs .upload-grids .tab-sec-area{
            width: 100%;
    } 
    .pf-button{
        padding: 13px 15px!important;
            font-size: 16px;
            bottom: 0!important;
    }
    .tab-sec-area img{
        width: 100%;
    }
    #patientData {
    height: 500px;
}
.pf-button{
        position: relative;
        bottom: 15px;
            padding: 10px;
}
.pf-submit-button{
        width: 150px;
            height: 45px;
                font-size: 16px;
}
.sidebar li i{
        font-size: 20px;
}
.pf-button{
        padding: 14px;
}


    .notifications-icon span {
        font-size: 13px;
    }

    .table-responsive tr td small {
        font-size: 8px;
        font-weight: 500;
        width: 50px;
    }

    .progress-step::after {
        width: 85px;
    }

    .session-box {
        width: 120px;
    }

    .session-box span {
        padding: 2px 6px;
    }

    .sidebar {
        padding: 0;
    }



    /* .tab-sec-area img {
        height: 200px;
    } */

    .tab-sec-area h2 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .tab-content.active,
    .tab-buttons {
        padding-top: 10px;
    }

    .modal-header {
        padding: 5px 15px;
    }

    .upload-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media (max-width: 1099px) and (min-width: 1000px) {
    .table-responsive tr td {
        padding: 24px 1px !important;
    }

    .case-section .case-heading h2 {
        font-size: 24px;
    }

    .table-responsive tr td img {
        width: 25px;
    }

      .teeth-area td, .teeth-area th{
            padding: 2.2px!important;
    min-width: 22px!important;
    }
    #troubleshootpart1, #troubleshootpart2 {
    height: 480px !important;
}

#scans{
    height: 480px !important;
    overflow-y: scroll;
}
.tab-content-container{
        padding-left: 15px;
    margin-left: 15px;
}

    .tab-sec-area img{
        width: 100%;
    }
    .tab-buttons {
    flex: 0 0 160px;
}
#troubleshootpart1, #troubleshootpart2 {
    height: 500px!important;
}

    .table-responsive tr td a i {
        font-size: 20px;
    }

    body {
        font-size: 11px;
    }
    .pf-label{
            font-size: 13px;
    }
    #patientData {
    height: 550px;
}
.tab-content.active{
        max-height: 700px;
}
#extraOralPhotographs, #intraOralPhotographs, #radiographs {
    height: 400px;
}
.pf-submit-button{
        width: 130px;
    height: 45px;
        font-size: 16px;
}
.pf-button{
        padding: 13px 15px!important;
            font-size: 16px!important;
}

    .notifications-icon span {
        font-size: 13px;
    }

    .table .thead-light th {
        width: auto !important;
    }

    .table-responsive tr td small {
        font-size: 8px;
        font-weight: 500;
        width: 50px;
    }

    .tab-content-container .overflow {
    height: 420px!important;
}
.custom-modal.doctor-modal{
    width: 900px!important;
} 

    .progress-step::after {
                width: 85px;
    }
    .sidebar ul li i{
        font-size: 20px;
    }

    .session-box {
        width: 120px;
    }

    .session-box span {
        padding: 2px 6px;
    }

    .sidebar {
        padding: 0;
    }


    /* .tab-sec-area img {
        height: 200px;
    } */

    .tab-sec-area h2 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .tab-content.active,
    .tab-buttons {
        padding-top: 10px;
    }

    .modal-header {
        padding: 5px 15px;
    }

    .upload-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}





@media (max-width: 991px) and (min-width: 768px) {
    .table-responsive tr td {
        padding: 10px 50px 10px 10px !important;
    }

    .table-responsive tr td a i {
        font-size: 20px;
    }

    .table-responsive tr td .mx-width {
        width: 135px;
    }

    .notifications-icon span {
        font-size: 14px;
    }

    .session-box {
        width: 110px;
    }

    .session-box span {
        padding: 2px 3px;

    }

    .table-responsive tr td small {
        font-size: 14px;
        width: 90px;
    }

    .table .thead-light th {
        width: auto !important;
    }

    .table-responsive tr td img {
        width: 30px;
    }

    body {
        font-size: 14px;
    }

    .page-link {
        padding: .7rem 1rem;
    }

    .custom-modal {
        overflow-y: scroll;
        height: 600px;
    }

    .modal-body {
        display: block;
    }

    .tab-content-container {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }



    .pf-footer {
        position: relative;
        bottom: -40px;
        padding-bottom: 30px;
    }

    .upload-grids {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (width: 820px) {
    .table-responsive tr td .mx-width {
        width: 145px;
    }

    body {
        font-size: 16px;
    }

    .table-responsive tr td {
        padding: 22px 50px 22px 10px !important;
    }
}

@media screen and (max-width: 767px) {
    .table-responsive tr td {
        padding: 10px 50px 10px 10px !important;
    }

    .table-responsive tr td a i {
        font-size: 20px;
    }

    .notifications-icon span {
        font-size: 11px;
    }

    .table-responsive tr td .mx-width {
        width: 135px;
    }

    .table .thead-light th {
        width: auto !important;
    }

    .main-header img {
        width: 75px;
    }

    .session-box {
        width: 110px;
    }

    .session-box span {
        padding: 2px 3px;

    }

    .table-responsive tr td small {
        font-size: 14px;
        width: 90px;
    }

    .table-responsive tr td img {
        width: 30px;
    }

    .page-link {
        padding: .7rem 1rem;
    }

    body {
        font-size: 14px;
    }

    .main-header .right-side img {
        width: 30px;
    }

    .main-header .right-side p {
        width: 75px;
    }

    .main-header .right-side {
        gap: 10px;
    }

    .main-header .right-side .user {
        display: flex;
        align-items: center;
    }

    .custom-modal {
        overflow-y: scroll;
        height: 500px;
    }

    .modal-body {
        display: block;
    }

    .tab-content-container {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }



    .pf-footer {
        position: relative;
        bottom: -40px;
        padding-bottom: 30px;
    }

    .upload-grids {
        grid-template-columns: repeat(2, 1fr);
    }

    .upload-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}


@media screen and (max-width: 360px) {
    .table-responsive tr td {
        padding: 0px 50px 0px 10px !important;
    }

    .page-link {
        padding: .7rem .7rem;
    }

    .main-header .right-side img {
        width: 25px;
    }
}








.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.modal-overlay.active {
    display: flex;
    /* show when active */
}

.custom-modal {
    background: #fff;
    width: 90%;
    /* max-width: 1200px; */
    max-height: 90vh;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-body {
    flex: 1;
    padding: 20px;
}

.btn-default {
    box-shadow: none;
}

.user {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-width: 150px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.user-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 5px 0;
}

.user-dropdown ul li {
    padding: 8px 15px;
}

.user-dropdown ul li a {
    text-decoration: none;
    color: #000 !important;
    display: block;
    font-size: 16px;
    border-bottom: 1px solid #dfdfdf;
}

.user:hover .user-dropdown {
    display: block;
}

.user i {
    font-size: 14px;
}

.user-dropdown li button {
    border: none;
    background: none;
    font-size: 16px;
    box-shadow: none;
    padding: 0;
}










/* trouble shoot tabs css */


.form-container input,
.form-container select {
    background: #fff;
    margin: auto;
    margin-bottom: 15px;
}

.font-weight-700 {
    font-weight: 700;
}

.teeth-area td,
.teeth-area th {
    border: 1px solid #ccc;
    padding: 8px;
    min-width:45px;
    position: relative;
}

.teeth-area .choose-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 12px;
    color: #000;
    cursor: pointer;
    position: relative;
    top: 0px;
    left: 0px;
}

.teeth-area select {
    display: none;
    position: absolute;
    bottom: 0%;
    left: 0;
    width: 100%;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    z-index: 10;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'><path fill='gray' d='M7 10l5 5 5-5z'/></svg>") no-repeat right 0px bottom;
    background-color: #fff;
    background-size: 20px;
}

.teeth-area select.show {
    display: block;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    width: 25px;
    left: 25px;
    border-radius: 0;
    height: 95%;
    top: 4px;
    font-size: 12px;
    margin-bottom: 4px;
}

.teeth-area .vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: bold;
}

.teeth-area .vertical-text {
    display: flex;
    justify-content: space-around;
    color: #000;
}

.teeth-area .lower {
    font-weight: bold;

    text-align: center;
}

.teeth-area .blue {
    background: #d9e9f7;
}

.teeth-area .blue-dark {
    background: #a0c4e4;
    font-weight: bold;
}

.teeth-area .green {
    background: #e2f5e2;
}

.teeth-area .green-dark {
    background: #b9e3b9;
    font-weight: bold;
}

.teeth-area .tick {
    color: #0a8f2c;
    font-size: 14px;
}

.teeth-area .tick-blue {
    color: #2e74b5;
    font-size: 14px;
}

.teeth-area .number {
    font-weight: bold;
    font-size: 16px;
    color: #000;
}

#tab6 .form-container {
    height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
}

.hidden {
    display: none;
}

.pf-label {
    margin-bottom: 5px;
    font-size: 15px;
    color: #979696;
}



@media (max-width: 1599px) and (min-width: 1367px) {

    #troubleshootpart1,
    #troubleshootpart2 {
        height: 550px !important;
    }

    #tab6 .form-container {
        height: 465px;
    }

    #troubleshootpart1 .form-container {
        height: 465px;
        overflow-y: auto;
    }

    .tab-content.active {
        height: 550px;
    }

    .tab-content-container .tab-content.active .overflow {
        height: 470px;
        overflow-y: auto;
    }
}

@media (max-width: 1900px) and (min-width: 1601px) {

    #troubleshootpart1,
    #troubleshootpart2 {
        height: 650px !important;
    }
    .teeth-area td, .teeth-area th{
            min-width: 42px;
    }
}


.plus-btn {
    background: linear-gradient(to right, #1b3764, #0299b1);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

.mins {
    background: linear-gradient(to right, #1b3764, #b10202e0);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

.tooltip-text {
  position: relative;
  cursor: pointer;
}

/* Tooltip content */
.tooltip-text::after {
  content: attr(data-tooltip); /* Use data-tooltip attribute for text */
  position: absolute;
  bottom: 125%; /* Show above the element */
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px 8px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 10;
}

/* Show tooltip on hover */
.tooltip-text:hover::after {
  opacity: 1;
  visibility: visible;
}