@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


body{
    font-family: "Cinzel", serif;
    /* Use a value from 400 to 900 */
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 0.6s ease-out forwards;
    
  }
  @keyframes slideUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

   .slide-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideUp 0.6s ease-out forwards;
    
  }
  @keyframes slideUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

/*---------- Login -----------------------*/

.loginbg{
    background: url('/uploads/visualsofdana-T5pL6ciEn-I-unsplash.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    
  }
  .loginbg::after{
    content: '';
    position: absolute;
    display: block;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background-color: rgba(0,0,0,0.5);
  }


    @keyframes borderAnimation {
      0% {
        background-position: 0% 50%;
      }
      100% {
        background-position: 100% 50%;
      }
    }

    .animated-border {
      background: linear-gradient(270deg, #00f0ff, #ff00c8, #00f0ff);
      background-size: 600% 600%;
      animation: borderAnimation 4s linear infinite;
      border-radius: 18px;
      padding: 2px;
    }


.menu-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 50px;
}

.menu-row {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: start; /* Ensure vertical centering */
  padding: 10px 0;
  margin-top: 10px;
  transition: 0.5s;
  position: relative;
}
.menu-wrapper>.menu-row:hover{
  background-color: #2a303d;

}

.menu-wrapper>.menu-row:hover .icon{
    color: white

}

.menu-wrapper>.menu-row:hover .arrow{
    color: white

}
.active{
   background-color: #2a303d;
}
.menu-row .icon,
.menu-row .arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  color: #6A6E76;
  cursor: pointer;
  transition: 0.5s;
}
.angle {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.angle.rotate {
  transform: rotate(-90deg); /* rotate up */
}

.menu-row .label {
  padding: 0 10px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Submenu styles */
.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
 .submenu.open {
  max-height: 200px;
}
.submenu ul li {
   white-space: nowrap;
  color: #d4cdcd;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;

}
.submenu ul li:hover {
  color: #0e6cd8;

}


.menu-icon.open .line1 {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.open .line2 {
  opacity: 0;
}

.menu-icon.open .line3 {
  transform: rotate(-45deg) translate(5px, -5px);
}


 .sidebar {
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
}

/* When icon-only sidebar is hidden */
.iconsidebar {
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
}
  .ml20{
    margin-left: 20%;
  }
  .ml5{
     margin-left: 5%;
  }

  .topbar{
    width:95%;
    left:5%
  }
  .loaddropdown{
      transform: scaleY(0);
  }
  .dropdown{
    transform: scaleY(1);
  }


#sidebar.collapsed .label,
#sidebar.collapsed .arrow {
  display: none;
}

/* Optional: shrink sidebar width */
#sidebar.collapsed {
  width: 5%;
}

/* Optional: center icons if space changes */
#sidebar.collapsed .menu-row {
  grid-template-columns: 1fr;
  justify-content: center;
  text-align: center;
}

 #sidebar.collapsed .hotel-name {
    display: none;
  }

.logo-size {
      height:100%;
      width: 100%;
      object-fit: cover;
   
      padding-top: 5px;
          /* margin-left: 54px; */
}

#sidebar.show-mobile {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      width: 80%;
      height: 100%;
      z-index: 50;
      background-color: #00172C;
    }

 .content-hidden img,
  .content-hidden .hotel-name {
    display: none;
  }

  #sidebar.collapsed ~ #rightpanel {
  margin-left: 80px; /* or whatever your collapsed sidebar width is */
  width: calc(100% - 80px);
}

@media (max-width: 1023px) {
  #rightpanel {
    margin-left: 0 !important;
    width: 100% !important;
  }
}

.hover-fill-left {
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

.hover-fill-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color:#00172C ;
 
  z-index: 0;
  transition: width 0.5s ease;
}

.hover-fill-left:hover::before {
  width: 100%;
   
}

.hover-fill-left a {
  position: relative;
  z-index: 1;
}

    .table-scroll::-webkit-scrollbar {
  height: 8px; /* horizontal scrollbar height */
}

.table-scroll::-webkit-scrollbar-track {
  background: #f1f1f1; /* scrollbar track background */
}

.table-scroll::-webkit-scrollbar-thumb {
  background-color: #3366FF; /* scrollbar thumb color */
  border-radius: 0; /* no rounded corners */
  border: none;
}

.table-scroll {
  scrollbar-color: #3366FF #f1f1f1; /* for Firefox */
  scrollbar-width: thin;
}


/* data -table style */

.table-scroll {
      overflow-x: auto;
      border: 1px solid #3366FF;
      border-radius: 10px;
      background: white;
      padding: 10px;
    }

    table {
      width: 100%;
      min-width: 1000px;
      border-collapse: collapse;
    }

    th, td {
      padding: 10px;
      border: 1px solid #3366FF;
      text-align: left;
      font-size: 14px;
    }

    thead {
      background-color: #3366FF;
      color: white;
    }

     .actions button {
      margin-right: 5px;
      padding: 4px 8px;
      border: none;
      border-radius: 5px;
      font-size: 12px;
      cursor: pointer;
    }

.table-scroll::-webkit-scrollbar {
  height: 8px; /* horizontal scrollbar height */
}

.table-scroll::-webkit-scrollbar-track {
  background: #f1f1f1; /* scrollbar track background */
}

.table-scroll::-webkit-scrollbar-thumb {
  background-color: #3366FF; /* scrollbar thumb color */
  border-radius: 0; /* no rounded corners */
  border: none;
}

.table-scroll {
  scrollbar-color: #3366FF #f1f1f1; /* for Firefox */
  scrollbar-width: thin;
}
 

    .btn-reset { background-color: #b2b507; color: white; }
    .btn-edit  { background-color: #efd31d; color: white; }
    .btn-delete { background-color: crimson; color: white; }
    .btn-lock { background-color: #00AC69; color: white; }
    .btn-out { background-color: #ef0606; color: white; }
    .btn-pay { background-color: #1cfc03; color: white; }
    .btn-ledger { background-color: #2e14f8; color: white; }
    .btn-bill { background-color: #28ee3c; color: white; }
    .btn-allort { background-color: #f843ec; color: white; }
    .itemPurch{background-color: #013e05; color: white;}
    .itemIssue{background-color: #f87d09; color: white;}
    .Purchrpt{background-color: #05c57b; color: white;}
    .Issuerpt{background-color: #f20f57; color: white;}
    .btn-createbill{background-color: #4702e9; color: white;}
    

  .dataTable-wrapper .dataTable-top .dataTable-search input {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 14px;
  outline: none;
}



.dataTable-pagination li.active {
  background: transparent !important;
  box-shadow: none !important;
}

/* Style the active anchor properly */
.dataTable-pagination li.active a {
  background-color: #3366FF !important;
  color: white !important;
  box-shadow: none !important;
  border: 1px solid #3366FF !important;
  position: relative;
  z-index: 1;
}

/* Remove extra focus highlight */
.dataTable-pagination a:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Optional: if there's a weird stacking issue */
.dataTable-pagination li {
  position: relative;
  z-index: 0;
}


 .modBackOff{
      visibility: hidden;
  }
   .modBackOpen{
      visibility: visible;
   }
  .modelBoxOpen{
    visibility: visible;
    opacity: 1;
    top:50%;
  }
  .modelBoxOff{
    visibility: hidden;
    opacity: 0;
    top:30%;
  }


  .container {
	max-width: 220px;
	width: 100%;

	padding: 30px;
	border-radius: 30px;
 
}
  .img-area {
	position: relative;
	width: 100%;
	height: 140px;
	
	
	border-radius: 15px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
  margin-bottom: 10px;
}

.modelimg-area{
  position: relative;
	width: 100%;
	height: 100px;
	border-radius: 15px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
  margin-bottom: 5px;
}
.img-area .icon {
	font-size: 80px;
  color:crimson
}

.modelimg-area .icon {
	font-size: 40px;
  color:crimson
}
.img-area img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	
	z-index: 9;
}
.modelimg-area img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	
	z-index: 9;
}
.modelimg-area::before {
	content: attr(data-img);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .5);
	color: #fff;
	font-weight: 500;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
	opacity: 0;
	transition: all .3s ease;
	z-index: 200;
}
.img-area::before {
	content: attr(data-img);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .5);
	color: #fff;
	font-weight: 500;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
	opacity: 0;
	transition: all .3s ease;
	z-index: 200;
}
.modelimg-area.active:hover::before {
	opacity: 1;
}
.img-area.active:hover::before {
	opacity: 1;
}