@font-face {
  font-family: "ModernSans-Light";
  src: url("../font/ModernSans-Light.otf");
}

body {
  font-family: "ModernSans-Light";
  background: #ffffff;
}
a.navlink:hover {
  color: white;
}
.link {
  cursor: default;
}
a:link {
  text-decoration: none;
  color: white;
}
a:visited {
  text-decoration: none;
  color: white;
}
a:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
}
bwd_head {
  background: black;
  height: 4rem;
  position: fixed;
  top: 0;
  width: 100%;
  margin: auto;
  padding-top: 0.7rem;
  padding-left: 4rem;
  padding-right: 4rem;
  font-size: 1.5rem;
  color: black;
  z-index: 1;
}

top_nav {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
  position: fixed;
  top: 0;
  z-index: 1000;
  height: auto;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.kasir-top {
  margin-top: 3rem;
  height: 20%;
  margin-left: 4rem;
  margin-right: 4rem;
  position: relative;
  top: 5.5rem; /* Adjusted for new header height */
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #c7c7c7 "";
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background:"";
}

*::-webkit-scrollbar-thumb {
  background-color: #c7c7c7;
  border-radius: 8px;
  border: 3px none #562e2e;
}

.kasir-middle {
  height: 57%;
  padding:5px;
  margin-left: 4rem;
  margin-right: 4rem;
  position: relative;
  top: 6rem; /* Adjusted for new header height */
  background: white;
  border-radius: 0.5em;
  overflow: scroll;
}

/* Main content adjustment */
.laporan {
  margin-top: 5.5rem; /* Add top margin for main content */
}
p.hide {
  display: none;
}
    
p.stock:hover + .hide {
  display: block;
  color: red;
}
.kasir-bottom {
  padding:0.5em;
  padding-right: 1em;
  padding-left: 1em;
  height: 21%;
  margin-left: 4rem;
  margin-right: 4rem;
  position: relative;
  top: 10.5rem;
  background: white;
  border-radius: 0.5em;
}
.kasir-headernota {
  padding: 1em;
  position: absolute;
  top: 0%;
  border-radius: 0.5em;
  width: 33%;
  height: 100%;
  background: white;
}
.dashboard {
  margin-left: 4rem;
  margin-right: 4rem;
  position: fixed;
  top: 11rem;
  left:0;
  right: 0;
  bottom:0;
  border-radius: 0.5em;
  height: 78%;
  overflow: hidden;
}
.logodash{
  position:absolute;
  margin:0;
  padding: 0;
  top:0%;
  left:0%;
  height:100%;
  width:30%;
}
.dashingboard{
  position:absolute;
  font-size: 1.2vw;
  color: white;
  margin:0;
  padding: 0;
  top:0%;
  right:0%;
  height:100%;
  width:70%;
}
.kasir-masukanbarang {
  padding: 1em;
  position: absolute;
  border-radius: 0.5em;
  left: 50%;
  width: 33%;
  height: 100%;
  background: white;
  transform: translate(-50%);
}
.input-size{
    font-size: 1vw;
    padding:0.1em;
    padding-left:0.5em; 
}
.kasir-kalkulasitotal {
  padding: 1em;
  position: absolute;
  top: 0%;
  right: 0%;
  border-radius: 0.5em;
  width: 33%;
  height: 100%;
  background: white;
}
footer {
  position: fixed;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: 2rem;
  background: black;
  text-align: center;
  color: white;
}
.laporan{
  font-size: 1.2vw;
  height: 60%;
  margin-left: 4rem;
  margin-right: 4rem;
  position: relative;
  top: 6rem;
}
/* Enhanced Navigation Styles */
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 0.75rem !important;
  margin: 0 0.25rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 1) !important;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.navbar-dark .navbar-nav .nav-link:focus {
  color: rgba(255, 255, 255, 1) !important;
}

.dropdown-menu-dark {
  background-color: rgba(0, 0, 0, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.dropdown-menu-dark .dropdown-item {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.dropdown-menu-dark .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 1);
}

.dropdown-menu-dark .dropdown-item i {
  margin-right: 0.5rem;
  width: 16px;
}

.navbar-brand h3 a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
}

/* Content spacing adjustment for new header */
@media screen and (max-height:850px) {
    .kasir-middle {
        height: 28%;
    }
    .dashboard{
      height: 65%;
    }
}
@media screen and (max-width: 1279px) {
}
