body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

html, body, #root {
  height: 100%;
  margin: 0;
  padding: 0;
}

.footer-content {
  text-align: center;
  padding: 10px;
  background: #f0f0f0;
  position: relative;
  z-index: 1;
  width: calc(100% - 0px);
  
}


/* Page container Padding */
.ant-pro-page-container-children-container {
  padding-block-start: 0;
  padding-block-end: 0;
  padding-inline-start: 30px;
  padding-inline-end: 30px;
  overflow: hidden;
}

.layout-container {
  display: flex;
  min-height: 100vh;
  
}

.main-content-container {
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 24px;
  flex-grow: 1; /* Ensure this takes up remaining space */
}

.header-content {
  display: flex;
  justify-content: flex-end; /* Align items to the right */
  align-items: center;
  padding: 0 24px; /* Adjusted padding */
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  z-index: 1;
  width: calc(100% - 250px); /* Adjusted width to match Sider */
  position: fixed;
  top: 0;
  right: 0;
}

.content-area {
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  margin-top: 64px; /* Adjusted margin to account for the fixed header */
  min-height: calc(100vh - 128px); /* Adjusted height to account for header and footer */
  margin-right: 16px;
  margin-left: 16px; /* Margin for spacing */
  overflow: initial;
  flex-grow: 1; /* Ensure this takes up remaining space */
}



/* MainContent.css */

.menu-item-label {
  margin-left: 8px;
}

.menu-item-icon {
  margin-right: 8px;
}

.menu-item-selected {
  background-color: 'white';
  color: black;
}

.outlined-button {
  border: 1px solid #4cb60f; /* Primary color */
  background-color: white;
  color: #27b822;
}

.outlined-button:hover {
  background-color: #b87115; /* Light hover effect */
}




.ant-table-row-green .ant-table-cell {
  background-color: #cdebd4 !important;
}

.ant-table-row-red .ant-table-cell {
  background-color: #fcbbbb !important;  /* Assign crew to cli - Rows color */
}

.ant-table-row-orange .ant-table-cell {
  background-color: #f7e3a3 !important;
}


/* Ensure that the headers of the main table are visible */
.main-table .ant-table-thead > tr > th {
  display: table-cell; /* or other suitable display properties */
}

/* Add this CSS to your stylesheet */
.gm-style-iw > button.gm-ui-hover-effect {
  display: none !important;
}

.page-container {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



.ant-layout-content {
  flex-grow: 1;
}


.ant-layout-header {
  height: 64px;
  padding: 0 50px;
  color: rgba(0, 0, 0, 0.88);
  line-height: 64px;
  /* background: #001529; */
}

/* For WebKit browsers (Chrome, Safari, etc.) */
.ant-pro-sider ::-webkit-scrollbar {
  width: 5px; /* Adjust the scroll bar width as needed */
}

.ant-pro-sider {
  height: 70vh; /* Adjust the height of the sider scroll bar itself */
}


/* Hover effect for scrollbar thumb */
.ant-pro-sider ::-webkit-scrollbar-thumb {
  background: #f0f1f3; /* Darker on hover */
}


.pro-layout-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.ant-layout-content {
  flex-grow: 1;
}

.ant-layout-header {
  height: 64px;
  padding: 0 10px;
  line-height: 64px;
  background: #fafafa;
}


/* Remove hover background from the profile container */
.ant-layout-header {
  background-color: transparent;
  padding:0px
}


/* Custom CSS for the ProLayout Sider */

/* Custom CSS to keep icons white when the sider is collapsed */
.ant-pro-sider-collapsed .ant-menu-item-icon,
.ant-pro-sider-collapsed .ant-menu-submenu-title  {
  color: #fff !important; /* Force icon color to white when sider collapse */
}

/* For single item icons with no submenus */
.ant-pro-sider .ant-menu-item .ant-menu-item-icon,
.ant-pro-sider-collapsed .ant-menu-item  {
  color: #fff !important; /* Ensure single icons are white */
}


/*CSS login Page */


.container{
  background-image: url(assets/f1908f5fb9cd6c922099.png);
  background-size: cover;
}


@media (max-width: 768px) {
  .login-form{
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .Right-container{
    display: none !important;
  }

  .container{
    background-image: none;
  }
}










.footer-content {
  text-align: center;
  padding: 10px;
  background: #ECEDF3;
  position: relative;
  z-index: 1;
  width: calc(100% - 0px);
  
}

html, body, #root {
  height: 100%;
  margin: 0;
  padding: 0;
}   


.ant-pro-layout .ant-pro-sider .ant-layout-sider-children{padding-inline: 0; margin: 0px;}
/* .ant-pro-layout .ant-layout-sider.ant-pro-sider {background: #00152A;} */
.ant-menu .ant-menu-submenu, :where(.css-1eqj91n).ant-menu .ant-menu-submenu-inline{background: #00152A;} /* Main Menu items background color */
.ant-menu-light.ant-menu-inline .ant-menu-sub.ant-menu-inline, :where(.css-1eqj91n).ant-menu-light > .ant-menu.ant-menu-inline .ant-menu-sub.ant-menu-inline{background: #000C18;}
.ant-menu .ant-menu-submenu-title{border-radius: 0;}
.ant-pro-base-menu-inline .ant-pro-base-menu-inline-submenu-has-icon > .ant-menu-sub{padding-inline-start: 0;}
.ant-pro-layout .ant-pro-sider-actions{border-top: 1px solid #16385B;}
.ant-select-single .ant-select-selector{border-radius: 4px;}
.ant-input-search :where(.css-g6nrgr).ant-input-group .ant-input-affix-wrapper:not(:last-child) {
  border-start-start-radius: 4px;
  border-end-start-radius: 4px;
}
.ant-btn{border-radius: 4px;}
.ant-btn-primary:not(:disabled):not(.ant-btn-disabled):hover {
  color:#fff ;
  /* background:#3d6924 ; /* button color when mouse over */
}
 .ant-btn-primary:not(:disabled):not(.ant-btn-disabled):active {
  color:#fff ;
  /*background:#00152A;   /* button color when clicked */

} 


 .ant-pro-sider-collapsed-button{color: #fff; background: #62A03F;} /*collapse button background */
.ant-pro-layout .ant-layout-sider.ant-pro-sider {
  background: #00152A; /*Total sider color  Except main menu items*/
}

/*.ant-menu-light.ant-menu-inline .ant-menu-sub.ant-menu-inline{background: #9cadbe;} /*submenu BackGround*/
.ant-menu .ant-menu-submenu{border-radius: 0px;}
.ant-menu-inline .ant-menu-submenu-title{padding-left:0px; margin:0px; width: calc(100%);} 
.ant-menu-inline >.ant-menu-submenu>.ant-menu-submenu-title{border-radius: 0px;}
.ant-menu-inline .ant-menu-item{padding-left:0px; margin:0px; width: calc(100%); border-radius: 0px; color:#fff;} 

.ant-pro-base-menu-vertical.ant-pro-base-menu-vertical-collapsed .ant-menu-submenu-selected>.ant-menu-submenu-title {
  background-color: #62A03F; /* when sider collapsed , menu item (menu item icon) background color */
  border-radius: 0;
  margin: 0;
}
.ant-menu-vertical .ant-menu-submenu-title{width: calc(100%); margin:0px; border-radius: 0px;}
.ant-menu .ant-menu-submenu-title{border-radius:0px;} 


.ant-menu-light:not(.ant-menu-horizontal) .ant-menu-item:not(.ant-menu-item-selected):hover,
.ant-menu-light>.ant-menu:not(.ant-menu-horizontal) .ant-menu-item:not(.ant-menu-item-selected):hover {
  background: #62A03F; /* sub-menu item background color when i mouse hover*/
  color:#fff;
}

.ant-menu-light:not(.ant-menu-horizontal) .ant-menu-submenu-title:hover,
.ant-menu-light>.ant-menu:not(.ant-menu-horizontal) .ant-menu-submenu-title:hover {
  background: #62A03F;   /*Main Menu Item Background color when i hover */
  color:#fff;
}

.ant-menu-light .ant-menu-item a:hover,
.ant-menu-light>.ant-menu .ant-menu-item a:hover {
  color:#fff; /* Sub menu text color  when i hover (collapsed state) */
}

.ant-menu-light .ant-menu-item, .ant-menu-light>.ant-menu .ant-menu-item{color:#000;} /* sub menu text color , when collapsed  */


.ant-menu .ant-menu-submenu{border-radius: 0 !important;}

.ant-menu-light.ant-menu-inline .ant-menu-sub.ant-menu-inline{background: #000C18 !important;} /* sub menu background color*/
.ant-menu-submenu-title{color:#fff !important;} /* main menu item  text color */

.ant-menu-item .ant-menu-item-only-child .ant-pro-base-menu-inline-menu-item{color:#fff !important;}
.ant-menu-submenu-popup{backdrop-filter:none;}  /* remove blur effect on sub menu */

.ant-menu-light.ant-menu-inline .ant-menu-item{color:#fff;}  /* sub menu item text color */

 :where(.css-1yppxvz).ant-menu-light.ant-menu-inline .ant-menu-sub.ant-menu-inline{background: #000C18;}
 .ant-menu-item.ant-menu-item-selected.ant-menu-item-only-child.ant-pro-base-menu-inline-menu-item {
  background: #62A03F;
}

.ant-menu-light .ant-menu-item-selected, :where(.css-1wmv0zb).ant-menu-light > .ant-menu .ant-menu-item-selected {
  background-color: #62A03F !important;  
  color: #fff !important;
}   /* selected menu item background color (When i collapsed) */

:where(.css-dev-only-do-not-override-14gstjl).ant-btn-link {
  color: #62A03F; /* Edit icon color */
}
:where(.css-dev-only-do-not-override-14gstjl).ant-btn-link:not(:disabled):not(.ant-btn-disabled):hover{
  color: #5fcc1f;  /* Edit icon hover color */

}

.ant-pro-layout .ant-layout-header.ant-pro-layout-header{
  background-color:#00152A ;
}

.ant-pro-global-header-collapsed-button{
  color: #fff; /* toggle button color */
}


:where(.css-dev-only-do-not-override-1rb5soc).ant-menu-light .ant-menu-item-selected, :where(.css-dev-only-do-not-override-1rb5soc).ant-menu-light>.ant-menu .ant-menu-item-selected{
    background-color: #62A03F;
}


:where(.css-dev-only-do-not-override-qnu6hi).ant-btn-primary{
  color: #fff;
  background: #62A03F;      
  box-shadow: 0 2px 0 rgba(5, 145, 255, 0.1);
}    /*on Confirmation modal buttons */



.blink-badge {
  animation: blink-badge-animation 1.5s infinite;
}

@keyframes blink-badge-animation {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}


.scroll-marquee {
  white-space: nowrap;
  overflow: hidden;
  /* width: 180px; You can increase width */
  position: relative;
  height: 25px;
}

.scroll-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-text 6s linear infinite, flash-text 1s ease-in-out infinite;
  color: 'white';
  font-size: 15px;
  font-weight: bold;
  /* text-shadow: 0 0 6px rgba(255, 77, 79, 0.6); */
}

 @keyframes scroll-text {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

 th.footplate-group,
th:has(.footplate-title) {
   background-color: #D3ECCD !important;
}
th.ambush-group,
th:has(.ambush-title) {
  background-color: #C4E1E6 !important;
}

th.sno-group,
th:has(.sno-title) {
  background-color: #F5F5F0 !important;
}
th.cli-group,
th:has(.cli-title) {
  background-color: #EAE7DC !important;
}

th.obs-group,
th:has(.obs-title) {
  background-color: #E3E6EB !important;
}

/* In CSS file or styled-components */
.scroll-container {
  scrollbar-width: thin;
  scrollbar-color: #62A03F #e0f0e9;
}

.scroll-container::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
.scroll-container::-webkit-scrollbar-thumb {
  background: #62A03F;
  border-radius: 4px;
}

