@font-face {
  font-family: "Gill Sans";
  src: url("../../fonts/vendor/fonts-gill/Gill Sans.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
@font-face {
    font-family: 'Titillium Web';
    src: local('Titillium Web Regular'), local('TitilliumWeb-Regular'), url(https://fonts.gstatic.com/s/titilliumweb/v5/7XUFZ5tgS-tD6QamInJTcZSnX671uNZIV63UdXh3Mg0.woff2) format('woff2');
}

/* Global CSS Variables */
:root {
  --primary-blue: #278ebb;
  --white: #fff;
  --light-gray: #f5f5f5;
  --light-blue: #C7DCEC;
  --border-color: #e7ecf1;
  --border-gray: #e7ecf1;
  --dark-blue: #2b3643;
  --very-light-gray: #f8f8f8;
  --secondary-blue: #05728f;
  --teal: #36c6d3;
  --red: #ed6b75;
  --orange: #fb9678;
  --blue: #2299dd;
  --green: #2ECC71;
  --blue-alt: #337ab7;
  --red-alt: #ef1c1c;
  --green-alt: #64DD17;
  --yellow: #FFD600;
  --blue-light: #29B6F6;
  --gray: #B0BEC5;
  --dark-gray-alt: #323a45;
  --blue-primary: #2196F3;
  --padding-small: 4px 8px;
  --padding-medium: 8px;
  --padding-large: 10px;
  --padding-xl: 15px;
  --padding-xxl: 20px;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-medium: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-xxl: 20px;
  --border-radius: 4px;
  --border-radius-full: 50%;
  --z-index-high: 999;
  --z-index-higher: 9999;
  --z-index-highest: 99991;
  --z-index-max: 99999;
  --transition: all 0.3s ease-in-out;
  --transition-slow: all 0.4s ease-in-out;
  --box-shadow: 0 0 11px rgba(33,33,33,.2);
  --box-shadow-hover: 0 0 25px rgba(33,33,33,.2);
  --box-shadow-inset: inset 0 0 0 13px rgba(255,255,255,0.6), 0 1px 2px rgba(0,0,0,0.1);
  --font-family: 'Titillium Web', Arial, sans-serif;
  --border-width: 1px;
}

body, h1, h2, h3, h4, h5, h6,
.page-header .navbar .navbar-nav>li>a{
  /* font-family: 'Gill Sans', serif; */
  font-family: var(--font-family) !important;
}
select optgroup {
    font-weight: bolder;
    display: block;
}
.wrapper{
  margin-bottom: 0 !important;
}
.page-content{
   /* padding: 80px 8px 0 8px; */
   padding: 0px 8px 0 8px;
   max-width: 1550px;
   margin: auto;
   overflow-x: hidden;
   padding-bottom: 0 !important;
   height: 94vh;
}
@media (max-width: 768px) {
   .page-content {
      padding-top: 60px;
   }
}
.page-content::-webkit-scrollbar,
.col-rx-form-container::-webkit-scrollbar,
.col-order-form-container::-webkit-scrollbar {
  display: none;
}
.portlet-datatable{
  margin-bottom:0 !important;
}
.portlet-body{
  padding-bottom:0 !important;
}
.app-logo{
  width: 100px !important;
}
.style-lable{
     padding-left: 0px !important;
   }
 .level-card{
  height: 130px;
  margin-bottom: 20px;
  padding: 20px;
}
.logs-potlex{
  height: auto;
}
a:link {
  text-decoration: none;
}
.collapse.in{
  display: table-row !important;
}
/*.dropdown-menu.show li{
  float: left;
}*/

.select2-container--default .select2-selection--multiple .select2-selection__choice{
 color: black !important;
}
.reports-table_prev i,.reports-table_next i{
   font-size: 20px;
}
.reports-table_details span{
   font-size: var(--font-size-xl);
   font-weight: bolder;
   color: #fb9678;
}
.no-appointments{
 display: none;
}
.style-cell{
 background-color:#D5DBDB;
 padding: 20px;
 font-size: 13px;
}
.border{
 border-right: 1px solid #fff; border-top: 2px solid #fff;
}
.btn-column{
  height: 100%;
}
.btn-column{
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.select-content{
  padding: 10px;
}
.mt-ladda-btn-style{
  width: 45% !important;
}
.ladda-button-width{
  width: 15%;
}
.aligned-stock-btn{
  text-align:right;
  margin-left: 0;
}
.stock-btn-container{
  margin:0 0 5px 0;
}
.m-grid-demo{
  margin-top:30px;
}
.zero-col-padding{
  padding: 0;
}
.m-0{
  margin: 0 !important;
}
.p-0{
  padding: 0 !important;
}
.pl-0{
  padding-left: 0 !important;
}
.pl-1{
  padding-left: .25rem!important;
}
.pl-2{
  padding-left: .5rem!important;
}
.pl-3{
  padding-left: .75rem!important;
}
.pl-4{
  padding-left: 1rem!important;
}
.pl-5{
  padding-left: 1.25rem!important;
}
@media only screen and (max-width: 1548px) {
  .ladda-button-width {
    width: auto;
  }
}
.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}
.order-info-box h3{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    width: 100%;
}
.cons-order-description{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    width: 100%;
}
.cons-order-price{
    font-size: var(--font-size-lg);
    font-weight: bold;
}
.blockElement{
  z-index: 99999 !important;
}
.static-info .barcode-info{
    padding: 5px 29px;
}
.sweet-alert{
  z-index: 99999 !important;
}
.blockUI{
  z-index: 99991 !important;
}
.form .form-body, .portlet-form .form-body{
  padding-top: 0px !important;
}
.btn-segment_choice{
    width: 33.3%;
    height: 54px !important;
    display: table;
}
.btn-frame_job_type_choice{
    width: 25%;
    height: 55px !important;
    display: table;
}
.btn-frame_type_choice{
    width: 16.6%;
    height: 55px !important;
    display: table;
}
.btn-frame_shape_choice{
    width: 25%;
    height: 82px !important;
    display: table;
}
.btn-frame_shape_choice img{
    width: 100%;
    height: 82px !important;
    object-fit: scale-down;
}
.btn-frame_shape_choice .label-txt{
    position: absolute;
    top: 41px;
    left: 50%;
}
.btn-frame_bevel_type_choice{
    width: 33.3%;
    height: 54px !important;
    display: table;
}
.btn-segment_choice .label-txt{
    white-space: initial;
    overflow: hidden;
    vertical-align: middle;
    display: table-cell;
}
.rx-form-content .form-group.form-md-line-input.form-md-floating-label .form-control~label{
  font-size: var(--font-size-xs) !important;
}
.rx-form-content .form-group.form-md-line-input{
  margin: 0 !important;
}
.rx-form-content .copy-distance{
  margin-top: 20px;
  margin-bottom: 0px;
  visibility: hidden;
}
.ind-label{
  padding: 0px 7px !important;
}
.ind-middle-label{
  padding: 2px 4px !important;
}
.rx-form-content .row{
  margin: 0 !important;
}
.bordered{
  border: 1px solid var(--border-color)!important;
}
.rx-form-content .mid-section .row:last-child div:first-child{
  margin-bottom: 15px;
}
.rx-form-content .mid-section{
  padding-left: 5px;
  padding-right: 5px;
}
.show-hide-btn{
/*  height: 147px;*/
  text-align: center;
  padding: 15px 0;
}
.show-hide-btn-container{
  height: auto;
  text-align: center;
  padding: 10px 0;
}
.rx-container-default_height{
  height: 188px;
}
#rx-order_form option:disabled{
  color: darkgrey !important;
}
.hide,.chide{
  display: none;
}
.v-hidden{
  visibility: hidden;
}
.no-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.no-margin {
  margin: 0 !important;
}
.p-t-10 {
  padding-top: 10px;
}
.p-b-10 {
  padding-bottom: 10px;
}
.p-t-20 {
  padding-top: 20px;
}
.m-t-20 {
  padding-top: 20px;
}
.color-red{
  color: red;
}
.remove-btn{
  position: absolute;
  right: 15px;
  z-index: 99991;
}
.showhide-container-btn{
  position: absolute;
    right: 8px;
    /* z-index: 99991; */
    top: -21px;
}
.shorter-coridor_padding{
  padding: 14px 0 37px 0;
}
.w-100{
  width: 100%;
}
.h-100{
  height: 100%;
}
@media only screen and (max-width: 600px) {
    .btn-segment_choice{
        width: 100%;
    }
    .btn-frame_job_type_choice,
    .btn-frame_type_choice{
        width: 100%;
    }
}
.single-checkbox{
    padding-top: 23px;
    margin-bottom: -5px !important;
}
/*.shape_heading{
    margin: -31px 0 33px 0;
}*/
.updated_checkbox .icheckbox_line-grey, .updated_checkbox .iradio_line-grey{
  padding: 5px 11px 5px 28px !important;
}
.md-radio-hlist .md-radio{
  width: 50%;
  float: left;
}
.read-only{
  opacity: 0.3;
}
/* Modal chat styles */

.container{max-width:1170px; margin:auto;}
img{ max-width:100%;}
.inbox_people {
  background: var(--very-light-gray) none repeat scroll 0 0;
  float: left;
  overflow: hidden;
  width: 40%; border-right:1px solid #c4c4c4;
}
.inbox_msg {
  border: 1px solid #c4c4c4;
  clear: both;
  overflow: hidden;
}
.top_spac{ margin: 20px 0 0;}


.recent_heading {float: left; width:40%;}
.srch_bar {
  display: inline-block;
  text-align: right;
  width: 60%;
}
.headind_srch{ padding:10px 29px 10px 20px; overflow:hidden; border-bottom:1px solid #c4c4c4;}

.recent_heading h4 {
  color: #05728f;
  font-size: 21px;
  margin: auto;
}
.srch_bar input{ border:1px solid #cdcdcd; border-width:0 0 1px 0; width:80%; padding:2px 0 4px 6px; background:none;}
.srch_bar .input-group-text button {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  padding: 0;
  color: #707070;
  font-size: var(--font-size-xl);
}
.srch_bar .input-group-text { margin: 0 0 0 -27px;}

.chat_ib h5{ font-size:15px; color:#464646; margin:0 0 8px 0;}
.chat_ib h5 span{ font-size:13px; float:right;}
.chat_ib p{ font-size:14px; color:#989898; margin:auto}
.chat_img {
  float: left;
  width: 11%;
}
.chat_ib {
  float: left;
  padding: 0 0 0 15px;
  width: 88%;
}

.chat_people{ overflow:hidden; clear:both;}
.chat_list {
  border-bottom: 1px solid #c4c4c4;
  margin: 0;
  padding: 18px 16px 10px;
}
.inbox_chat { height: 550px; overflow-y: scroll;}

.active_chat{ background:#ebebeb;}

.incoming_msg_img {
  display: inline-block;
  width: 6%;
}
.received_msg {
  display: inline-block;
  padding: 0;
  vertical-align: top;
  width: 100%;
 }
 .received_withd_msg p {
  background: var(--dark-blue) none repeat scroll 0 0;
  border-radius: var(--border-radius);
  color: #c3c3c3;
  font-size: var(--font-size-medium);
  margin-top: 5%;
  margin-bottom: 1%;
  padding: 5px 10px 5px 12px;
  width: 100%;
}
.time_date {
  color: #747474;
  display: block;
  font-size: var(--font-size-sm);
  margin: 8px 0 0;
  float: right;
}
.received_withd_msg { width: 100%;}

 .sent_msg p {
  background: #05728f none repeat scroll 0 0;
  border-radius: var(--border-radius);
  font-size: var(--font-size-medium);
  margin: 0; color:#fff;
  padding: 5px 10px 5px 12px;
  width:100%;
}
.outgoing_msg{ overflow:hidden; margin:26px 0 26px;}
.sent_msg {
  float: right;
  width: 46%;
}
.input_msg_write input {
  /* background: rgba(0, 0, 0, 0) none repeat scroll 0 0; */
  border-radius: var(--border-radius);
  border: medium none;
  color: #4c4c4c;
  font-size: 15px;
  min-height: 48px;
  width: 100%;
  padding: 10px;

}
.type_msg {
  border-top: 1px solid #c4c4c4;
  border-radius: 5px;
}
.msg_send_btn {
  background: #05728f none repeat scroll 0 0;
  border: medium none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  height: 33px;
  position: absolute;
  right: 5px;
  top: 8px;
  width: 33px;
}
.messaging { padding: 0 0 50px 0;}
.msg_history{
  height: auto;
  position: relative;
  top: 18rem;
}
.comment-input{
  display: block !important;
}

.comment-container {
  list-style-type: none;
  padding-left: 0px;
}
.time_date{
  margin-top: 0px;
}


/* Important part */
.logs-modal-dialog{
  overflow-y: initial !important
}
.logs-modal-body{
  height: 380px;
  overflow: auto;
  padding: 0 15px 15px 15px;
}
.logs-modal-footer,
.logs-modal-body{
  background: var(--dark-blue);
  border: none;
}
.logs-modal-header{
  border-radius: 7px 7px 0 0;
  background: var(--dark-blue);
  border-bottom: 2px solid #f3565d !important;
  color: aliceblue;
}
#logs-modal-content{
  border-radius: 11px 11px 0 0;
}
.logs-modal{
  margin-top: 2%;
}
/*****************************************Message*********************/
.modal-user-messages{
    padding: 0 10px;
    position: relative;
}
.modal-user-messages .post {
    transition: display .3s;
    padding: 5px 0;
    margin: 10px auto;
    font-size: 13px;
}
.modal-user-messages .post.in .avatar {
    float: left;
    margin-right: 10px;
}
.modal-user-messages .post .avatar {
    width: 45.71px;
    border-radius: 50%!important;
}
.modal-user-messages .post.in .message {
    text-align: left;
    margin-left: 55px;
}
.modal-user-messages .post .message {
    display: block;
    padding: 5px;
    position: relative;
    color: #90a1af;
    background: #414e58;
}
.modal-user-messages .post.in .message .arrow {
    display: block;
    position: absolute;
    top: 9px;
    left: -6px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right-width: 6px;
    border-right-style: solid;
    border-right-color: #414e58;
}
.modal-user-messages .post .name{
  color: #337ab7;
}
.modal-user-messages .post .datetime,
.modal-user-messages .post .name {
    font-size: var(--font-size-sm);
    font-weight: 300;
    color: white;
}
.modal-user-messages .post .body {
    color: #c3c3c3;
    display: block;
}
/*****************************************End Message*****************/

.message-td{
  margin: 5px 0;
}
.email-message{
  width: 60%;
}

.message-box{
  margin-top: 5%;
}
.notification-time{
  background-color: #eef1f5 !important;
}
.read_only{
  background-color: #eaedf2;
}
.is-invalid label .box,
.btn-group.is-invalid .btn-segment_choice{
  border: 1px solid #e73d4a !important;
}
.form-group select.required{
  color: initial;
}
.form-section .required{
    color: #e02222;
    font-size: 19px;
    padding-left: 2px;
}
.font-10{
    font-size: 10px;
}
.labels-indicator{
    max-width: 30px;
    padding-top: 5px !important;
}
.labels-indicator-middle{
    margin-top: 15px;
}
.left_space .col-md-3,
.left_space .col-md-4{
    padding-left: 30px;
    padding-right: 0px;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button{
  opacity: 1;
}
.safety_top-container{
    padding: 52px 0;
}
#left-final_rx,
#right-final_rx{
  margin-top: 19px;
}
#left-final_rx .label,
#right-final_rx .label{
    padding: 10px;
}
#right-axis,
#left-axis{
    padding-right: 0px;
}
.header-two_line_name{
  padding: 14px 6px 3px 8px !important;
}
.header-two_line_name img{
  margin-top: 0px !important;
}
.header-two_line_name .username{
  margin-top: -8px;
}

/* Side Panel Styling */

.view-order{
  cursor: pointer;
  color: #067DCF;
}

.w3-sidebar{
  top: 51px !important;
  z-index: 999 !important;
  width: 55% !important;
  height: 94.6% !important;
  box-shadow:5px 0px 24px 0px black;
  border-radius: var(--border-radius);
}
.side-content{
  position: relative;
  top:5em;
}

#rightMenu{
  overflow-x: hidden;
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 999;
  cursor: pointer;
}

.side-panel-stock_tabel, tr, td{
  border: none;
}

#rxOrdersTabel, tr, .center-text{
  text-align: 'center';
}

.subtablehead{
  background: var(--light-blue);
}
.apply-padding  {
  padding:5px 11px 5px 11px !important;
}

.bggray{
  background: #ECECDA;
}

.side-panel-consumable__image{
  width: 58% !important;
  margin-left:auto !important;
  margin-right: auto !important;
}

.side-panel-consumable__overlay{
  padding: 5% !important;
}

/* Consumable side panel order first td styling */
.modern {
  padding: var(--padding-medium) 15px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--border-radius);
  transition: all 0.3s ease-out;
  box-shadow:
  inset 0 1px 0 rgba(255,255,255,0.5), 0 1px 1px rgba(0,0,0,0.3), 0 0 1px 0px rgba(0,0,0,0.2);
  text-decoration: none;
  text-shadow: 0 1px rgba(255,255,255,0.7);
}
.table-hover>tbody>tr .modern:hover{
  box-shadow:0px 6px 6px -6px black;
}
.table-scrollable{
  overflow: visible;
}
@media only screen and (max-width: 796px) {
    .table-scrollable{
        overflow-y: scroll;
    }
}
.table .dropdown-menu{
  left: -110px;
}
.table .btn-group>.dropdown-menu:before,
.table .dropdown-toggle>.dropdown-menu:before,
.table .dropdown>.dropdown-menu:before{
  left: 146px;
}
.table .btn-group>.dropdown-menu:after,
.table .dropdown-toggle>.dropdown-menu:after,
.table .dropdown>.dropdown-menu:after{
  left: 146px;
}
.table .btn-group .btn{
  text-align: left;
}
.input-symbol{
  position: absolute;
  top: 27px;
  left: 31px;
}
.input-m-indicator::before {
  content: "+";
  position: absolute;
  left: -8px;
  top: 28px;
}
#rx-order_form .preview-large img {
	  border: none;
    cursor: pointer;
    max-width: 75%;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
#rx-order_form .preview-large {
    display: none;
    top: -93px;
    z-index: 99999;
    padding: 5px;
    position: absolute;
    right: -11px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    max-height: 190px;
    overflow: hidden;
    text-align: center;
}
#rx-order_form .coating-preview-color img{
    max-width: 40% !important;
}
.feeds li .col2{
  width: 150px;
  margin-left: -150px;
}
.rx-form-content .shadow{
    transition: box-shadow .3s;
    -webkit-box-shadow: 0 0 11px rgba(33,33,33,.2);
    -moz-box-shadow: 0 0 11px rgba(33,33,33,.2);
    box-shadow: 0 0 11px rgba(33,33,33,.2);
}
.rx-form-content .shadow:hover {
  box-shadow: 0 0 25px rgba(33,33,33,.2);
}
.btn-group-notification{
  margin: 0 30px 0 15px;
}
.page-header .navbar .topbar-actions .btn-group-notification:after {
    top: 11px;
    width: 1px;
    content: " ";
    right: -17.5px;
    border-width: 25px;
    position: absolute;
    border-color: #3e4952;
    border-top-style: solid;
}
.d-block{
    display: block;
}
.split-table span,
.split-container table span{
    padding-bottom: 5px;
}
.split-table tbody tr,
.split-container table tbody tr{
    cursor: pointer;
}
.split-table tbody tr.active,
.split-container table tbody tr.active{
    background: #f3f4f6 !important;
}
.split-table,
.split-container table{
    border: 1px solid var(--border-color);
}

.split-table thead {
    position: sticky !important;
    top: 0;
    z-index: 1;
    background: white;
}
.box-shadow{
    transition: box-shadow .3s;
    -webkit-box-shadow: 0 0 11px rgba(33,33,33,.2);
    -moz-box-shadow: 0 0 11px rgba(33,33,33,.2);
    box-shadow: 0 0 11px rgba(33,33,33,.2);
}
.box-shadow:hover {
  box-shadow: 0 0 25px rgba(33,33,33,.2);
}
.order-details-container .tab-pane{
    padding: 0px 8px;
    position: relative;
    width: 100%;
    height: auto;
    overflow-x: hidden;
}
.order-details-container .nav-tabs .nav-link {
   border-radius: 0;
}
.order-details-container .nav-tabs li {
   cursor: pointer;
}
.order-details-container .nav-tabs {
   display: flex !important;
   flex-direction: row !important;
}
.order-details-container .nav-tabs li {
   display: inline-block !important;
   float: none !important;
}
.nav-pills .nav-link.active {
  background-color: transparent; /* Ensures no background fill */
  color: black !important; /* Keeps white text; remove if not needed */
  border-top: 2px solid #dc3545; /* Red horizontal line on top; adjust thickness as needed */
  border-radius: var(--bs-nav-pills-border-radius) var(--bs-nav-pills-border-radius) 0 0; /* Optional: Flatten bottom radius for a tab-like look */
}

.adjust_height-container {
   height: calc(100vh - 216px);
}
.tab-pane {
    height: calc(100vh - 280px) !important;
}
#comment-tab-wrapper {
   height: calc(100vh - 348px);
  position: relative;
  overflow-y: auto;
}

@media (max-width: 768px) {
   .order-details-container .tab-pane {
      min-height: 300px;
   }
}
.chatpageloader{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: hidden;
    background: rgba(255,255,255,0.5);
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid var(--primary-blue);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--primary-blue) transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
#tab_invoice object{
  width: 100%;
  /* height: auto; */
}
/*
*
*Order comments tab
*/
.media {
  margin-top: 12px;
  position: relative;
  display: block !important;
}
.media:first-child {
  margin-top: 0;
}

.media,
.media-body {
  zoom: 1;
  overflow: hidden;
}

.media-body {
  width: 10000px;
}

.media-object {
  display: block;
}
.media-object.img-thumbnail {
  max-width: none;
}

.media-right,
.media > .pull-right {
  padding-left: 10px;
}

.media-left,
.media > .pull-left {
  padding-right: 10px;
}

.media-left,
.media-right,
.media-body {
  display: table-cell;
  vertical-align: top;
}

.media-middle {
  vertical-align: middle;
}

.media-bottom {
  vertical-align: bottom;
}

.media-heading {
  margin-top: 0;
  margin-bottom: 5px;
}

.media-list {
  padding-left: 0;
  list-style: none;
}


.info_form .form-group {
    margin-bottom: 0 !important;
}
/***
TODO Page
***/
/*--------------------------------------------------
    [TRANSITION]
----------------------------------------------------*/
/* Cubic Bezier Transition */
.todo-ui {
  margin-top: 20px;
}

.todo-sidebar {
  float: left;
  width: 230px;
  margin-right: 20px;
}

.todo-content {
  overflow: hidden;
}

.todo-tasklist-item-border-green {
  border-left: #3faba4 2px solid;
}

.todo-tasklist-item-border-blue {
  border-left: #4c87b9 2px solid;
}

.todo-tasklist-item-border-purple {
  border-left: #8877a9 2px solid;
}

.todo-tasklist-item-border-red {
  border-left: #d05454 2px solid;
}

.todo-tasklist-item-border-yellow {
  border-left: #d4ad38 2px solid;
}

.padding-top-10px {
  padding-top: 15px;
}

.todo-userpic {
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  border-radius: 50% !important;
  border: 1px #cedae1 solid;
}

/* .todo-text-color {
  color: #45535b;
} */

/* PROJECT LIST */
.todo-projects-config {
  padding: 6px 9px 3px 9px !important;
}
.todo-projects-config > i {
  font-size: var(--font-size-medium) !important;
}
.todo-projects-config > .fa-angle-down {
  position: relative;
  display: inline-block;
  top: -1px;
  font-size: 13px !important;
  color: #f2f2f2;
}

.todo-tasklist {
  padding: 0;
}

.todo-project-list ul li a {
  font-size: var(--font-size-medium) !important;
  padding: var(--padding-medium) 10px;
}

.todo-project-list .nav li a .badge {
  float: right;
  background-color: #b4c4cd !important;
  margin-top: 1px !important;
}

.todo-project-list .nav li a .badge-active {
  background-color: #ffffff !important;
  color: #637b89 !important;
}

.todo-project-list .nav .active {
  background-color: #ffffff !important;
}

.todo-project-list .nav-pills > li.active > a {
  background-color: #87a9c7 !important;
}

/* END PROJECT LIST */
/* TASK HISTORY */
.todo-task-history {
  padding: 0;
  margin: 0;
}
.todo-task-history > li {
  padding: 5px 0;
}
.todo-task-history > li > .todo-task-history-desc {
  overflow: hidden;
}
.todo-task-history > li > .todo-task-history-date {
  font-size: var(--font-size-sm);
  float: right;
  width: 150px;
  margin-left: 10px;
  text-align: right;
  color: #999;
}

/* TASKS LIST */
.todo-tasklist-item {
  background: #f6fbfc;
  padding: 10px;
  margin-bottom: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}
.todo-tasklist-item:last-child {
  margin-bottom: 0;
}

div .todo-tasklist-item:hover {
  cursor: pointer;
  background-color: #edf7f9;
}

.todo-tasklist-item img {
  margin: 0 10px 10px 0;
}

.todo-tasklist-item-title {
  font-size: 15px;
  color: #2b4a5c;
  font-weight: 600;
  padding-top: 3px;
  padding-bottom: 13px;
}

.todo-tasklist-item-text {
  font-size: 13px;
  color: #577688;
  padding-bottom: 5px;
}

.todo-tasklist-item ul {
  margin: 5px 0 0 0px;
}

.todo-tasklist-item li {
  color: #577688;
  font-size: 13px;
  margin-right: 10px;
  margin-bottom: 5px;
  padding: 0 !important;
}

.todo-tasklist-item li i {
  color: #b3bfcb;
  font-size: 15px;
}

.todo-tasklist-controls {
  margin-top: 5px;
}

.todo-tasklist-date {
  color: #637b89 !important;
  margin-right: 12px;
}

.todo-tasklist-date i {
  color: #abbfca !important;
  margin-right: 5px;
}

.todo-tasklist-badge {
  background-color: #b3bfcb;
}

/* END TASKS LIST */
/* TASK BODY */
.todo-taskbody-tasktitle {
  font-size: var(--font-size-xl);
  color: #778d96;
}

.todo-taskbody-taskdesc {
  font-size: var(--font-size-medium);
  color: #778d96;
}

.todo-username {
  font-size: var(--font-size-lg);
  color: #2b4a5c;
  font-weight: 600;
  padding: 15px 0 0 15px;
}

.todo-username-btn {
  margin: 14px 0 0 15px;
  color: #566e7c;
  border-color: #a2aeb5;
}

.todo-username-btn:hover {
  color: #fff;
  background-color: #a1b6c2;
  border-color: #a1b6c2;
}

.form .form-actions.todo-form-actions {
  padding-top: 10px;
  border: 0;
  margin: 0 0 20px 0;
}
.page-header .navbar .navbar-nav>li>a{
   padding: 12px 12px !important;
   font-size: 13px !important;
}
.page-header .navbar .navbar-nav>li>a:hover{
   background-color: var(--primary-blue);
   color: white;
}
.custom-page-header .fixed-top {
   left: calc((100vw - 1550px) / 2);
   max-width: 1550px;
   width: 100%;
}
@media (max-width: 1550px) {
    .custom-page-header .fixed-top {
       left: 0;
    }
}
@media (max-width: 768px) {
   .custom-page-header {
      margin-top: 30px;
   }
   .topbar-actions {
      position: absolute;
      right: 15px;
      top: 10px;
      z-index: 10;
   }
}
.custom-page-header .navbar .container-fluid {
   padding: 0 8px;
}

/* END TASK BODY */
/* RESPONSIVE MODE */
@media (max-width: 991px) {
  /* 991px */
  .todo-sidebar {
    float: none;
    width: 100%;
    margin: 0;
  }
  .todo-sidebar > .portlet {
    margin-bottom: 20px;
  }
  .todo-sidebar > .portlet .portlet-title .tools {
    margin-left: 5px;
  }

  .todo-content {
    overflow: visible;
  }
}
.todo-tasklist-devider {
  display: none;
}

@media (max-width: 767px) {
  /* 767px */
  .todo-tasklist-devider {
    display: block;
    height: 20px;
    margin: 20px -10px;
    background: #F1F3FA;
  }

  /* TASK HISTORY */
  .todo-task-history > li {
    padding: 9px 0;
  }
  .todo-task-history > li > .todo-task-history-date {
    width: 100px;
    font-size: var(--font-size-xs);
  }
}
.float-right{
  float: right;
}
.float-left{
  float: left;
}
/*
*
* Theme Layout Changes
*
*/
.custom-page-header .navbar-collapse{
}
@media (min-width: 992px){
  .custom-page-header .navbar-collapse {
      margin-top: 0px !important;
  }
  .custom-page-header .clearfix{
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  .custom-page-header .topbar-actions{
      top: 0px;
  }
  .page-on-scroll .custom-page-header .topbar-actions{
    top: 2px;
  }
  .custom-page-header .dropdown-menu-v2,
  .page-on-scroll .custom-page-header .dropdown-menu-v2{
    margin: 9px 0 0;
    z-index: 1000;
  }
}
@media (min-width: 991px){
  .mega-menu .dropdown-menu-fw {
      left: 10px;
      right: 10px;
      background: var(--primary-blue) !important;
      color: white;
  }
}
.custom-page-header .navbar .navbar-nav .dropdown-menu>li>a,
.custom-page-header .navbar .navbar-nav .dropdown-menu>li>a>i,
.custom-page-header .navbar .navbar-nav .dropdown-menu>li>a:hover{
    color: white !important;
}
/*.custom-page-header{
  height: 100px;
}*/
.custom-page-header .navbar .navbar-nav .dropdown-menu>li>a{
  padding: 15px 15px 15px 30px;
}
.custom-page-header .navbar-fixed-top{
  padding: 35px 25px 0px 25px;
  /* max-width: 1550px; */
  /* margin: auto; */
}
.page-on-scroll .custom-page-header .navbar-fixed-top{
  padding: 37px 25px 0px 25px;
}
.custom-page-header .navbar .navbar-nav>li>a{
  color: #d6d6d6;
}
.custom-page-header .page-logo img {
   height: 56px;
   object-fit: contain;
}
.custom-page-header .navbar .navbar-nav li.open:hover>a,
.custom-page-header .navbar .navbar-nav li.open>a,
.custom-page-header .navbar .navbar-nav li.mselected:hover>a,
.custom-page-header .navbar .navbar-nav li.mselected>a{
  background: #fff;
}
.page-header .navbar .navbar-nav li.mselected>a {
    background: #fff;
    color: #000;
}
.page-header .navbar .navbar-nav li.mselected>a:hover {
    background: #fff;
    color: #000;
}
/*
*
* End Theme Changes
*
*/
.notifications-badge{
    position: absolute;
    top: -9px;
    right: 0px;
}

.notifications-badge-counter{
  position: absolute;
  top: -9px;
  right: 0px;
}

.page-header .navbar .topbar-actions .btn-group-img .profile-btn{
  height: 55px;
}
.page-header .navbar .topbar-actions .btn-group-img .profile-btn span{
  padding-right: 15px;
  color: white;
}
.page-header .navbar .topbar-actions .btn-group-img .profile-btn:hover{
  background: #009dc7;
}
.page-header .navbar .topbar-actions .dropdown-menu-v2>li>a{
  color: white;
  font-weight: normal;
}
.profile-ddl-icon{
    margin-top: -9px;
    padding-right: 10px;
}
.profile-ddl-icon i{
  color:#009dc7;
}
.split-table tbody tr.active td{
  background: var(--primary-blue) !important;
  color: white;
}
.split-table .label{
  border: 1px solid #000000;
}

.page-footer {
    padding: 33px 25px 7px 25px;
    /* font-size: 13px; */
    height: 33px;
}
.page-footer-inner{
    color: white !important;
    text-align: left;
    position: relative;
    left: 0;
}

/* Responsive styles for footer */
@media (max-width: 768px) {
    .page-footer-inner {
        text-align: left;
        left: auto;
    }
}
.comment-descp-p {
  background-color: var(--light-gray); /* Light gray */
  padding: var(--padding-medium) 12px;
  border-radius: 14px;
  display: inline-block;
  margin-top: 5px;
}
.frontend .comment-descp-p{
    width: 72%;
}
textarea.error{
    border: 1px solid #fb0000 !important;
}
.order-type-icon{
  width: 35px;
  height: 35px;
}
.position-relative{
  position: relative;
}
.rx-form-container .rx-section{
    margin-bottom: 10px !important;
}
.rx-form-container .rx-section .title{
    padding-left: 15px;
}
.rx-form-container .cancel-button{
    position: absolute;
    right: 15px;
    top: -7px;
}
.single-item{
    margin-top: 10px;
    position: absolute;
    right: 6px;
    top: 47px;
}
.d-flex {
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
}
.p-1 {
    padding: 0.25rem!important;
}
.p-2 {
    padding: 0.5rem!important;
}
.p-3 {
    padding: 0.75rem!important;
}
.p-4 {
    padding: 0.1rem!important;
}
.m-3 {
    margin: 0.75rem!important;
}
.m-2 {
    margin: 0.5rem!important;
}
.m-1 {
    margin: 0.25rem!important;
}
.prism-container .prism-list{
  padding: 0 5px;
}
.prism-container .ind-label{
  padding: 0 5px !important;
  font-size: 70%;
}
/*
Rx Draggable Content
*/
.draggable-wrapper{
  position: absolute;
  top: 125px;
  left: 90%;
  max-width: 200px;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  transform: translate(-50%, -50%);
  box-shadow: 10px 10px 15px rgba(0,0,0,0.06);
  cursor: move;
  opacity: 0.5;
}
.draggable-wrapper:hover{
  opacity: 1;
}
#generic_price_table{
  background-color: #f0eded;
}

/*PRICE COLOR CODE START*/
#generic_price_table .generic_content{
  background-color: #fff;
}

#generic_price_table .generic_content .generic_head_price{
  background-color: #f6f6f6;
}

#generic_price_table .generic_content .generic_head_price .generic_head_content .head_bg{
  border-color: #e4e4e4 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #e4e4e4;
}

#generic_price_table .generic_content .generic_head_price .generic_head_content .head span{
  color: #525252;
}

#generic_price_table .generic_content .generic_head_price .generic_price_tag .price .sign{
    color: #414141;
}

#generic_price_table .generic_content .generic_head_price .generic_price_tag .price .currency{
    color: #414141;
}

#generic_price_table .generic_content .generic_head_price .generic_price_tag .price .cent{
    color: #414141;
}

#generic_price_table .generic_content .generic_head_price .generic_price_tag .month{
    color: #414141;
}

#generic_price_table .generic_content .generic_feature_list ul li{
  color: #a7a7a7;
}

#generic_price_table .generic_content .generic_feature_list ul li span{
  color: #414141;
}
#generic_price_table .generic_content .generic_feature_list ul li:hover{
  background-color: #E4E4E4;
  border-left: 5px solid #2ECC71;
}

#generic_price_table .generic_content .generic_price_btn a{
  border: 1px solid #2ECC71;
    color: #2ECC71;
}

#generic_price_table .generic_content.active .generic_head_price .generic_head_content .head_bg,
#generic_price_table .generic_content:hover .generic_head_price .generic_head_content .head_bg{
  border-color: #337ab7 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #337ab7;
  color: #fff;
}

#generic_price_table .generic_content:hover .generic_head_price .generic_head_content .head span,
#generic_price_table .generic_content.active .generic_head_price .generic_head_content .head span{
  color: #fff;
}

#generic_price_table .generic_content:hover .generic_price_btn a,
#generic_price_table .generic_content.active .generic_price_btn a{
  background-color: #2ECC71;
  color: #fff;
}

/*PRICE BODY CODE START*/

#generic_price_table .generic_content{
  overflow: hidden;
  position: relative;
  text-align: center;
}

#generic_price_table .generic_content .generic_head_price .generic_head_content{
  margin: 0 0 20px 0;
}

#generic_price_table .generic_content .generic_head_price .generic_head_content .head_bg{
    border-style: solid;
    border-width: 56px 1411px 23px 399px;
  position: absolute;
}

#generic_price_table .generic_content .generic_head_price .generic_head_content .head{
  padding-top: 20px;
  position: relative;
  z-index: 1;
}

#generic_price_table .generic_content .generic_head_price .generic_head_content .head span{
    font-size: 27px;
    /*font-weight: 400;*/
    /*letter-spacing: 2px;*/
    margin: 0;
    padding: 0;
    /*text-transform: uppercase;*/
}

#generic_price_table .generic_content .generic_head_price .generic_price_tag{
  padding: 0 0 1px;
}

#generic_price_table .generic_content .generic_head_price .generic_price_tag .price{
  display: block;
}

#generic_price_table .generic_content .generic_head_price .generic_price_tag .price .sign{
    display: inline-block;
    font-family: "Lato",sans-serif;
    font-size: 28px;
    font-weight: 400;
    vertical-align: middle;
}

#generic_price_table .generic_content .generic_head_price .generic_price_tag .price .currency{
    font-family: "Lato",sans-serif;
    font-size: 60px;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 60px;
    padding: 0;
    vertical-align: middle;
}

#generic_price_table .generic_content .generic_head_price .generic_price_tag .price .cent{
    display: inline-block;
    font-family: "Lato",sans-serif;
    font-size: 24px;
    font-weight: 400;
    vertical-align: bottom;
}

#generic_price_table .generic_content .generic_head_price .generic_price_tag .month{
    font-family: "Lato",sans-serif;
    font-size: var(--font-size-xl);
    font-weight: 400;
    letter-spacing: 3px;
    vertical-align: bottom;
}

#generic_price_table .generic_content .generic_feature_list ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

#generic_price_table .generic_content .generic_feature_list ul li{
  font-family: "Lato",sans-serif;
  font-size: var(--font-size-xl);
  padding: 15px 0;
  transition: all 0.3s ease-in-out 0s;
}
#generic_price_table .generic_content .generic_feature_list ul li:hover{
  transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -ms-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  -webkit-transition: all 0.3s ease-in-out 0s;

}
#generic_price_table .generic_content .generic_feature_list ul li .fa{
  padding: 0 10px;
}
#generic_price_table .generic_content .generic_price_btn{
  margin: 20px 0 32px;
}

#generic_price_table .generic_content .generic_price_btn a{
    border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  -webkit-border-radius: 50px;
    display: inline-block;
    font-family: "Lato",sans-serif;
    font-size: var(--font-size-xl);
    outline: medium none;
    padding: 12px 30px;
    text-decoration: none;
    text-transform: uppercase;
}

#generic_price_table .generic_content,
#generic_price_table .generic_content:hover,
#generic_price_table .generic_content .generic_head_price .generic_head_content .head_bg,
#generic_price_table .generic_content:hover .generic_head_price .generic_head_content .head_bg,
#generic_price_table .generic_content .generic_head_price .generic_head_content .head h2,
#generic_price_table .generic_content:hover .generic_head_price .generic_head_content .head h2,
#generic_price_table .generic_content .price,
#generic_price_table .generic_content:hover .price,
#generic_price_table .generic_content .generic_price_btn a,
#generic_price_table .generic_content:hover .generic_price_btn a{
  transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -ms-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  -webkit-transition: all 0.3s ease-in-out 0s;
}
#generic_price_table_home ul{
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: table;
}
#generic_price_table_home li{
  float: left;
}
#generic_price_table_home li + li{
  margin-left: 10px;
  padding-bottom: 10px;
}
#generic_price_table_home li a{
  display: block;
  width: 50px;
  height: 50px;
  font-size: 0px;
}
#generic_price_table_home .blue{
  background: #3498DB;
  transition: all 0.3s ease-in-out 0s;
}
#generic_price_table_home .emerald{
  background: #2ECC71;
  transition: all 0.3s ease-in-out 0s;
}
#generic_price_table_home .grey{
  background: #7F8C8D;
  transition: all 0.3s ease-in-out 0s;
}
#generic_price_table_home .midnight{
  background: #34495E;
  transition: all 0.3s ease-in-out 0s;
}
#generic_price_table_home .orange{
  background: #E67E22;
  transition: all 0.3s ease-in-out 0s;
}
#generic_price_table_home .purple{
  background: #9B59B6;
  transition: all 0.3s ease-in-out 0s;
}
#generic_price_table_home .red{
  background: #E74C3C;
  transition:all 0.3s ease-in-out 0s;
}
#generic_price_table_home .turquoise{
  background: #1ABC9C;
  transition: all 0.3s ease-in-out 0s;
}

#generic_price_table_home .blue:hover,
#generic_price_table_home .emerald:hover,
#generic_price_table_home .grey:hover,
#generic_price_table_home .midnight:hover,
#generic_price_table_home .orange:hover,
#generic_price_table_home .purple:hover,
#generic_price_table_home .red:hover,
#generic_price_table_home .turquoise:hover{
  border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
  transition: all 0.3s ease-in-out 0s;
}
#generic_price_table_home .divider{
  border-bottom: 1px solid var(--border-gray);
  margin-bottom: 20px;
  padding: 20px;
}
#generic_price_table_home .divider span{
  width: 100%;
  display: table;
  height: 2px;
  background: var(--border-gray);
  margin: 50px auto;
  line-height: 2px;
}
#generic_price_table_home .itemname{
  text-align: center;
  font-size: 50px ;
  padding: 50px 0 20px ;
  border-bottom: 1px solid var(--border-gray);
  margin-bottom: 40px;
  text-decoration: none;
    font-weight: 300;
}
#generic_price_table_home .itemnametext{
    text-align: center;
    font-size: 20px;
    padding-top: 5px;
    text-transform: uppercase;
    display: inline-block;
}
.tab-content object {
    width: 100%;
    height: 100%;
}
.form-group.form-md-line-input.form-md-floating-label .form-control[readonly]~label{
  top: 25px !important;
  color: #c3c3c3 !important;
}
.summary-heading{
    background-color: #F5F5F5;
    padding: 4px 0px;
    font-size: var(--font-size-medium);
    margin:0;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-1 {
  margin-bottom: 0.25rem!important;
}
.mb-2 {
  margin-bottom: 0.5rem!important;
}
.mb-3 {
  margin-bottom: 0.75rem!important;
}
.mb-4 {
  margin-bottom: 1rem!important;
}
.mb-5 {
  margin-bottom: 1.25rem!important;
}
.mt-0 {
  margin-top: 0 !important;
}
.mt-1 {
  margin-top: 0.25rem!important;
}
.mt-2 {
  margin-top: 0.5rem!important;
}
.mt-3 {
  margin-top: 0.75rem!important;
}
.mt-4 {
  margin-top: 1rem!important;
}
.mt-5 {
  margin-top: 1.25rem!important;
}
.type-icons{
  width: 34px;
}

.order-status {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-flow: wrap;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

#statusText {
  height: 20px;
}

.ship-date {
    height: 15px;
    font-size: var(--font-size-sm);
}

.split-table tr.active .label.label-outlined.label-primary{
  color: white !important;
  border-color: white !important;
}
.label.label-outlined {
  border-width: 1px;
  border-style: solid;
  background-color: transparent;
  border-radius: 0.85em;
}

.label.label-outlined.label-default {
  border-color: #B0BEC5;
  color: #B0BEC5
}

.label.label-outlined.label-primary {
  border-color: #2196F3;
  color: #2196F3;
}

.label.label-outlined.label-secondary {
  border-color: #323a45;
  color: #323a45
}

.label.label-outlined.label-info {
  border-color: #29B6F6;
  color: #29B6F6
}

.label.label-outlined.label-success {
  border-color: #64DD17;
  color: #64DD17
}

.label.label-outlined.label-warning {
  border-color: #FFD600;
  color: #FFD600
}

.label.label-outlined.label-danger {
  border-color: #ef1c1c;
  color: #ef1c1c
}
.label.label-sm{
  font-size: var(--font-size-xs);
}
.custom-dropzone .dz-preview{
  margin: 14px !important;
}
.custom-dropzone .dz-remove span i{
  color: red;
  cursor: pointer !important;
}
.custom-dropzone .dz-preview .dz-image{
    width: 100% !important;
    height: 100% !important;
}
.custom-dropzone .dz-preview{
    width: 20%;
}
.custom-dropzone .dz-preview .dz-details{
  display: none;
}
.custom-dropzone .dz-preview:hover .dz-image img{
    -webkit-transform: inherit !important;
    -moz-transform: inherit !important;
    -ms-transform: inherit !important;
    -o-transform: inherit !important;
    transform: inherit !important;
    -webkit-filter: inherit !important;
    filter: inherit !important;
}
.order_notification-counter{
    position: absolute;
    top: 13px;
    right: 5px;
}
.feeds li.un-read .col2>.date,
.feeds li.un-read .cont-col2{
    color: #ed6b75 !important;
}
.form-group.form-md-line-input .form-control.edited:not([readonly])~label:after{
    background: #e7e7e7;
}
.form-control:focus{   
    border-color: #36c6d3 !important;
}
.select2-container--focus + label:after {
    background: #36c6d3 !important;
}
.hover-open-list .dropdown-menu>li.active:hover>a, 
.hover-open-list .dropdown-menu>li.active>a, 
.hover-open-list .dropdown-menu>li:hover>a{
  background: var(--primary-blue) !important;
  opacity: 0.7;
}
.label-asterick{
  font-size: 20px;
    position: absolute;
    font-weight: bold;
    /* left: 36px; */
    top: -6px;
    padding-left: 3px;
    color: #ed6b75;
}
#right-intermediate_strength .label-asterick{
    right: 2px;
}
@media only screen and (max-width: 480px) {
    .page-header .navbar .topbar-actions{
        position: absolute !important;
        top: 16px;
    }
    .custom-page-header .navbar-fixed-top{
        padding: 20px 5px 0px 25px;
    }
    .page-header .navbar>.container-fluid{
      padding: 0;
    }
    .page-header .navbar .navbar-toggle{
          margin: 8px 0 7px 0px;
    }
    .page-header .navbar .topbar-actions .btn-group-img .profile-btn{
          right: -26px;
    }
}
@media only screen and (max-width: 767px) {
    .form-error-toaster{
        width: 90% !important;
        left: 5% !important;
    } 
    .page-header .topbar-actions .btn-group-img .btn>span{
        display: inline-block !important;
            font-size: 10px;
    }
}
.dropdown-menu-child{
  background-color: var(--primary-blue) !important;
  display: none !important;
  flex-direction: row !important;
  position: fixed !important;
  top: 39px !important;
  left: calc((100vw - min(100vw, 1560px)) / 2) !important;
  width: min(100vw, 1555px) !important;
}
.hover-open-list.show .dropdown-menu-child{
  display: flex !important;
}
.dropdown-menu-child li{
  float: none !important;
}
.dropdown-menu-child li a:hover{
  background: #1e6bb8 !important;
}

/* Light blue background for table headings in non-backend tables */
.split-table th {
  background-color: var(--light-blue) !important;
  color: black;
  font-weight: bold;
  border-left: none !important;
  border-right: none !important;
}

/* Move search and clear buttons to the right in non-backend tables */
/* .split-table tfoot td {
  text-align: right;
} */
.order-view-container::-webkit-scrollbar {
  display: none;
}
.check-backslashes span:not(:last-child)::after {
  content: " / "; 
  /* margin-right: 5px; */
}
.order-view-container {
    box-sizing: border-box; /* Ensure padding/margins don't affect height */
}

/* Frames and Cron Tab css start */
/* Adjust styles for screens >= 1280px and < 1920px */
@media (min-width: 1280px) and (max-width: 1919px) {
  .extend-width {
      width: 17% !important;
      flex: 0 0 17% !important;
  }

  .grid-container {
      width: 83% !important;
      flex: 0 0 83% !important;
      max-width: 85vw;
  }
}

/* Adjust styles for screens >= 1920px and <= 2560px */
@media (min-width: 1920px) and (max-width: 2560px) {
  .extend-width {
      width: 14% !important;
      flex: 0 0 14% !important;
  }

  .grid-container {
      width: 86% !important;
      flex: 0 0 86% !important;
      max-width: 85vw;
  }
}

/* Adjust styles for screens > 2560px */
@media (min-width: 2561px) {
  .extend-width {
      width: 8% !important;
      flex: 0 0 8% !important;
  }

  .grid-container {
      width: 92% !important;
      flex: 0 0 92% !important;
      max-width: 90vw;
  }
}
.extend-width {
  width: 21%;
  flex: 0 0 21%;
}

.grid-container {
  width: 79%;
  flex: 0 0 79%;
  overflow: auto;
  justify-content: flex-start;
  display: block;
  max-width: -webkit-fill-available;
}

/* Frames and Cron Tab css end */

/*order status grid css start */

[type='color'] {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    width: 15px;
    height: 15px;
    border: none;
  }
  
  [type='color']::-webkit-color-swatch-wrapper {
    padding: 0;
  }
  
  [type='color']::-webkit-color-swatch {
    border: none;
  }
  
  .color-picker {
    padding: 7px 7px;
    border-radius: var(--border-radius);
    border: 1px solid #ccc;
    background-color: #f8f9f9;
  }

  .main-color-picker {
      display: flex;
      align-items: center;
  }
  
  .color-code, .pick-color {
      flex: 1;
      display: flex;
      align-items: center;
      cursor: pointer;
  }

  input.input-color-picker {
    width: 49%;
}
  
  .order-status-table {
      position: relative;
      max-height: 970px;
  }
  
  .order-status-table thead {
      position: sticky;
      top: -1px;
      background-color: #fff;
      z-index: 1; 
  }
/*order status grid css end */

.change-log p {
    font-size: var(--font-size-sm);
    color: #FF7F7F;
    margin-top: 0px;
}
.operation-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row-reverse;
    align-content: center;
    gap: 10px;
}

/* Order feedback form css start */
#feedback-section, #feedback-success-message {
    display: flex;
    align-content: stretch;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 50px
}

/* Order feedback form css end */
/* Sender div styling - light gray background */
.col-md-12.p-0 {
  border-radius: var(--border-radius);
  margin-bottom: 10px;
}

#toast-container > div {
  opacity: 1 !important;
}

/* Chat Container code start */

.chatbot-messages {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: white;
}

.comment-box-container .container-fluid {
    display: flex;
    flex-direction: column-reverse; /* The magic property! */
}

/* Message Thread */
.comment-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Add this to your stylesheet */
.comment.current-user-bg {
    background-color: #f0f0f0; /* Gray background for current user */
    border-radius: var(--border-radius);
    padding: var(--padding-medium);
}

.comment.other-user-bg {
    background-color: #ffffff; /* White background for other users */
    border-radius: var(--border-radius);
    padding: var(--padding-medium);
}

.media-body.todo-comment {
    position: relative;
    word-wrap: break-word;
    max-width: 80%;
    padding: 16px;
    background: #f1f1f1;
}

li.media.comment {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    border-style: ridge;
}

.media.comment .comment-content {
    padding: 10px 15px;
    border-radius: var(--border-radius);
    margin-top: 5px;
    word-wrap: break-word;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
    position: relative;
    /* max-width: 72%; */
    min-width: 120px;
    white-space: normal; /* Allow text wrapping */
}

.comment-content {
    margin-left: 43px;
    width: 90%; /* Default width */
     display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Short messages (<= 40 chars) */
.comment-content.too-short-text {
    width: auto;
    max-width: 300px;
}

/* Medium messages (41-100 chars) */
.comment-content.short-text {
    width: auto;
    max-width: 500px;
}

.comment-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-info {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-left: 6px;

}

/* Current user messages (blue) */
.todo-comment .comment-content.current-user-bg {
    background-color: white !important;
      color: black !important;
}

.todo-comment .comment-content.other-user-bg {
    background-color: white !important;
    color: #333 !important;

}

.media.comment[data-owner="other-user"] .comment-content,
.media.comment.reply[data-owner="other-user"] .comment-content {
  background-color: white;
  color: #333;
}

.media.comment[data-owner="current-user"] .comment-content,
.media.comment.reply[data-owner="current-user"] .comment-content {
  background-color: #d3e3fd;
  color: black;
}


/* Replies Container */
.replies-container {
    margin-left: 58px;
    background-color: #f1f1f1;
    border-radius: 0px;
    margin-top: 15px;
}

.replies-container .media-body.todo-comment {
    background-color: white;
    border-radius: var(--border-radius);
}

/* Remove background from comment content in replies */
.replies-container .comment-content {
    background-color: transparent !important;
    padding: 0 !important;
    margin: -6px 40px !important;
    box-shadow: none !important;
    color: #333 !important;
    width: auto !important;
    min-width: unset !important;
}

 /* Modified style when editing */
  .comp-cmt-tab-edit-btn.active ~ .replies-container .comment-content {
    width: 94% !important;
  }


/* Header styling in replies */
.replies-container .comment-header {
    margin-bottom: 4px;
}

/* Avatar in replies */
.replies-container .comment-avatar {
    width: 24px;
    height: 24px;
}

/* Username in replies */
.replies-container .todo-comment-username {
    font-size: 13px;
}

/* Date in replies */
.replies-container .todo-comment-date {
    font-size: var(--font-size-xs);
}

/* Hover effect for replies */
.replies-container .media.comment.reply:hover {
    background-color: #f9f9f9;
}

/* Last reply shouldn't have bottom margin */
.replies-container .media.comment.reply:last-child {
    margin-bottom: 0;
}

/* Avatar */
.comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  /* margin-right: 8px; */
}

.todo-comment-username {
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.todo-comment-date {
  /* opacity: 0.8; */
   font-size: var(--font-size-sm);
  color: #666;
}

/* Message Type Badges */
.comment-type {
    font-size: var(--font-size-xs);
    padding: 2px 8px;
    margin-left: auto;
    font-weight: 500;
    color: white;
    border-radius: var(--border-radius) !important;
}

/* Action Buttons */
/* Edit/Delete buttons container */
.comment-actions {
    display: inline-flex;
    gap: 3px;
    float: right;
    margin-top: 6px;
}

.comment-actions-append {
    display: flex;
    gap: 2px;
    margin-top: -15px;
    margin-left: 43px; /* Align with message content */
    float: none;
    clear: both;
}

.comment-actions-append-reply {
    display: flex;
    gap: 3px;
    margin-top: 6px;
    padding: var(--padding-medium);

}
/* Edit comment wrapper */
.edit-comment-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edit-comment-textarea {
    width: 100% !important;
    resize: none;
    padding: 10px;
    border: 1px solid var(--border-gray);
    border-radius: var(--border-radius);
    max-height: 80px !important;
    min-height: 80px !important;

}

/* Edit actions buttons */
.edit-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}


/* Button styles */
.comment-action {
    padding: 4px 12px;
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.comment-action {
    color: inherit;
    opacity: 0.8;
    transition: opacity 0.2s;
    white-space: nowrap;
    display: inline-block;
}

/* Edit button */
.comment-action.comp-cmt-tab-edit-btn {
    color: #3598dc;
    border-color: #2a7ebd;
}

/* Delete button */
.comment-action.comp-cmt-tab-delete-btn {
    color: #e7505a;
    border-color: #d43f3a;
}

/* Remove the old button styles */
.comment-content::after {
    display: none;
}


.comment-action:hover {
    opacity: 1;
    text-decoration: none;
}

/* Make sure buttons stay visible */
.comment-content::after {
    content: "";
    display: inline-block;
    width: 100px; /* Reserve space for buttons */
}

.action-btn {
    padding: 4px 7px 3px;
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

/* Quick Reply Buttons (Left Side) */
.cmnt-reply-yes,
.cmnt-reply-no,
.cmnt-reply-ok,
.cmnt-reply-done {
  background-color: white;
  color: #4285f4;
  border: 1px solid var(--border-gray);
}

.float-right {
    float: right;
}

.action-btn:hover {
    text-decoration:none;
}
.add-comment-btn:not(:last-child) {
    margin-right: 1rem;
}

.cmnt-reply-yes:hover,
.cmnt-reply-no:hover,
.cmnt-reply-ok:hover,
.cmnt-reply-done:hover {
  background-color: #659be0;
  color: white;
  border-color: #4285f4;
}

/* Reply Button (Right Side) */
.cmnt-reply {
    margin-left: auto;
    color: #FFF;
    background-color: #3598dc;
    border-color: #3598dc;
}

.cmnt-reply:hover {
  background-color: #3367d6;
  border-color: #3367d6;
  color: white !important; /* Ensure text stays white on hover */
}

/* Reply Form */
.reply-form-container {
  margin-top: 10px;
  padding-left: 57px; /* Align with content */
}

.reply-form-container {
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.reply-textarea {
    min-height: 80px;
    max-height: 80px;
    width: 100%;
    resize: none;
    padding: 10px;
    border: 1px solid var(--border-gray);
    border-radius: var(--border-radius);
    box-sizing: border-box;
}

.pull-right {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

/* Button Group in Reply Form */
.reply-form-container > div {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .media.comment {
    max-width: 90%;
  }
  
  .replies-container {
    margin-left: 30px;
  }
}


/* Animation for error state */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}



/* Comment Box Container Styles */
.comment-box-container {
    position: relative;
    transition: all 0.3s ease;
    margin-top: -12px;
}

.comment-box-container.raised {
    margin-top: 0;
    margin-top: -93px;
    padding: 5px;
}

/* Textarea Styles */
#comment_textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-gray);
    border-radius: var(--border-radius);
    max-height: 84px !important;
    min-height: 84px !important;
}

#comment_textarea.error {
    border-color: #f44336;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.2);
}

/* Buttons Container */
#textarea-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 0;
    margin-top: 5px;
}

/* Action Buttons Container */
 #action-buttons {
    width: 100%;
    display: flex;
}

#action-buttons .ms-auto {
    margin-left: auto; /* Pushes to right */
}

/* Second Layout (Phone Log + Note + Ask Customer) */
#action-buttons .d-flex.me-2 {
    margin-right: auto; /* Left group stays left */
}

#action-buttons .btn.blue {
    margin-left: auto; /* Ask Customer goes right */
}

/* Button Styles */
.add-comment-btn {
    margin: 0;
    padding: var(--padding-medium) 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    
    .add-comment-btn {
        width: 100%;
        justify-content: center;
    }

    #action-buttons, 
    #action-buttons .d-flex {
        flex-direction: column;
    }
    
    #action-buttons .me-auto,
    #action-buttons .ms-auto,
    #action-buttons .btn.blue {
        margin: 5px 0;
        width: 100%;
    }
}

/* Add this CSS to your stylesheet */
.comment-content .comment-action {
    display: block;
    margin: 5px 0;
    padding: 2px 5px;
}

.comment-content .comp-cmt-tab-edit-btn,
.comment-content .comp-cmt-tab-delete-btn {
    display: block;
    margin: 5px 0;
    text-align: left;
    width: 100%;
}

.comment-content .comment-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 5px;
}

.unread-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ff0000;
    border-radius: 50%;
    margin-left: 5px;
    vertical-align: middle;
}

/* Smooth scrollbar for the whole chatbot messages list */
.chatbot-messages {
    height: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: y proximity;
}

.chatbot-messages > li {
    scroll-snap-align: start;
}
.ps__thumb-y {
    background: #888 !important;
    border-radius: var(--border-radius) !important;
    width: 7px !important;
}

.ps__thumb-y:hover {
    background: #555 !important;
}

/* Global WebKit Scrollbar Styles */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: var(--border-radius);
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

/* Hide scrollbar by default for nscroller elements */
.nscroller::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* Show scrollbar on hover for nscroller elements */
.nscroller:hover::-webkit-scrollbar {
    width: 7px;
}

.nscroller:hover::-webkit-scrollbar-thumb {
    background: #888;
}

.nscroller:hover::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.nscroller:hover::-webkit-scrollbar-track {
    background: var(--light-gray);
}

/* Global Firefox Scrollbar Styles */
/* * {
    scrollbar-width: thin;
    scrollbar-color: #888 var(--light-gray);
} */
/* For Firefox */
.chatbot-messages {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}
/* Optionally, for replies as well */
.replies-container > .media.comment {
    scroll-snap-align: start;
}
/* Chatbot code end */

/* Admin setting page css start */
.ver-inline-menu.admin li a {
    display: flex;
    align-items: center;
    height: 37px;
    font-size: var(--font-size-medium);
    padding: 0 4px;
    border-left: solid 1px #c4d5df;
}

/* Consumable portlet body responsive height */
.display-portlet-body {
    max-height: 60vh;
    overflow: auto;
}
.assets-portlet-body {
    max-height: 84vh;
    overflow: auto;
}
/* Admin setting page css end */

/* ========== BASE CONTAINER STYLES ========== */
.order-info-container {
    position: initial;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.scrollable-content-box {
   -webkit-overflow-scrolling: touch;
    /* border: solid 1px var(--border-gray); */
    flex: 1;
    margin-top: 8px;
    border-top: 1px solid var(--border-gray);
}

.scrollable-content-box.admin-view {
    display: flex;
    flex-direction: column;
    height: 500px; /* or your desired height */
    overflow: hidden;
}

/* Make order-summary-container scrollable */
.scrollable-content-box.admin-view .order-summary-container {
    overflow-y: auto;
    min-height: 0;
}


.order-summary-quantity {
    width: 40px; 
    font-weight: bold;
    padding: var(--padding-small);
}


/* ========== ORDER INFORMATION STYLES ========== */
.order-info-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

/* First Row Column Widths */
.order-info-row.add-border .order-info-column:nth-child(1) { /* Account */
    width: 26%;
}
.order-info-row.add-border .order-info-column:nth-child(2) { /* Submitted On */
    width: 23%;
}
.order-info-row.add-border .order-info-column:nth-child(3) { /* Patient/Reference */
    width: 35%;
}
.order-info-row.add-border .order-info-column:nth-child(4) { /* Order No */
    width: 16%;
}

/* Dynamic adjustment when Patient/Reference column is missing (consumables) */
.order-info-row.add-border.consumables .order-info-column:nth-child(1) { /* Account */
    width: 42%;
}
.order-info-row.add-border.consumables .order-info-column:nth-child(2) { /* Submitted On */
    width: 43%;
}
.order-info-row.add-border.consumables .order-info-column:nth-child(3) { /* Order No - now 3rd column */
    width: 15%;
}

/* Make all columns equal height */
.order-info-row.customer-admin {
    display: flex;
    align-items: stretch;
}

/* Column structure */
.order-info-column {
    display: flex;
    flex-direction: column;
}

.order-info-value {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: var(--padding-small);
}

/* Second Row Column Widths */
.order-info-row.customer-admin .order-info-column:nth-child(1) { /* Invoice */
    width: 14%;
}
.order-info-row.customer-admin .order-info-column:nth-child(2) { /* Tray */
    width: 13%;
}
.order-info-row.customer-admin .order-info-column:nth-child(3) { /* ETA */
    width: 11%;
}
.order-info-row.customer-admin .order-info-column:nth-child(4) { /* Order Type */
    width: 27%;
}
.order-info-row.customer-admin .order-info-column:nth-child(5) { /* Status */
    width: 35%;
}


.order-info-header,
.order-info-value {
    padding: var(--padding-small) !important;
}

.order-info-header.admin {
    display: flex;
    justify-content: left;
}

.order-info-header {
    background-color: var(--light-gray);
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
}


.order-info-value {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: var(--padding-small);
}

/* Specific styling for order type label */
.order-type-label {
    display: inline-flex;
    align-items: center;
    min-height: 24px; /* Match status label height */
}

/* Status value alignment */
.order-info-value.status {
    align-items: center;
}

/* Border Radius for First Row */
.order-info-row.add-border .order-info-column:first-child .order-info-header {
    border-top-left-radius: 4px;
}
.order-info-row.add-border .order-info-column:last-child .order-info-header {
    border-top-right-radius: 4px;
}


.order-info-value.status {
    padding-left: 8px !important;
}

.order-info-value b {
    font-weight: lighter;
}

.order-info-value.admin {
    padding: 9px;
    justify-content: left;
}

.order-section-header {
    background-color: var(--light-blue);
    padding: var(--padding-medium);
    font-weight: bold;
    margin: 10px 0 5px 0;
    text-align: left;
}

.stock-sub-header .row {
    margin-right: -15px !important;
    margin-left: -15px !important;
}

#patient-field {
    margin-left: 8px;
}

.stock-btn-container-summary {
    border-top: 1px solid var(--border-color);
    padding: var(--padding-medium);    
}

.stock-detail-row {
    margin-top: 10px;
}

.stock-detail-column {
    width: 25%;
    margin-bottom: 5px;
}

.stock-detail-column .order-info-header,
.stock-detail-column .order-info-value {
    text-align: center;
}

.form-section.order-summary {
    text-align: center;
    margin-top: auto;
}
.lens-side-col.stock-summary {
    border-top-left-radius : 0px !important;
}
.lens-price-col.stock-summary {
    border-top-right-radius: 0px !important;
}

/* ========== ORDER SUMMARY STYLES ========== */
.order-summary-container, 
.order-summary-grid {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    margin-bottom: 8px;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}
/* .scrollable-content-box .order-summary-container {
    border: none !important;
} */
.section-header {
    font-weight: bold;
    background-color: var(--light-blue);
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    padding-left: 8px;
}

.section-header-row {
    font-weight: bold;
    background-color: var(--light-gray);
    height: 29px;
    display: flex;
    align-items: center;
    padding: var(--padding-small);
}

.reference-info-header {
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

.reason-content,
.package-content,
.multipair-content {
    margin-top: 4px;
}

/* ========== TABLE STRUCTURES ========== */
.lens-order-table,
.rx-order-table {
    display: grid;
}

.lens-order-table.admin-view {
    grid-template-columns: 1fr 46px 46px 40px 50px;
}

.lens-order-table.customer-view {
    grid-template-columns: 1fr 50px 50px 40px;
}

.lens-order-table.admin-view .order-summary-table-header .lens-qty-col-main {
    border-top-right-radius: 0px !important;
}

.rx-order-table {
    grid-template-columns: 1fr;
}

.order-summary-table-header, 
.table-row-stock {
    display: contents;
}

.order-summary-table-header > div {
    padding: var(--padding-small);
    background-color: var(--light-blue);
    font-weight: bold;
    text-align: center;
}

.table-row-stock > div {
    padding: var(--padding-small);
    display: flex;
    align-items: center;
}

/* ========== COMMON ROW STYLES ========== */
.order-summary-item,
.rx-lens-row,
.rx-data-row,
.rx-frame-row,
.rx-frame-details-row,
.rx-frame-size-row,
.rx-frame-options-row,
.rx-modify-shape-row,
.rx-addons-row,
.rx-repairs-row,
.rx-repair-desc-row,
.rx-job-row,
.rx-instructions-row,
.rx-additional-prices,
.rx-note-row {
    display: flex;
    margin-bottom: 2px;
    padding: 4px 0px;
}

.order-summary-item {
    padding: 0px 0px !important;
}
/* ========== COLUMN STYLES ========== */
.lens-side-col,
.rx-side-col {
    display: flex;
    align-items: center;
    padding: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-top-left-radius: 4px;
}

.rx-side-col {
    padding: 0px 8px;
    font-weight: bold;
    text-align: center;
    letter-spacing: -9px;
    align-self: self-start;
}

.lens-side {
    font-weight: bold;
    min-width: 16px;
    align-self: self-start;
}

.lens-spec-col {
    white-space: normal;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lens-data-col,
.rx-data-col {
    justify-content: center;
    text-align: center;
    padding: 2px 8px;
    align-self: self-start;
}

.rx-data-col {
    /* flex: 1; */
    min-width: 15%;
    display: flex;
    justify-content: center;
}

.lens-price-col {
    justify-content: flex-end !important;
    text-align: right !important;
    padding-right: 8px !important;
    border-top-right-radius: 4px;
    font-weight: bold;
    align-self: self-start;
}

.rx-price-col {
    justify-content: flex-end !important;
    text-align: right !important;
    padding-right: 8px !important;
    border-top-right-radius: 4px;
    font-weight: bold;
}

.rx-order-table.admin-view .rx-price-col {
    display: block;
    text-align: right;
    padding-right: 8px !important;
    font-weight: bold;
}

.rx-order-table.customer-view .rx-price-col {
    display: none;
}

.lens-qty-col,
.lens-qty-col-main {
    justify-content: center !important;
    text-align: center !important;
    align-self: self-start;
}

.lens-qty-col-main {
    border-top-right-radius: 4px;
}

/* ========== DETAILS STYLES ========== */
.order-summary-details,
.rx-lens-details,
.rx-frame-details,
.rx-frame-size-details,
.rx-frame-options,
.rx-modify-shape-details,
.rx-addons-details,
.rx-repairs-details,
.rx-repair-desc,
.rx-job-details,
.rx-instructions-details,
.rx-additional-detials,
.rx-note-col {
    flex: 1;
    padding: 4px;
    word-break: break-word;
}

.rx-lens-details,
.rx-frame-details,
.rx-frame-size-details,
.rx-frame-options,
.rx-modify-shape-details,
.rx-addons-details,
.rx-repairs-details,
.rx-repair-desc,
.rx-job-details,
.rx-instructions-details,
.rx-additional-detials,
.rx-note-col {
    padding: 0px 8px;
}

/* ========== PRICING STYLES ========== */
.total-price-container,
.rx-total-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    padding-right: 8px !important;
}

.total-price-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
}
.rx-total-row {
    justify-content: space-between;
    padding: var(--padding-medium) 0;
    margin-top: 8px;
    border-top: 1px solid var(--border-gray);
}

.total-price-label,
.rx-total-label {
    font-weight: bold;
}

.total-price-value,
.rx-total-value {
    font-weight: bold;
    color: #2d3748;
    margin-left: 4px;
}

.rx-total-value {
    color: #2a6496;
}

.rx-price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.rx-price-label {
    font-weight: normal;
}

.rx-price-amount {
    font-weight: bold;
}

/* ========== MISC STYLES ========== */
.patient-note {
    font-size: var(--font-size-medium);
    margin-bottom: 25px;
    padding: 10px;
    background-color: #f8f9fa;
    display: flex;
    gap: 10px;
    height: 23px;
}

.no-order-summary {
    text-align: center;
    padding: 10px;
}

.tab-pane#tab_order {
    position: relative;
    padding-bottom: 50px;
}


/* ========== ACTION BUTTONS ========== */
.print-btn-container,
.fixed-action-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.print-btn-container {
    position: absolute;
    /* bottom: -8px; */
    right: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: -webkit-fill-available;
    left: 10px;
}

.print-btn-container .labzilla-order-btn {
    margin-right: auto; /* Pushes everything else to the right */
}

.labzilla-order-btn .btn {
    margin-right: 10px;
}

.fixed-action-buttons {
    display: flex;
    gap: 10px;
    background: white;
    padding: 10px;
    border-radius: var(--border-radius);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.print-btn-container.fixed-action-buttons {
    display: flex;
    gap: 8px;
    background: white;
    padding: var(--padding-medium);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
    .order-info-row.add-border .order-info-column,
    .order-info-row.customer-admin .order-info-column {
        width: 50% !important;
    }
}


/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {

    .order-info-row.customer-admin {
        flex-wrap: wrap;
    }
    .order-info-column {
        width: 50% !important;
    }
    .order-info-value {
        min-height: 40px;
    }

    .lens-price-col {
        min-width: 60px;
        padding: 0 4px;
        font-size: 0.9em;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .reference-info-header {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .order-info-row.add-border .order-info-column,
    .order-info-row.customer-admin .order-info-column {
        width: 100% !important;
    }
    
    .rx-data-col {
        min-width: 60px;
    }
    
    .section-header-row,
    .rx-data-row {
        flex-wrap: wrap;
    }
    
    .rx-data-col {
        flex: 0 0 50%;
    }
    
    .rx-price-item, 
    .rx-total-row {
        font-size: var(--font-size-medium);
    }

    .reference-header-grid {
        flex: 1 0 100% !important;
        flex-direction: column;
    }
    
    .reference-header-column {
        border-right: none;
    }
    
    .reference-header-column:last-child {
        border-bottom: none;
    }
}

/* Reference Header Section */
.reference-header-section {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: solid 1px var(--border-gray);
}

.reference-header-grid {
    display: flex;
    width: 100%;
}

.reference-header-column {
    min-width: 0;
}

.reference-header {
    padding: var(--padding-small);
    background-color: var(--light-gray);
    font-weight: bold;
}

.reference-value {
    padding: var(--padding-medium);
    font-size: 0.9em;
}

/* Specific column count scenarios */
/* When only 1 column exists */
.reference-header-grid:has(> :only-child) .reference-header-column {
  flex: 1 0 100% !important;
}
/* Default widths for 3 columns */
.reference-header-column:nth-child(1) { width: 45%; }
.reference-header-column:nth-child(2) { width: 20%; }
.reference-header-column:nth-child(3) { width: 35%; }

/* When only 2 columns exist */
.reference-header-column:nth-child(1):nth-last-child(2),
.reference-header-column:nth-child(2):nth-last-child(1) {
  width: 50%; /* Equal width when only two */
}

/* rx order table order summary  */
.rx-v-table {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
.rx-v-row {
    display: table-row;
}
.rx-v-cell {
    display: table-cell;
    vertical-align: middle;
    padding: 2px 4px;
    height: 100%;
    text-align: center;
}
.rx-v-side-col {
    width: 30px;
    text-align: left;
    font-weight: bold;
    margin-bottom: 2px;
    padding: 5px 8px;
}
.rx-v-data-col {
    min-width: 60px;
}
.rx-v-header {
    font-weight: bold;
    background-color: var(--light-gray);
}
.rx-v-note-col-nowrap {
    white-space: nowrap;
    overflow: visible;
    display: inline-block;
    vertical-align: middle;
    padding: 0px 0px;
    text-align: left;
}

.svg-icons {
    width: 16px;
    height: 18px;
    position: relative;
    top: -2px;
    right: 3px;
    filter: brightness(0) invert(1);
}

.svg-icons-order {
    width: 16px;
    height: 18px;
    position: relative;
    top: -2px;
    right: 3px;
}

li.selected .svg-icons,
li.active .svg-icons,
li.open .svg-icons {
    filter: none; 
}
/* Labzilla order css start */
/* Slider Container */
.order-slider-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: flex;
    align-items: center; /* Center vertically if needed */
}

/* Overlay */
.order-slider-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.order-slider-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* Slider Panel */
.order-slider-panel {
    position: fixed;
    top: 205px;
    left: 50%; /* Start at page center */
    transform: translateX(-50%); /* Center horizontally */
    width: 47%;
    max-width: 781px; /* Constrain max width */
    height: 82%;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); /* Shadow on right side */
    z-index: 1050;
    transition: transform 0.3s ease-out, left 0.3s ease-out;
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
}

.order-slider-panel.open {
    left: calc(100% - 90%); /* Move to right side, respecting width */
    transform: translateX(0); /* Remove centering transform */
}

/* Adjust for Bootstrap col-md-6 container */
.order-list .col-md-6 .order-slider-panel {
    max-width: 100%; /* Full width of col-md-6 */
}

/* Header */
.order-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.order-slider-header h4 {
    margin: 0;
    font-size: 1.25rem; /* Responsive font size */
}

.close-slider {
    background: none;
    border: none;
    font-size: 1.5rem; /* Adjusted from 24px */
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* Content */
.order-slider-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    padding: 15px;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.9rem; /* Adjusted from 14px */
}

.comparison-table th,
.comparison-table td {
    padding: var(--padding-medium) 12px;
    border: 1px solid var(--border-gray);
    text-align: left;
}

.comparison-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.empty {
    color: #999;
    font-style: italic;
}

/* Compact Table */
.order-info-table.compact td {
    padding: 6px 8px;
    width: 25%;
    font-size: 0.85rem; /* Adjusted for responsiveness */
}

.order-info-table.compact td:nth-child(odd) {
    font-weight: 500;
    color: #555;
}

/* Object Display */

.object-level {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.object-key {
    color: #000000;
    font-weight: normal;
}

.object-value {
    color: #a83e32;
}

.field-key {
    color: #000000;
}

.field-value {
    color: #a83e32;
}

.object-level-0 {
    margin-top: 10px;
}

.toggle-button {
    cursor: pointer;
    margin-right: 5px;
    font-size: 0.75rem; /* Adjusted from 12px */
    color: #000000;
    display: inline-block;
}

.toggle-button::before {
    content: '▼';
}

.toggle-button.collapsed::before {
    content: '▶';
}

.object-level.collapsed {
    display: none;
}

.object-display ul,
.object-display li {
    margin: 0;
    padding: 2px 20px;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) { /* Bootstrap md breakpoint */
    .order-slider-container {
        align-items: flex-start; /* Align to top on mobile */
    }

    .order-slider-panel {
        width: 100%; /* Full width on mobile */
        max-width: none; /* Remove max-width */
        top: 0; /* Full height */
        height: 100%;
        border-radius: 0; /* Remove border-radius for full-screen look */
        left: 50%; /* Start at center */
        transform: translateX(-50%);
    }

    .order-slider-panel.open {
        left: 0; /* Slide to full right side (left edge at 0) */
        transform: translateX(0);
    }

    .order-slider-header h4 {
        font-size: 1.1rem; /* Smaller header */
    }

    .close-slider {
        font-size: 1.2rem; /* Smaller close button */
    }

    .comparison-table {
        font-size: 0.8rem; /* Smaller table text */
    }

    .order-info-table.compact td {
        font-size: 0.75rem; /* Smaller for compact tables */
        width: 50%; /* Stack key-value pairs */
    }

    .order-info-table.compact td:nth-child(even) {
        width: 50%;
    }

    .object-display {
        font-size: 0.8rem; /* Smaller font */
    }

    .toggle-button {
        font-size: 0.7rem; /* Smaller toggle button */
    }
}

@media (min-width: 768px) { /* Bootstrap md and up */
    .order-list .col-md-6 .order-slider-panel {
        width: 100%; /* Fit within col-md-6 */
        max-width: 781px; /* Respect max-width */
        left: 50%; /* Start at center */
        transform: translateX(-50%);
    }

    .order-list .col-md-6 .order-slider-panel.open {
        left: calc(100% - 47%); /* Align right within container */
        transform: translateX(0);
    }
}

.col-md-12.zero-col-padding.display-inline-flex {
  padding-bottom: 4px;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}


/* Split layout styles */
.split-wrapper {
  height: 100vh;
  display: flex;
  flex-direction: column;
  /* overflow-y: hidden; */

}

.split-header {
  height: 4%;
  padding-top: 5px;
}

.split-content {
  height: 92%;
}

.split-footer {
  height: 4%;
  max-width: 1550px;
  margin: 0 auto;
}

/* Labzilla order css start */

.dropdown-menu-v2 {
  min-width: 120px !important;
}

.scrollable-container {
    overflow: auto;
}

.scrollable-container thead {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--light-blue);
}
.order-column th:nth-child(3),
.order-column td:nth-child(3) {
    width: 150px; /* Adjust as needed */
}
input[disabled],
input[readonly] {
    background-color: #eef1f5 !important;
}

/* .enable_change_btn .form-group {
    margin-bottom: 15px;
} */
.form-group {
    margin-bottom: 15px;
}

/* Profile logo/avatar styling */
.page-header .navbar .topbar-actions .btn-group-img .btn>img {
    margin-top: -16px;
    text-align: center;
    vertical-align: middle;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background-clip: padding-box;
    height: 35px;
}

.staff-users-list .tab-pane {
    min-height: 340px;
    height: auto !important;
}
.table {
  border: 1px solid var(--border-gray); 
}
.image-container {
    max-width: 33.33333333% !important;
}

input[type=radio] {
    box-sizing: border-box;
    padding: 0;
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.btn-secondary {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.btn-secondary:hover {
    border-color: #adadad;
    background-color: #e6e6e6;
    color: #333;
}

.tabbable-custom>.tab-content {
    border-top: none;
}