.ui.menu.app-header {
	border-bottom: none;
	background-color: #f6f4f2;
}
.layout.dashboard-layout .layout-content .desktop-container .side-panel-wrapper{
	width:30%;
	padding-right:0;
	background-color: #f6f4f2;
}
.layout.dashboard-layout .layout-content, .ui.vertical.menu{
	background-color: #f6f4f2;
}
.layout.page-layout .layout-content.padded{
	background-color:#fff;
	border-radius: 20px 0 0 0;
	min-height:calc(100vh);
}

.ui.vertical.menu.side-panel.desktop{
	padding-right:5px;
	position: fixed;
    width: 22% !important;
    bottom: 0;
    overflow: hidden;
    padding-left: 10px;
    top: 70px;
    max-height: 70vh;
}
.ui.vertical.menu.side-panel.desktop:hover{
    overflow-y: auto;
}
.ui.vertical.menu.side-panel .side-panel-item{
	    border-radius: 10px !important;
}
.ui.menu .item.ellipsis{
	overflow:visible;
}
.ui.vertical.menu.side-panel .side-panel-item{
	padding:1em;
}
.side-panel-item.active .left-icon::before{
   content: "";
  height: 80%;
  width: 5px;
  background-color: #1890ff;
  position: absolute;
  left: -8px;
	top:4px;
  border-radius: 5px;
}
.ant-btn-link{
   color: #4f4f4f !important;
}
/* .ant-btn-primary,.ui.primary.button{
   background: linear-gradient(77.74deg,#eb4f63 11.16%,#fa7b3f 99.55%)!important;
   border: unset !important;
   
} */

.ant-btn-primary,
.ui.primary.button {
  background: linear-gradient(77.74deg, #1890ff 11.16%, #40c9ff 99.55%) !important; /* xanh biển đậm -> nhạt */
  border: unset !important;
}

.ant-btn-primary:hover,
.ui.primary.button:hover,
.ant-btn-primary:focus,
.ui.primary.button:focus {
  background: linear-gradient(77.74deg, #40a9ff 11.16%, #70e1ff 99.55%) !important; /* xanh biển hover */
  border: unset !important;
}
.ui.primary.button{
   border-radius: 8px ;
   height: auto ;
   padding: 9px 20px !important;
}

 .ant-dropdown-trigger .ant-table-filter-trigger .active>path{
  color: #40c9ff
}
.oxygen-app-shell {
   width: 100%;
   display: flex;
   overflow: hidden;
   flex-grow: 1;
   flex-direction: column;
   min-height: 100vh; }
   .oxygen-app-shell .oxygen-header {
     z-index: 1201; }
   .oxygen-app-shell .oxygen-app-shell-content {
     display: flex;
     overflow: auto;
     flex-grow: 1;
     transition: all 0.5s; }
     .oxygen-app-shell .oxygen-app-shell-content .oxygen-app-shell-navigation-wrapper {
       background: var(--oxygen-palette-customComponents-Navbar-background); }
       .oxygen-app-shell .oxygen-app-shell-content .oxygen-app-shell-navigation-wrapper .MuiDrawer-paper {
         top: var(--oxygen-customComponents-AppShell-properties-navBarTopPosition);
         bottom: 0;
         height: auto; }
     .oxygen-app-shell .oxygen-app-shell-content .oxygen-app-shell-main-wrapper {
       display: flex;
       overflow: auto;
       flex-grow: 1;
       flex-direction: column;
       background: var(--oxygen-palette-customComponents-AppShell-MainWrapper-background); }
       .oxygen-app-shell .oxygen-app-shell-content .oxygen-app-shell-main-wrapper .oxygen-app-shell-main {
         flex-grow: 1;
         padding: var(--oxygen-customComponents-AppShell-properties-padding);
         margin-top: var(--oxygen-customComponents-Header-properties-min-height);
         background: var(--oxygen-palette-customComponents-AppShell-Main-background);
         border-top-left-radius: var(--oxygen-customComponents-AppShell-properties-mainBorderTopLeftRadius);
         position: relative; }
.username{
   color: #4f4f4f !important;
   font-size: 16px;
   font-weight: 500;
   padding: 2px;
  height: 27px;
}
/* Styles for tablets and larger devices */
@media (min-width: 600px) {
   .container-a {
     max-width: 540px;
    
   }
 }
 
 
 
@media (min-width: 576px) {

   .d-sm-none{display:none!important}
   .d-sm-inline{display:inline!important}
   .d-sm-inline-block{display:inline-block!important}
   .d-sm-block{display:block!important}
   .d-sm-table{display:table!important}
   .d-sm-table-row{display:table-row!important}
   .d-sm-table-cell{display:table-cell!important}
   .d-sm-flex{display:flex!important}
   .d-sm-inline-flex{display:inline-flex!important}
   }
   @media (min-width: 768px) {
      .content-wrapper{width: 100%  !important}
      .side-panel-wrapper{width: 30% !important}  
      .icon-sidebar-wrapper {
      width: 4rem;
      height: 100%;
      background-color: #fff;
      border-right: 1px solid #e0e0e0;
      position: fixed;
      z-index: 10;
      overflow: visible;
      }
   .d-md-none{display:none!important}
   .d-md-inline{display:inline!important}
   .d-md-inline-block{display:inline-block!important}
   .d-md-block{display:block!important}
   .d-md-table{display:table!important}
   .d-md-table-row{display:table-row!important}
   .d-md-table-cell{display:table-cell!important}
   .d-md-flex{display:flex!important}
   .d-md-inline-flex{display:inline-flex!important}
   }
   @media (min-width: 992px) {
   
   .d-lg-none{display:none!important}
   .d-lg-inline{display:inline!important}
   .d-lg-inline-block{display:inline-block!important}
   .d-lg-block{display:block!important}
   .d-lg-table{display:table!important}
   .d-lg-table-row{display:table-row!important}
   .d-lg-table-cell{display:table-cell!important}
   .d-lg-flex{display:flex!important}
   .d-lg-inline-flex{display:inline-flex!important}
   }
   @media (min-width: 1200px) {
   .d-xl-none{display:none!important}
   .d-xl-inline{display:inline!important}
   .d-xl-inline-block{display:inline-block!important}
   .d-xl-block{display:block!important}
   .d-xl-table{display:table!important}
   .d-xl-table-row{display:table-row!important}
   .d-xl-table-cell{display:table-cell!important}
   .d-xl-flex{display:flex!important}
   .d-xl-inline-flex{display:inline-flex!important}
   }

   .ant-table-container{
      overflow: auto;
   }
   .ant-picker-dropdown{
      z-index: 1500 !important;
   
   }
/* Mobile */
   @media only screen and (max-width: 767px){
      /* .content-wrapper{width: calc(100vw - 60px) !important} */
      .content-wrapper-icon{margin-left: 0 !important}
      .side-panel-wrapper{width: 60px !important} 
      .menu-hamburger{
         display: block;
      }
      .ant-modal{
         width: 90% !important;
      }
   }
   
/* Tablet */

@media only screen and (min-width: 768px) and (max-width: 991px) {
   /* .content-wrapper{width: calc(100vw - 60px) !important} */
   .side-panel-wrapper{width: 60px !important} 
   .content-wrapper-icon{margin-left: 0 !important}
   .action{float: right;}  
   .menu-hamburger{
      display: block;
   }
   .ant-modal{
      width: 90% !important;
   }
}
/* Small Monitor */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
   .action{float: right;}   
}
/* Large Monitor */
@media only screen and (min-width: 1200px) {
   .action{float: right;}   
}

#content-modal-cus>.container-fluid>.mt-2>.overflow{
   overflow: auto;
}
.theme-icon >i{
   margin-top:3px 
}
.MuiFormLabel-colorPrimary, i {
   color: rgb(98, 98, 98) !important;
}
 .ant-pagination-item-active a{
  color: #1890ff !important;
}
.ant-pagination-item-active{
  border-color: #40c9ff !important;
}
.review-content{
   background: #eaeaea;
   padding: 5px;
   border-radius: 10px;
}
.review-content-item{
   padding: 5px;
   border-bottom: 1px solid #d9d9d9;
}
.review-content-item:last-child{
   border-bottom: none;
}
.review-content-item:hover{
   background: #f3f3f3;
}
 
 .title-value  {
  color:#1890ff !important;
}
.leaflet-container{
   border-radius: 5px;
}
.button-slide-opacity{
   position:  absolute;
   top: 70px;
   z-index: 600;
   right:15px;
   height: 90px;
   width: 35px;
   background: #fff;
   padding: 10px 5px;
   border: #adadad 2px solid;
   border-radius: 5px;
}
.button-slide-opacity .ant-slider-vertical{
   margin: 0 auto;
}
 .button-slide-opacity button{
  background: #1890ff;
  color: #fff;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
}
.leaflet-bottom.leaflet-right > .leaflet-control-attribution.leaflet-control {
   display: none !important;
}
 .editable-cell-value-wrap:hover{
   border:#d8d8d8 1px solid; 
}

.button_show_picker_map{
   position: absolute;
  top: 30px;
  right: 15px;
}

.ant-alert {
   padding: 2px 10px !important;
  margin-top: 5px;
  margin-left: 15px;
}
.options{ 
   border-radius: 5px;
   cursor: pointer;
}
.options:hover{
   box-shadow: 0px 0px 5px #2c91fd;
   background:
 #dbebff !important;
}
.options.active{
   box-shadow: 0px 0px 5px #2c91fd;
   background:
 #dbebff !important;
}
/* =================== using for menu icon */
.sidebar-toggle {
  background-color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.sidebar-toggle:hover {
  transform: scale(1.1);
}

.content-wrapper {
  margin-left: var(--sidebar-width);
  transition: margin-left 0.3s ease;
}
.modern-menu-header .theme-icon i {
  color: inherit !important;
}
/* Thêm vào file CSS với specificity cao hơn */
.modern-sidebar-item.active .theme-icon i {
  color: #ffffff !important;
}

/* Hoặc nếu muốn specific hơn */
 .modern-menu-header.active .theme-icon i {
  color: #1890ff !important;
}

.content-wrapper-icon {
  margin-left: 4rem;
}

/* Adjust main layout container for sidebar states */
.layout.page-layout {
  transition: all 0.3s ease;
}

/* Animation for sidebar toggle */
@keyframes slideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes slideOut {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.sidebar-slide-in {
  animation: slideIn 0.3s forwards;
}

.sidebar-slide-out {
  animation: slideOut 0.3s forwards;
}
.icon-sidebar-wrapper {
  width: 4rem;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border-right: 1px solid #e8e8e8;
  position: fixed;
  z-index: 10;
  overflow: visible;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.icon-sidebar-menu {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 1rem;
}

.icon-sidebar-category {
  position: relative;
  margin-bottom: 0.5rem;
}

.icon-sidebar-main-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  margin: 4px 8px;
  position: relative;
  overflow: hidden;
}

 .icon-sidebar-main-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24, 144, 255, 0.05);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.icon-sidebar-main-item:hover::before {
  opacity: 1;
}

.icon-sidebar-main-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

 .icon-sidebar-main-item:hover i {
  color: #40c9ff !important;
  transform: scale(1.1);
}

 .icon-sidebar-main-item.active {
  background: linear-gradient(135deg, #1890ff 0%, #40c9ff 100%) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.25) !important;
  transform: translateY(-1px) !important;
}

.icon-sidebar-main-item.active i {
  color: #ffffff !important;
}

.icon-sidebar-main-item i {
  font-size: 16px;
  transition: all 0.3s ease;
  z-index: 1;
  position: relative;
}

.parent-menu-item {
  position: relative;
}

.submenu-container {
  position: absolute;
  left: 4rem;
  top: 0;
  min-width: 220px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid #e8e8e8;
  border-radius: 0 12px 12px 0;
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  display: none;
  padding: 0.5rem 0;
  backdrop-filter: blur(10px);
}

 .submenu-header {
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #e8e8e8;
  color: #333333;
  font-size: 14px;
  background: linear-gradient(135deg, #1890ff 0%, #40c9ff 100%);
  color: white;
  margin: -0.5rem 0 0.5rem 0;
  border-radius: 0 12px 0 0;
}

.submenu-items {
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem;
}

.icon-sidebar-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  text-decoration: none !important;
  color: #666666;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  margin: 2px 0;
  position: relative;
  overflow: hidden;
}

 .icon-sidebar-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1890ff 0%, #40c9ff 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.icon-sidebar-item:hover::before {
  opacity: 0.08;
}

 .icon-sidebar-item:hover {
  color: #1890ff !important;
  text-decoration: none !important;
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.15);
  text-decoration: none;
}

 .icon-sidebar-item.active {
  background: linear-gradient(135deg, rgba(24, 144, 255, 0.1) 0%, rgba(64, 201, 255, 0.1) 100%);
  color: #1890ff !important;
  text-decoration: none !important;
  font-weight: 500;
}

.icon-sidebar-item i {
  margin-right: 0.75rem;
  transition: all 0.3s ease;
  font-size: 14px !important;
  z-index: 1;
  position: relative;
}

.submenu-title {
  margin-left: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 1;
  position: relative;
  font-size: 13px;
  font-weight: 400;
}

/* Show submenu on hover */
.parent-menu-item:hover .submenu-container {
  display: block;
  animation: slideInFromLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove underline from all sidebar links */
.icon-sidebar-wrapper a,
.icon-sidebar-wrapper a:hover,
.icon-sidebar-wrapper a:focus,
.icon-sidebar-wrapper a:active,
.icon-sidebar-wrapper a:visited {
  text-decoration: none !important;
}

/* Animation keyframes */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Enhanced button styles */
 .icon-sidebar-menu .ant-btn-primary {
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

 .icon-sidebar-menu .ant-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(24, 144, 255, 0.4) !important;
  background: linear-gradient(135deg, #40a9ff 0%, #70e1ff 100%) !important;
}

 .icon-sidebar-menu .ant-btn-primary:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3) !important;
}

/* Responsive design improvements */
@media (max-width: 991.98px) {
  .icon-sidebar-wrapper {
    display: none !important;
  }
}

/* Scrollbar styling for submenu */
.submenu-items::-webkit-scrollbar {
  width: 4px;
}

.submenu-items::-webkit-scrollbar-track {
  background: transparent;
}

 .submenu-items::-webkit-scrollbar-thumb {
  background: rgba(24, 144, 255, 0.3);
  border-radius: 2px;
}

 .submenu-items::-webkit-scrollbar-thumb:hover {
  background: rgba(24, 144, 255, 0.5);
}

/* =================== end using for menu icon */
