#root {
  width: 100%;
  height: 100%;
}

:root {
  --dblue: #2b3990;
  --green: #13a84a;
  --red: #ff0000;
  --lblue: #f1f4ff;
  --blue: #d5d8ff;
  --lgrey: #595959;
}
.report-a{color: #2b3a66;}
/* ******* Main layout Design ******* */

.dash-header {
  position: sticky;
  top: 0px;
  z-index: 255;
  width: -webkit-fill-available;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Left section styling */
.header-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-logo {
  height: 50px;
}

.header-subtitle {
  font-size: 14px;
  color: #555;
  margin-left: 10px;
}

/* Right section styling */
.header-right {
  display: flex;

  align-items: center;
}

.icon-button {
  background: none;
  border: none;
  font-size: 20px;
  margin-right: 15px;
  cursor: pointer;
  color: #555;
}

.icon-button:hover {
  color: #000;
}

/* Profile styling */
.profile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

/* Layout style */
.dash-grid {
  transition: 0.3s linear;
  display: grid;
  grid-template-columns: 290px 80%;
  gap: 30px;

  z-index: 355;
  overflow-y: hidden;
}
.content-div {
  padding: 30px 30px;
}

/* Sidebar style */
.dash-sidebar {
  top: 65px;
  position: fixed;
  display: block;
  z-index: 355;
  width: 290px;
  padding-top: 10px !important;
  overflow: hidden;
  background-color: #ffffff;
  height: 100%;
  padding: 20px;
  transition: 0.3s linear;
  box-shadow: 2px 6px 5px rgba(0, 0, 0, 0.1);
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 15px;
  cursor: pointer;
}
.mblmenu{display:none}
.line {
  height: 2px;
  background-color: #838383;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.line1 {
  transform: rotate(0deg) translate(0, 0);
}

.line2 {
  opacity: 1;
}

.line3 {
  transform: rotate(0deg) translate(0, 0);
}

.line1-open {
  transform: rotate(45deg) translate(3px, 3px);
}

.line2-open {
  opacity: 0;
}

.line3-open {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* Menu styles */
::-webkit-scrollbar {
  width: 5px !important;       /* Vertical scrollbar width */
  height: 5px !important;      /* Horizontal scrollbar height */
}
.menu {
  list-style: none;
  position: sticky;
  top: 30px;
  padding: 0;
  margin: 0;
}
.dash-sidebar > div{

  overflow: scroll;
      height: -webkit-fill-available;
      padding-bottom: 65px;
}
.dash-sidebar > div::-webkit-scrollbar{
width: 5px;
height: 5px;
background-color: #dad8d8;
}
.dash-sidebar > div::-webkit-scrollbar-thumb{
opacity: 0.5 !important;
background-color: #c9c9c9;
}
.menu-item {
  display: flex;
  gap: 20px;
  align-items: center;
  color: #333;
  padding: 10px 15px;
}
.active-class{background-color: rgb(19 168 74 / 5%);color: #13a84a;}

.menu-item:hover {

color:#25a86a;
background-color: rgb(19 168 74 / 5%)
}

.menu-item i {
  margin-right: 10px;
}
.menu-item a {
  width: 100%;
  text-align: left;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition:0.3s linear;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
}
.menu-item:hover a {
  color: #4f3192;
  text-decoration: none;
  font-weight: 500;
}

/* Active menu styles */
.menu-item.active,
.submenu li.active {
  background-color:rgb(19 168 74 / 5%);
  font-weight: bold;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}
.w-table-cwrp button:hover{
  border: 1px solid #13a84a;
}
.login-card {
  background: #ffffff;
  padding: 20px 40px;
  border-radius: 10px;
  box-shadow:0px 4px 8px rgb(219 219 219);
  width: 400px;
  text-align: center;
}

.hospital-logo {
  width: 150px;
  margin-bottom: 25px;
}

.login-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #555;
}

.input-field {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #d3d3d3;
  border-radius: 5px;
  background: #f9f9f9;
  font-size: 14px;
}

.input-field:focus {
  outline: none;
  border-color: #4a90e2;
  background: #eef7ff;
}
label {
  color: grey;}
.mblsidemenu{display:none;}


.login-button {
  background: linear-gradient(45deg, #4a90e2, #3559a5);
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.login-button:hover {
  background: linear-gradient(45deg, #3559a5, #4a90e2);
}
.icon2 {
  display: none;
}
.login-button:focus {
  outline: none;
}

/* ** Common style  table =>search,export buttons ** */
.model-button-wrp.col-lg-12 {
  border-top: 1px solid #cecece;
  position: sticky;
  bottom: -20px;
  background: #fff;
  padding: 20px 0px 20px;
  z-index: 9;
}
.ql-container{height: auto !important;}
.modal-top-header{position: sticky;top: -20px;background: #fff;padding: 20px 0px 20px;border-bottom: 1px solid #cecece;z-index: 11;}
.model-button-wrp.col-lg-12{border-top: 1px solid #cecece;}
.search-boxdiv {
  margin-bottom: 20px;
}
.search-box:focus-visible {
  outline: none;
}
.search {
  position: relative;
}
.search-box {
  position: relative;
  border: none;
  width:fit-content;
  border-radius: 20px;
  background-color: #f5f5f5 !important;
  padding: 10px 15px 10px 38px;
}
.MuiDataGrid-cell.MuiDataGrid-cell--textLeft  button{padding: 8px 20px !important;font-size: 16px;line-height: 25px;}
.search::after {
  content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNXB4IiBoZWlnaHQ9IjI1cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iIzI2MjYyNiIgZD0ibTE5LjQ4NSAyMC4xNTRsLTYuMjYyLTYuMjYycS0uNzUuNjM5LTEuNzI1Ljk4OXQtMS45Ni4zNXEtMi40MDIgMC00LjA2Ni0xLjY2M1QzLjgwOCA5LjUwM1Q1LjQ3IDUuNDM2dDQuMDY0LTEuNjY3dDQuMDY4IDEuNjY0VDE1LjI2OCA5LjVxMCAxLjA0Mi0uMzY5IDIuMDE3dC0uOTcgMS42NjhsNi4yNjIgNi4yNjF6TTkuNTM5IDE0LjIzcTEuOTkgMCAzLjM2LTEuMzd0MS4zNy0zLjM2MXQtMS4zNy0zLjM2dC0zLjM2LTEuMzd0LTMuMzYxIDEuMzd0LTEuMzcgMy4zNnQxLjM3IDMuMzZ0My4zNiAxLjM3Ii8+PC9zdmc+");
  position: absolute;
  top: 23%;
  left: 12px;
}
.myappc-title a{color: #13a84a;transition: 0.3s linear;}
.myappc-title a:hover{color: #2b3990;transition: 0.3s linear;}

.d-export-buttons {
  display: flex
  ;
      flex-wrap: wrap;
      gap: 10px;
      margin: 20px 0px;
      flex-direction: row-reverse;
      justify-content: flex-end;
}
.model-button-wrp {
  display: flex;
  gap: 10px;
  margin: 20px 0px 0px;
}
.dyn-form {
  padding: 20px 10px;
  position: relative;
  background: #f5f5f5;
  margin: 20px 0px;
}
.dyn-form .model-button-wrp {
  right: 0px;
}
.dyn-form  textarea{    Border: 1px solid #bfbfbf;
  border-radius: 4px;
  padding: 6px 12px;
  margin: 5px 0px 0px;
min-height: 200px;}
.d-export-buttons button {
  border-radius: 10px;
  padding: 10px 15px;
}



/***  Sub pages  ***/
.d-sub-hed-wrp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
/* Table style */
.MuiTablePagination-toolbar p {
  margin: 0px;
}

/* Modal Style */
.ReactModal__Overlay--after-open {
  z-index: 99999 !important;
  background-color: rgb(88 87 87 / 75%) !important;
}
.ReactModal__Content.ReactModal__Content--after-open {
  width: 60%;
  min-width: 60%;
  height:auto;
  margin: auto;
  top: 150px;
}
.form-input-wrp {
  display: grid !important;
  grid-template-columns: 50% 50%;
  row-gap: 10px;
  margin-bottom: 25px;
}
.dyn-form {
  margin-bottom: 20px;
  border-bottom: 1px solid  #b1b1b1;
  padding-bottom: 20px;

}
.dyn-form  .dyn-form{
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #8c91a1c9;
  padding-bottom: 20px;

}
.detail.form-input-wrp {
  display: grid !important;
  grid-template-columns: 49% 49%;
  justify-content: space-between;
  margin-bottom: 0px !important;
}
.form-div {
  display: flex;
  flex-direction: column;
  justify-content: start;
}
.form-div  input , .form-div select {Border: 1px solid #bfbfbf;border-radius: 4px;padding: 6px 12px;margin: 5px 0px 0px;}
.form-div  input:focus , .form-div select:focus {outline:none;}
.a-sec-hed p{color:#0c0c0c;font-size: 20px;font-weight: 500;margin: 10px 0px 5px 0px;}
.model-button-wrp{justify-content: end;}
.col-lg-12.model-button-wrp{justify-content: center;}

.d-rmvbtn ,.d-btntyp2,.d-btntyp1 ,.d-mbtntyp-1 ,.d-mbtntyp-2 ,.d-export-buttons button{
  padding: 7px 30px;
  border-radius: 30px;
  font-size: 16px;
  line-height: 23px;
position: relative;
margin-top: 20px;
z-index: 9;
font-weight: 400;
transition: 0.3s linear;
overflow: hidden;
}
.model-button-wrp button ,.d-flex.justify-content-between.gap-3.flex-wrap.mb-3 .d-btntyp1 ,.d-export-buttons button{margin-top: 0px;}

.d-mbtntyp-1 ,.d-flex.justify-content-between.gap-3.flex-wrap.mb-3  .d-btntyp1{background: var(--dblue) !important;color: #fff !important;border: 2px solid var(--dblue)!important;}
.d-mbtntyp-1:hover ,.d-flex.justify-content-between.gap-3.flex-wrap.mb-3  .d-btntyp1:hover{color: #fff !important;border: 2px solid var(--green)!important;}
.d-mbtntyp-1::after ,.d-flex.justify-content-between.gap-3.flex-wrap.mb-3  .d-btntyp1::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--green);
  transition: all 0.5s ease;
  z-index: -1;
}
.d-mbtntyp-1:hover::after ,.d-mbtntyp-2:hover::after ,.d-btntyp2:hover::after ,.d-btntyp1:hover::after ,.d-rmvbtn:hover::after ,.d-flex.justify-content-between.gap-3.flex-wrap.mb-3  .d-btntyp1:hover::after{
  width: 100%;
}
.css-1vipebp-MuiButtonBase-root-MuiIconButton-root:hover{background-color: transparent !important}
.d-mbtntyp-2{border: 2px solid var(--dblue);color: var(--dblue);}
.d-mbtntyp-2:hover{color: #fff !important;border: 2px solid var(--dblue)!important;}
.d-mbtntyp-2::after ,.d-btntyp2::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--dblue);
    transition: all 0.5s ease;
    z-index: -1;
}
.d-btntyp2{background-color: var(--green);color:#fff;border:2px solid var(--green)}
.d-btntyp2:hover{border: 2px solid var(--dblue);}
.d-rmvbtn{background-color: transparent;border:2px solid crimson;color:crimson;border:2px solid crimson}
.d-rmvbtn:hover{background-color: transparent;border:2px solid crimson;color:#fff}
.d-rmvbtn::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background:crimson;
  transition: all 0.5s ease;
  z-index: -1;
}
.d-btntyp1{border:2px solid var(--green);color: var(--green);}
.d-btntyp1:hover ,.w-table-cwrp .d-btntyp1:hover{border:2px solid var(--dblue);color: #fff;}
.d-btntyp1::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--dblue);
  transition: all 0.5s ease;
  z-index: -1;
}

@media(max-width:1500px){
  .dash-grid {grid-template-columns: 260px 80%;gap: 20px;}
  .dash-sidebar {padding: 0px;width:260px}
}

@media(max-width:1400px){
  .dash-grid {grid-template-columns: 260px 75%;gap: 10px;}
}


@media(max-width:1300px){
  .ReactModal__Content.ReactModal__Content--after-open {
    width:80% !important;
    min-width: 80% !important;}
    .dash-grid { grid-template-columns: 260px 75%;    gap: 20px;}
}

@media (max-width: 1200px) {
  .dash-grid {
    display: grid;
    grid-template-columns:260px auto486;
  }
  .content-div {
    padding: 20px;
  }
  .dash-sidebar {width: 260px;}
  .modal-top-header h2{font-size: 20px;line-height: 25px;}
  .model-button-wrp.col-lg-12{padding: 10px 0px;}
  .d-rmvbtn ,.d-btntyp2,.d-btntyp1 ,.d-mbtntyp-1 ,.d-mbtntyp-2 ,.d-export-buttons button{font-size: 15px;line-height: 18px;padding: 8px 25px;}
}

@media(max-width:1150px){
  .dash-grid { grid-template-columns: 230px 70%;gap: 20px;}
  .dash-sidebar {padding: 0px;width:230px}
}

@media (max-width: 950px) {
  .dash-grid{
    display: grid;
    grid-template-columns: 95%;
    justify-content: center;
  }
  .dash-sidebar {transform: translateX(-260px);}
  .burger-menu {
    display: flex;
  }

  .dash-grid .menu-item a.icon2 {
    display: block;
  }
  .active.dash-grid .menu-item a {
    opacity: 0;
    visibility: hidden;
  }
  .dash-grid.inactive .dash-sidebar{transform: translateX(0); }
  /* .dash-grid.inactive{
    grid-template-columns: 20% 80%;
  }
  .dash-grid.active.sideact{
    grid-template-columns: 20% 80%;
  } */
 .inactive.dash-grid .menu-item a {
    opacity: 1;
    visibility: visible;
  }
  .icon2 {
    display: block;
  }
  .active.dash-grid .menu-item .icon2 a{
    opacity: 1;
    visibility: visible;
  }
  .ReactModal__Content.ReactModal__Content--after-open {
    width: 90% !important;
    min-width: 90% !important;
    margin: auto;
    inset:0px !important;
    height: 100%;
    padding: 15px 15px 11px 15px !important;
    overflow: scroll !important;}
  }
  
  @media (max-width: 700px) {
    .dash .active .dash-sidebar{
      display: block;
      transition: 0.3s linear;
      transform: translateX(-276px);
      position: fixed;
      top: 70px;
      width: 220px;
      z-index: 200;
    }
    .mblsidemenu{display:block}
    .dash-grid.inactive  .dash-sidebar{display:none !important;}
    .dash .inactive .dash-sidebar{
      display: block;
      transform: translateX(-0px);
      transition: 0.3s linear; 
      position: fixed;
      top: 70px;
      width: 100%;
      z-index: 200;
    }
    .dash-grid .dash-sidebar{display:none;}
    .dash-grid {
      display: grid;
      grid-template-columns: 100%;
    }
    .dash-grid.inactive {
      grid-template-columns: 100%;
  }
  }
  @media (max-width: 680px) {
    .form-input-wrp {
    display: grid !important
;
    grid-template-columns: 100%;
  }
  .detail.form-input-wrp {
    display: grid !important
;
    grid-template-columns:100%;}
  .dash-header {padding:10px 20px;}
  .icon-button {
   
    font-size: 16px;
    padding-right: 13px;
    padding: 0px 10px  0px 0px;
 
}

}
@media(max-width:480px){
  .d-rmvbtn ,.d-btntyp2,.d-btntyp1 ,.d-mbtntyp-1 ,.d-mbtntyp-2 ,.d-export-buttons button{
    padding: 7px 23px;
    font-size: 14px;
    line-height: 18px;
}
}

