/* Below code is used to style SideMenu and Pages that were created by PowerPages platform*/

/* Google Font Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-weight: 300;
}

.body {
margin: 0;
}


.limiter {
  width: 100%;
  margin: 0 auto;
}

.container-login100 {
  width: 100%;  
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  font-family: "Helvetica";
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;;
}

.wrap-login100 {
  width: 680px;
  background: #fff;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.p-l-110 {padding-left: 110px;}

.p-r-110 {padding-right: 110px;}

.p-t-62 {padding-top: 62px;}

.p-b-33 {padding-bottom: 33px;}

.login100-form-title {
  width: 100%;
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 20px;
  color: #101820;
  line-height: 1.2;
  text-align: center;
}

.p-b-53 {padding-bottom: 53px;}

.btn-face {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 18px;
line-height: 1.2;
background: #006AC3; 
color: #101820;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
justify-content: center;
align-items: center;
padding: 15px;
/* width: calc((100% - 20px) / 2); */
height: 70px;
border-radius: 10px;
box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
-o-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
-ms-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
-webkit-transition: all 0.4s;
-o-transition: all 0.4s;
-moz-transition: all 0.4s;
transition: all 0.4s;
position: relative;
z-index: 1;
}

.m-b-20 {margin-bottom: 20px;}

.bxl-microsoft {
  padding-right: 10px;
  }

/* ======================== Home page just with sign-in button ============================= */



.h1il {
    font-weight: 300;
    font-size: 34.25px;
    color: #545454;
    margin-left: 0px;
    margin-right: 0px;
    padding: 10px 20px 10px 20px;
    transition: all 0.5s ease;
}
/* Header/Logo Title */

.header {
position: fixed;
background: #101820;  
color: #006AC3;
font-size: 30px;
top: 0;
left: auto;
right: 0;
height: 64px;
width: 100%;
display: flex;
box-sizing: border-box;
flex-shrink: 0;
flex-direction: column;
z-index: 9999;
box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);
}

.sticky-profile {
  position: sticky;
  top: 0;
  background: white; /* Adjust as needed */
  z-index: 1000;
}

.sidebar{
position: fixed;
left: 0;
top: 0px;
margin-top: 65px;
height: 100%;
width: 78px;
background: #ffffff;
padding: 6px 15px;
z-index: 99;
transition: all 0.5s ease;
border-right-width: 1px;
border-right-color: #bcbcbc;
border-right-style: solid;
overflow-y: hidden; /* Hide scrollbar by default */
}

ol,
ul {
  padding-left:0rem;
}

.sidebar.open{
width: 300px;
overflow-y: auto; /* Show scrollbar when open */
}
.sidebar .logo-details{
height: 60px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
background: #1d1b31;
}
.sidebar .logo-details .icon{
opacity: 0;
transition: all 0.5s ease;
flex: 0 0 auto;
color: rgba(0, 0, 0, 0.54);
padding: 12px;
overflow: visible;
font-size: 1.5rem;
text-align: center;
transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
border-radius: 50%;
}
.sidebar .logo-details .logo_name{
color: #ffffff;
font-size: 20px;
font-weight: 600;
opacity: 0;
transition: all 0.5s ease;
}
.sidebar.open .logo-details .icon,
.sidebar.open .logo-details .logo_name{
opacity: 1;

}
.sidebar .logo-details #btn{
color: #ffffff;
position: relative;
top: 50%;
right: 0;
transform: translateY(-50%);
font-size: 22px;
transition: all 0.4s ease;
font-size: 23px;
text-align: center;
cursor: pointer;
transition: all 0.5s ease;
/* height: 50px;
line-height: 50px;
font-size: 18px;
border-radius: 12px; */

}
.sidebar.open .logo-details #btn{
/* text-align: left; */

}
.sidebar i{
color: #006AC3;
height: 60px;
min-width: 50px;
font-size: 40px;
text-align: center;
line-height: 60px;
}
.sidebar .nav-list{
height: 100%;
overflow-y: auto; /* Enable scrolling for the list */
padding-right: 15px; /* Add padding to prevent content from being hidden behind the scrollbar */
margin-right: -15px; /* Adjust margin to align the scrollbar with the border */
}
.sidebar li{
position: relative;
margin: 8px 0;
list-style: none;
font-size: 30px;
}
.sidebar li .tooltip{
position: absolute;
top: 45px;
/* top: -20px; */
/* left: calc(100% + 15px);
z-index: 3;
background: #fff;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
padding: 6px 12px; */
border-radius: 4px;
/* font-size: 15px; */
font-weight: 400;
/* opacity: 0; */
white-space: nowrap;
pointer-events: none;
transition: 0s;
}

.sidebar li:hover .tooltip {
  font-size: 10px;
  opacity: 1;
  z-index: 99999 !important;
  background-color: transparent;
  color: #545454;
}

.sidebar.open li .tooltip{
display: none;
}
.sidebar input{
font-size: 15px;
color: #FFF;
font-weight: 400;
outline: none;
height: 50px;
width: 100%;
width: 50px;
border: none;
border-radius: 12px;
transition: all 0.5s ease;
background: #1d1b31;
}
.sidebar.open input{
padding: 0 20px 0 50px;
width: 100%;
}
.sidebar li a{
display: flex;
height: 100%;
width: 100%;
border-radius: 12px;
align-items: center;
text-decoration: none;
transition: all 0.4s ease;
/* background: #11101D; */
background: #ffffff;
padding-top: 4px;
padding-bottom: 4px;
}

.sidebar li a .links_name{
color: #545454;
font-size: 14px;
font-weight: 600;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: 0.4s;
text-transform: uppercase;
}
.sidebar.open li a .links_name{
opacity: 1;
pointer-events: auto;
}

.sidebar li:hover a {
text-decoration: none;
}

.sidebar li a:hover {
background-color: #e6f7ff; /* Light blue background on hover */
/* color: #004080; */ /* Foreground color on hover */
text-decoration: none !important;
}

.sidebar li a:active {
background-color: #cce5ff; /* Light blue background on click */
/* color: #00264d;*/ /* Foreground color on click */
}

.sidebar li:hover {
background: #ffffff;
}

.sidebar li i{
height: 50px;
line-height: 50px;
font-size: 30px;
border-radius: 12px;
}
.sidebar li.profile{
position: fixed;
height: 60px;
width: 78px;
left: 0;
bottom: -8px;
padding: 10px 14px;
background: #1d1b31;
transition: all 0.5s ease;
overflow: hidden;
}
.sidebar.open li.profile{
width: 250px;
}
.sidebar li .profile-details{
display: flex;
align-items: center;
flex-wrap: nowrap;
}

.sidebar .illogo {
width: 100px;
display: flex; /* Use flex to center the logo horizontally and vertically */
align-items: center;
justify-content: center;
transform: scale(1);
transition: all 0.5s ease;
right:25px;
}



.sidebar.open .illogo {
width: 310px; /* Updated logo width when sidebar is open */
transition: all 0.5s ease;
padding: 25px 25px 25px 25px;
}

.sidebar .illogo-details {
display: flex;
position: relative;
align-items: center;
flex-direction: column;
justify-content: center;
padding: 25px 0;
}

.sidebar li .illogo-details {
display: flex;
position: relative;
align-items: center;
flex-direction: column;
justify-content: center;
padding: 25px 0px 25px 0px;
}

.sidebar li img {
max-width: 75%; /* Ensure the image doesn't exceed the container width */
max-height: 75%; /* Ensure the image doesn't exceed the container height */
object-fit: contain; /* Adjust the object-fit property as needed to control image scaling */
border-radius: 6px;
display: block; /* Ensure proper alignment */
margin: 0 auto; /* Center horizontally */
}

.sidebar.open .illogo-details {
padding: 25px 25px 25px 25px; /* Adjust the padding when the sidebar is open */
}

@media (max-width: 420px) {
.sidebar li .tooltip{
    display: none;
}
}

.nav-link {
text-decoration: none ;
color: #333;
font-weight: bold;
display: flex;
align-items: center; /* Align items vertically in the center */
}
.nav-link i {
margin-right: 5px; /* Optional: Adjust the spacing between icon and text */
}

html[dir="ltr"] li a {
margin-left: 0px !important;
}

/* Profile dropdown related updates */
.profile-dropdown-menu {
	right: 0;
	left: auto;
	border-radius: 10px;
}

.profile-dropdown-li {
	display: flex; 
	align-items: center; 
	/* justify-content: center;  */
	font-size:30px;
}

.profile-bx-color {
	color: #006AC3;
}

.profile-dropdown-a {
	padding-left: 20px;
  padding-right: 10px;
  font-size: 15px;
  color: #04208f;
}

.wrapper-body{
    position: relative;
    background: #FFFFFF;
    min-height: 100vh;
    top: 0px;
    left: 98px;
    width: calc(100% - 120px);
    transition: all 0.5s ease;
    z-index: 2;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0; /* Remove default body margin */
    padding: 0; /* Remove default body padding */
}

.container {
    transition: all 0.5s ease; /* Add transition for smooth animation */
}

/* Title of page in cards (home Page) */

.home-card-container {
    background-color: #ffffff; /* Set your desired background color */
    border-radius: 8px; /* Adjust the border-radius as needed */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */ /* Add a subtle box shadow */
    transition: all 0.5s ease;
  }

/* Title of page in cards (Other Pages) */

.other-card-container {
    background-color: #ffffff; /* Set your desired background color */
    border-radius: 8px; /* Adjust the border-radius as needed */
    transition: all 0.5s ease;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    transition: all 0.5s ease;
}

.buttons-container {
  display: flex;
  align-items: center;
}

.button1 {
  margin-right: 10px; /* Adjust as needed */
}
/* Below code is used to add some additional space above the main content of the each page */
.MuiToolbar-root {
display: flex;
position: relative;
align-items: center;
}
.MuiToolbar-gutters {
padding-left: 16px;
padding-right: 16px;
}
@media (min-width:600px) {
.MuiToolbar-gutters {
    padding-left: 24px;
    padding-right: 24px;
}
}
.MuiToolbar-regular {
min-height: 56px;
}
@media (min-width:0px) and (orientation: landscape) {
.MuiToolbar-regular {
    min-height: 48px;
}
}
@media (min-width:600px) {
.MuiToolbar-regular {
    min-height: 75px;
}
}
.MuiToolbar-dense {
min-height: 48px;
}

/* PowerBi Canvas update */

.powerBICanvas {
    margin-top: 10px;
    height: 740px;
}


/* Locations page main content layout */

.locationsContainer {
    display: flex;
    flex-wrap: wrap;
  }

  
  .col-4,
  .col-8 {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 15px;
    height: 50vh; /* Set your desired percentage of viewport height */
    /* overflow-y: auto; */ /* Add vertical scrolling */
  }
  
  /* Optional: Add media queries for responsiveness */
  @media (min-width: 768px) {
    .col-4 {
      flex: 0 0 33.33%;
      max-width: 33.33%;
    }
  
    .col-8 {
      flex: 0 0 66.66%;
      max-width: 66.66%;
    }
  }


/*  code for list and forms */

  .entrylist {
    padding: 0px;
  }

  .entitylist-search {
    width: 100%;
  }   

  .view-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .view-search {
    /* flex: 1; */
    margin-right: 10px;
    flex: 1;
    display: flex;
    align-items: stretch;
    padding: 20px;
  }

  .query {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-width: 1px;
    border-top-width: 1px;
    /* border-radius: 10px; */
    margin: 0;
  }

  .input-group-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  .btn-hg {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  /* .input-group {
    display: table;
    margin-left: 60px;
    margin-right: 60px;
  } */
  
  .input-group-btn .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  .input-group-btn .btn-hg {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
  }

  .input-group .btn {
    border-radius: 4px;
  }

  .button2, .btn-secondary, .btn-default {
    border: none !important;
  }

  .col-4 > div:nth-child(1) {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  /* Pages with List and form updates */
  /*  */
  /* Adjust the styles for the card content as needed */
  .pull-right.toolbar-actions td {
    padding: 10px;
  }

  .dropdown {
    display: inline-block;
  }

  .dropdown button {
    background-color: #f8f9fa;
    border: none;
    padding: 5px;
    cursor: pointer;
  }

  .dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
  }

  .dropdown li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
  }

  .dropdown li:last-child {
    border-bottom: none;
  }

  .dropdown:hover ul {
    display: block;
  }

  div.input-group:nth-child(3) {
    padding-left: 75px;
  }
  div.input-group:nth-child(2) {
    padding-left: 25px;
  }

  /* div.input-group:nth-child(1) {
    padding-left: 35px;
  } */
      
/* Remove margin top and bottom of the columns 4 and 8 so that the whole body move up  */
.columnBlockLayout {
  margin-top: 0px;
  margin-bottom: 0px;
}

/* Col 4 rounded boarders  */
.entitylist {
  padding:0px;
  border-radius:20px;
}

/* Remove title of the list */
/* .table > thead:nth-child(1) > tr:nth-child(1) {
  display: none;
} */

/* Font within list */
a,
.a {
  color: #006AC3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 300;
  font-size: 15px; 
}

/* Search and drop down buttons size */
.fa {
  font-size: 1.33333em;
  line-height: 0.75em;
  vertical-align: -15%;
}

/*  Col 8 rounded boarders */
.crmEntityFormView, .entitylist, .modal-content, .popover-content {
  border-radius: 20px;
}

/* Form title size */
#cre07_formtitlevalue {
  font-size: 25px;
}

/* Font update Form */
/* * {
  font-family: "Helvetica", sans-serif;
  } */

/* Map padding to right and left */
  .crmEntityFormView fieldset {
   padding:0px 20px;
  }

/* Styling for insightlens Buttons  */

.ilButton1 {
  border: none;
  background-color: transparent;
  color: #006AC3;
  font-size: 30px;
  margin-right: 10px;
}

.ilButton2 {
  border: none;
  background-color: transparent;
  color: #006AC3;
  font-size: 30px;
  margin-right: 10px;
}


/* Modal related updates */

.modal-backdrop.in {
  opacity: 0;
}

.modal-backdrop {
  z-index: 0;
}

.modal-dialog {
  top: 20vh;
}

.modal-backdrop.show {
  opacity: 0;
  z-index: unset;
}

/* Delete success message update (List pages) */
.ms-MessageBar--success {
  margin-bottom: 50px;
}

/* ================================
   RBC Lookup Modal — Full Version
   ================================ */

/* Modal sizing */
.modal-dialog {
  max-width: 900px;
  margin: 2rem auto;
}

.modal-content {
  display: flex;
  flex-direction: column;
  height: 80vh;                     /* keep modal within viewport */
  border-radius: 12px;
  background: #fff;
  border: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Header */
.modal-header {
  flex: 0 0 auto;
  background: #f7f9fb;
  border-bottom: 1px solid #dfe3e8;
  padding: 14px 20px;
}
.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f2940;
  text-transform: uppercase;
  margin: 0;
}
.modal-header .form-close {
  margin-left: auto;
  font-size: 22px;
  color: #5f6a7d;
  opacity: 0.7;
}
.modal-header .form-close:hover { opacity: 1; }

/* Footer */
.modal-footer {
  flex: 0 0 auto;
  background: #fff;
  border-top: 1px solid #e2e5e9;
  padding: 10px 20px !important;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 0 !important;
}
.modal-footer .btn {
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  min-width: 90px;
}
.modal-footer .btn-primary {
  background: #0f7699;
  color: #fff;
  border: none;
}
.modal-footer .btn-primary:hover {
  background: #0b5c78;
}
.modal-footer .btn-default {
  background: #f1f3f5;
  color: #0f2940;
  border: 1px solid #dfe3e8;
}
.modal-footer .btn-default:hover {
  background: #e4e8ec;
}

/* --- Modal Body Layout --- */
.modal-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 12px 16px 0 16px;
  color: #1c1c1c;
  font-size: 14px;
}

/* Entity Grid */
.entity-grid {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

/* Toolbar (Search bar) */
.view-toolbar {
  flex: 0 0 auto;
  margin-bottom: 8px;
}
.entitylist-search {
  display: inline-flex !important;
  width: 100%;
  max-width: 420px;
}
.entitylist-search input.form-control {
  border-radius: 8px 0 0 8px;
  border: 1px solid #d0d5db;
  height: 36px;
  font-size: 14px;
  padding-left: 10px;
}
.entitylist-search .btn {
  border-radius: 0 8px 8px 0;
  background: #0f7699;
  color: #fff;
  border: none;
}
.entitylist-search .btn:hover { background: #0b5c78; }

/* --- Scrollable Table Region --- */
.view-grid.table-responsive {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto !important;       /* enable scroll */
  overflow-x: hidden;
  border-top: 1px solid #e2e5e9;
  border-bottom: none;
  scroll-behavior: smooth;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;      /* remove white gap below pagination */
}

/* Ensure proper flex height behavior */
.modal-body, .entity-grid, .view-grid.table-responsive {
  height: 100%;
  min-height: 0 !important;
}

/* Table styling */
.view-grid.table-responsive table {
  width: 100%;
  border-collapse: collapse;
}
.view-grid.table-responsive thead {
  position: sticky;
  top: 0;
  background: #f1f3f5;
  border-bottom: 2px solid #e2e5e9;
  z-index: 2;
}
.view-grid.table-responsive th {
  padding: 10px 12px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  color: #0f2940;
}
.view-grid.table-responsive td {
  padding: 10px 12px;
  border-bottom: 1px solid #e8eaed;
  font-size: 14px;
}
.view-grid.table-responsive tr:hover {
  background-color: #f8fafc;
}

/* --- Pagination (Sticky, No Gap) --- */
.view-pagination {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #e2e5e9;
  padding: 6px 0 6px 0 !important;   /* tight vertical space */
  margin: 0 !important;
  z-index: 5;
}
.pagination {
  justify-content: center;
  gap: 4px;
  margin: 0;
}
.pagination .page-item .page-link {
  border: none;
  border-radius: 6px;
  color: #0f7699;
  font-weight: 600;
}
.pagination .page-item.active .page-link {
  background-color: #0f7699;
  color: #fff !important;
}

/* Scrollbar styling */
.view-grid.table-responsive::-webkit-scrollbar {
  width: 8px;
}
.view-grid.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.25);
  border-radius: 8px;
}
.view-grid.table-responsive::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,.4);
}

/* Safety reset */
.modal-header, .modal-footer {
  position: static !important;
}
