@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&display=swap');


body {
    font-family: 'DM Sans';
    margin: 0;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
    width: 100%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 2rem; /* Lebih compact */
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* Shadow sangat tipis */
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 45px; /* Header lebih pendek */
    overflow: hidden;
}

.leftSide {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    height: auto;
    width: auto;
    transition: transform 0.15s ease;
}

.rightSidee{
    right: 0;
    display: flex;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background-color: white;
    justify-content: center;
    align-items: center;
    border : 0.5px solid #9ECE33
}

.logokanan{
    display: flex;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: white;
    justify-content: center;
    align-items: center;

}

.login {
    background-image: url('../frontend/photo/loginbackground.png'); 
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background-color:white; 
    padding: 20px;
    border-radius: 32px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 480px;
    height: 420px;
    text-align: center;
}

.logo {
    width: 30%;
    border-radius: 15px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 15px;
    text-align: center;
}


input::placeholder {
    color: #555555;
    opacity: 1;
}




input {
    width: 380px;
    font-size: 14px;
    padding: 8px;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 60px;
}

.kuantitasInput{
    width: 75%;
    margin-right: 5%;
}

.kuantitasSelect{
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kuantitas div {
  white-space: nowrap; /* agar teks di span tidak pecah ke bawah */
    font-size: 16px;
    color: #555;
    font-weight: lighter;
    width: 10%;
}




.buttonLogin {
    width: 380px;
    padding: 10px;
    background-color: #9ece33;
    border: none;
    border-radius: 56px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 25px;
}

button:hover {
    background-color: #218838;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    background: #9BC93C;
    z-index: 1;
    animation: move 10s infinite linear;
}

@keyframes move {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 20px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.firstContainer {
    display: flex;    
    gap: 40px;            
    align-items: center;    
    padding: 0 2rem;
    margin-top: 10px;       
  }

.secondContainer {
    display: flex;     
    padding: 0 2rem;
    margin-top: 10px; 
    overflow-x: hidden;
    height: auto;
    box-sizing: border-box;
}

.thirdContainer {
    display: flex;     
    padding: 0 2rem;
    margin-top: 10px; 
    overflow-x: hidden;
    height: auto;
    box-sizing: border-box;     
}

.branchNavigationTabContainer {
    display: flex;    
    gap: 40px;            
    align-items: center;    
    padding: 0 2rem;
    margin-top: 10px;     
  }

.headerInventory {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.tableContainer {
    padding: 0 2rem;
    display: flex;
    margin-top: 0.5rem;
    table-layout: fixed;
}

.tableContainer th:nth-child(1) {
    width: 25%;
}

.tableContainer th:nth-child(2) {
    width: 25%;
}

.tableInventory {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.invenFont {
    font-size: 28px;
}

.buttonInventory {
    width: 125px;
    height: 30px;
    border-radius: 2rem;
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    font-size: 10px;
    cursor: pointer;
    background-color: #9ece33;
    gap: 5px;
}

.blueButton {
    background-color: rgb(39, 39, 192);
}

.blueButton:hover {
    background-color: darkblue;
}

.yellowButton {
    background-color: #5D5127;
}

.yellowButton:hover {
    background-color: #715F1E;
}

.redButton {
    background-color: #e32f0ae5;
}

.redButton:hover {
    background-color: #e32f0a;
}

.iconUser {
    width: 20px;
    height: 20px;
    margin-right: 8px;

}

.greenButton {
    background-color: #9ece33;
}


.rightSide {
    display: flex;
    align-items: center;
    gap: 10px;
}


.inventoryType {
    padding-right: 15px;
    height: 32px;
    display: flex;
    flex-direction: row;
    border-radius: 3px;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    background-color: #EDF0F3;
    width: 50%;
    display: flex;
    white-space: nowrap; 
}

.locationType {
    padding-right: 15px;
    height: 32px;
    display: flex;
    flex-direction: row;
    border-radius: 3px;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    background-color: #EDF0F3;
    width: 50%;
    display: flex;
    white-space: nowrap; 
}

.invenTypeFont {
    font-size: 12px;
    color: #74767D;
    font-weight: lighter;
}

.locationTypeFont {
    font-size: 12px;
    color: #74767D;
    font-weight: lighter;
}

.invenQuantity {
    font-size: 12px;
    color: #C1C3C9;
}

.locationQuantity {
    font-size: 12px;
    color: #C1C3C9;
}

.type {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.left {
    margin-left: 16px;
}

.right {
    margin-right: 16px;
}

.border {
    color: #9EA2AB;
}

.activeInvent {
    background-color: white;
    height: 25px;
    border : solid 1px #9ECE33;;
    border-radius: 5px;
    padding-inline: 12px;
}

.nav-item {
    padding: 10px;
    cursor: pointer;
    font-size: 12px;
    color: #74767D;
    font-weight: lighter;
}

.branch-nav-item {
    padding: 6px 12px;
    cursor: pointer;
    font-size: 10px;
    color: #74767D;
    font-weight: lighter;
}

.nav-invent{
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: all 0.3s ease;
    line-height: 0px;
}

.nav-invent:hover {
    background-color: #f5f5f5;
}


.activeLabel {
    background-color: white;
    border-bottom : solid 3px #9ECE33;
}


.searchBar {
    position: relative;
    margin-left: 20%;
    right: 0;
    width: 30%;
}


.searchBar input{
    width: 100%;
    padding: 10px 40px 10px 15px; /* Ruang untuk ikon */
    border: 1px solid #ddd;
    border-radius: 25px; 
    outline: none;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-input:hover{
    border: 1px solid #9ece33;
}

.search-icon {
    position: absolute;
    right: 15px; /* Posisi ikon di kanan */
    top: 50%;
    transform: translateY(-50%);
    color: #777; /* Warna ikon */
    cursor: pointer;
    opacity: 0.7;
}

.search-icon:hover{
    opacity: 1;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 0 1rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    text-align: right;
}
  
.user-name {
    font-weight: bold;
    font-size: 14px;
}
  
.user-role {
    font-size: 12px;
    color: #777;
}

.user-icon {
    background: #9ECE33;
    padding: 10px;
    border-radius: 50%;
    color: #ffffff;
}


.tableInventory tr{
    height: 36px;
    border-radius: 5px;
}

.tableInventory th{
    font-size: 12px;
    background-color: #9ECE33;
    border: none;
    color: #EBF5E4;
    padding: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-invent {
        padding: 10px 15px;
    }
    
    .invenTypeFont {
        font-size: 15px;
    }
}


.prod {
    width: 35%;
}

.prodImg {
    width: 48px;
    height: 48px;
    margin-right: 12px;
}

.tableInventory td {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.itemInfo {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.prodInfo {
    display: flex;
    flex-direction: column;
    justify-content: left;
}

.prodName {
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
}

.prodType {
    font-size: 12px;
    color: #74767D;
    margin: 0;
}

.modalUser {
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
    position: absolute;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

/* Modal Container */
.modalProduk {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.inputProduk {
  width: 100%; /* Ikut lebar parent/modal */
  /* max-width: 560px; */ /* HAPUS baris ini */
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.inputNamaProduk {
    width: 100%;
    font-size: 14px;
    padding: 8px;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 60px;
    color: #555555;
    
}
.dropdownProduk{
    width: 100%;
    font-size: 14px;
    padding: 8px;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #ccc;
    color: #555;
    border-radius: 60px;
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center; 
    background-size: 14px 14px;
    cursor: pointer;
}


.low-stock {
    color:#e32f0ae5;
    font-weight: bold;
}

/* Menambahkan gaya untuk tombol yang dinonaktifkan */
#tambahProduk:disabled {
    background-color: #d3d3d3;  /* Warna abu-abu */
    color: #a1a1a1;             /* Warna teks abu-abu */
    border: 1px solid #ccc;    /* Border abu-abu */
    cursor: not-allowed;       /* Menunjukkan bahwa tombol tidak bisa diklik */
}

.info-produksi {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    color: #555555;
}
.komposisi-tableTf {
  width: 100%; /* atau biarkan default */
  padding: 0rem;
  margin: 0;
  margin-top: 0rem;
  border: 1px solid #e0e0e0;
  font-size: 0.75rem;
  border-radius: 6px;
  background: #f9f9f9;
  

}

.komposisi-tableTf th,
.komposisi-tableTf td {
  padding: 0;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.komposisi-tableTf th:nth-child(1),
.komposisi-tableTf td:nth-child(1) {
  width: 5%; /* Checkbox */
}

.komposisi-tableTf th:nth-child(2),
.komposisi-tableTf td:nth-child(2) {
  width: 55%; /* Nama */
}

.komposisi-tableTf th:nth-child(3),
.komposisi-tableTf td:nth-child(3) {
  width: 20%; /* Stok */
}

.komposisi-tableTf th:nth-child(4),
.komposisi-tableTf td:nth-child(4) {
  width: 20%; /* Input quantity */
}

.komposisi-table {
  width: 100%; /* atau biarkan default */
  padding: 0rem;
  margin: 0;
  margin-top: 0rem;
  border: 1px solid #e0e0e0;
  font-size: 0.75rem;
  border-radius: 6px;
  background: #f9f9f9;
  

}

.komposisi-table th,
.komposisi-table td {
  padding: 0;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.komposisi-table th:nth-child(1),
.komposisi-table td:nth-child(1) {
  width: 60%; /* Nama Bahan */
}

.komposisi-table th:nth-child(2),
.komposisi-table td:nth-child(2) {
  width: 20%; /* Takaran */
}

.komposisi-table th:nth-child(3),
.komposisi-table td:nth-child(3) {
  width: 20%; /* Stok */
}



.modalContentProduk {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0 50px;
    width: 420px;            /* Lebar fleksibel */
    max-width: 530px;      /* Sebelumnya mungkin 500-600px, ini dilebarkan */
    max-height: 90vh;              /* Batasi tinggi maksimal modal */
    overflow-y: auto;
}



.modalTitle {
  display: flex;
  justify-content: center; /* Horizontal */
  align-items: center;     /* Vertical */
}
.inputCheckbox{
    width: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0 5px;
    gap: 10px;
}

.checkbox {
    width: 5%;
    height: auto;
    margin: 0;
}

/* Style untuk container checkbox */
td.checkbox {
  width: 24px; /* Lebar kolom checkbox */
  padding: 4px;
  text-align: center;
}

/* Style untuk input checkbox */
td.checkbox input[type="checkbox"] {
  width: 16px;  /* Ukuran checkbox */
  height: 16px; /* Ukuran checkbox */
  margin: 0;    /* Hilangkan margin default */
  cursor: pointer;
}

/* Optional: Style saat hover */
td.checkbox input[type="checkbox"]:hover {
  transform: scale(1.1);
}

.hidden-qty{
    display: none;
}

.labelCheckbox {
    width: 95%;
    font-size: 12px;
    cursor: pointer;
    color: #555;
    pointer-events: none;
}


.formProduk{
    padding: 60px;
    width: 90%;
    gap: 10px;
}


#komposisiWrapper {
    margin: 0;
    padding: 0 20px;                /* Tambah padding */
    border: 1px solid #e0e0e0;
    font-size: 0.85rem;
    border-radius: 6px;
    background: #f9f9f9;
    color: #555555;
}











#listMultipleProduk {
    border: 1px solid #ddd;
    padding: 10px;
    margin-top: 10px;
    background: #f9f9f9;
}

#listTransferProduk {
    border: 1px solid #ddd;
    padding: 10px;
    margin-top: 10px;
    background: #f9f9f9;
}
#listReturProduk {
    border: 1px solid #ddd;
    padding: 10px;
    margin-top: 10px;
    background: #f9f9f9;
}
#listReturJadiApa {
    border: 1px solid #ddd;
    padding: 10px;
    margin-top: 10px;
    background: #f9f9f9;
}

.selected-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border-bottom: 1px solid #eee;
    color:#555555;
    font-size: 0.75rem;
}


.remove-btn {
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
}











.modalFormContainer {
    background-color: white;
    width: 480px;
    height: 400px;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding-inline: auto;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 30px 60px 30px;
}

.pageROP {
    display: none;
}

.pageExpected {
    display: none;
}


.modalContent {
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}



.buttonTambahProduk{
    width: 100%;
    background-color: #9ECE33;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 56px;
    padding: 10px;
    border: none;
    margin: 0 auto;
    display: block;
    margin-top: 30px;

    
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    margin: 10px;
    width: 36px;
    height: 36px;
    font-size: 36px;
    color: #555555;
}

.close:hover {
    color: #333;
    transform: scale(1.1);
}

.dropdownNama {
    display: none; 
    width: 100%; 
    position: absolute; 
    top: 100%; 
    border-radius: 10px;
    margin-top: 5px; 
    border: 1px solid #ccc;
    background-color: white;
    z-index: 1; 
    max-height: 150px; 
    overflow-y: auto; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
    padding: 0;
}

li {
    list-style: none;
    padding: 10px; 
    cursor: pointer; 
    background-color: white; 
}

li:hover {
    background-color: #f0f0f0;
}

#filterInput {
    z-index: 2;
}

.input-barang-Nama {
    position: relative;
}

.dropdown-field {
    width: 380px;
    font-size: 14px;
    padding: 8px;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #ccc;
    color: #555;
    border-radius: 60px;
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center; 
    background-size: 14px 14px;
    cursor: pointer;
}

.dropdown-field-kuantitas{
    width: 20%;
    font-size: 14px;
    padding-left: 4%;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #ccc;
    color: #555;
    border-radius: 60px;
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center; 
    background-size: 14px 14px;
    cursor: pointer;
}


#tanggal {
    position: relative;
    color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM9 14H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm-8 4H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center; 
    background-size: 14px 14px;

}

/* Placeholder custom */
#tanggal::before {
    content: attr(placeholder);
    color: #999;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    background: none;
}

/* Sembunyikan placeholder jika input tidak kosong */
#tanggal:not(:focus):not(:valid)::before {
    display: block;
}
#tanggal:focus::before,
#tanggal:valid::before {
    display: none;
}

#tanggal:focus,
  #tanggal:valid {
    color: #000; /* Teks hitam */
}

  

/* Dropdown container */
.custom-dropdown {
    width: 380px;
    position: relative;
    border-radius: 60px;
}

.formUser {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Button to display selected value */
.dropdown-button {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    text-align: left;
    border: 1px solid #ccc;
    border-radius: 60px;
    background-color: #EDF0F3 !important;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Dropdown menu */
.dropdown-menu {
    list-style: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 0;
    margin: 5px 0;
    display: none; /* Hidden by default */
    z-index: 10;
}

/* Dropdown menu items */
.dropdown-menu li {
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
}

.dropdown-menu li:hover {
    background-color: #f0f0f0;
}

.dropdown-menu li {
    background-color: white; /* Ensures no green highlight */
}

.dropdown-menu li:hover, .dropdown-menu li:focus {
    background-color: #f0f0f0; /* Light gray on hover */
}

.mobile {
    display: none;
}


@media screen and (max-width: 768px) {
    /* General layout adjustments */
    .rightSide {
      display: none;
    }
  
    .tableContainer, 
    .headerInventory, 
    .secondContainer, 
    .inventoryType {
      padding: 0 10px;
      margin: 0;
      width: 100%;
      box-sizing: border-box;
    }
  
    .tableContainer {
      margin-top: 0;
    }
  
    /* Mobile/desktop visibility */
    .mobile {
      display: block;
    }
  
    .desktop {
      display: none;
    }
  
    /* Product items */
    .prod {
      width: 10%;
      min-width: 30px;
    }
  
    .prodImg {
      width: 12px;
      height: 12px;
      margin-right: 4px;
    }
  
    .itemInfo {
      margin-left: 0;
      flex-grow: 1;
    }
  
    .drop-down{
        position:absolute;
        left:42%;
        top:40%;
      }
      
      .drop-down .selected a{
        background:#fff no-repeat scroll right center;
        display:block; 
        padding-right:20px; 
        border:1px solid #d7d7d7; 
        width:150px;
        border-radius:2px;
        text-decoration:none;
        color:#3179ac;
      }
      
      .drop-down .selected a span{
        cursor:pointer; 
        display:block; 
        padding:5px;
      }
      
      .drop-down .option{
        position:relative; 
      }
      
      .drop-down .options ul{
        background:#fff none repeat scroll 0 0;               display:none;
        list-style:none; 
        padding:0px 0px; 
        position:absolute; 
        left:0px; 
        top:32px; 
        width:auto; 
        min-width:170px;
        border:1px solid #d7d7d7;
      }
      
      .drop-down .selected span.value, .drop-down .options span.value{
        display: none;
      }
      
      .drop-down .options ul li a{
        padding:5px; 
        display:block;
        text-decoration:none;
        color:#3179ac;
      }
      
      .drop-down .options ul li a:hover{
        background:#3179ac;
        color:#fff;
        transition:0.2s ease;
      }
    .search-container {
        position: relative;
        width: 100%;
        max-width: 300px; /* Adjust as needed */
        margin: 8px 0;
        justify-content: space-between;
        vertical-align: middle;
        text-align: center;
      }
      
    .search-input {
        width: 100%;
        padding: 10px 15px 10px 35px; /* Left padding for icon */
        border: 1px solid #ddd;
        border-radius: 20px; /* Rounded corners */
        font-size: 14px;
        outline: none;
        transition: border 0.3s;
      }
      
      .search-input:focus {
        border-color: #4CAF50; /* Highlight color when focused */
      }

      .searchBar{
        display: none;
      }
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdownButton {
    background-color: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.dropdownContent {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.dropdownContent button {
    padding: 8px 16px;
    width: 100%;
    text-align: left;
    border: none;
    background-color: white;
    cursor: pointer;
}

.dropdownContent button:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdownContent {
    display: block;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdownButton {
    background-color: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.dropdownContent {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.dropdownContent button {
    padding: 8px 16px;
    width: 100%;
    text-align: left;
    border: none;
    background-color: white;
    cursor: pointer;
}

.dropdownContent button:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdownContent {
    display: block;
}
.toast {
    position: fixed;
    top: 15px;
    right: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 20px 35px 20px 25px;
    background-color: #fff;
    border-left: 6px solid #9ECE33;
    transform: translateX(150%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    z-index: 9999;
    min-width: 250px;
    max-width: 400px;
}

.toast.error{
  border-left:  6px solid #e32f0ae5;
}

.toast.success{
  border-left: 6px solid #9ECE33;
}

.toast.active {
    transform: translateX(0%);
}

.toast .toast-content {
    display: flex;
    align-items: center;
}

.toast-content .icon {
    display: flex;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #fff;
}

.toast.success .icon {
    background-color: #9BC93C;
}

.toast.error .icon {
    background-color: #e32f0a;
}

.toast .message-content {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
}

.message-content .text {
    font-size: 14px;
    font-weight: 400;
    color: #666666;
}

.message-content .text.title {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.toast .closeToast {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    opacity: 0.7;
    font-size: 16px;
}

.toast .closeToast:hover {
    opacity: 1;
}

.toast .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: #e0e0e0;
    overflow: hidden;
}

.toast.success .progress::before {
    background-color: #9ECE33;
}

.toast.error .progress::before {
    background-color: #e32f0a;
}

.toast .progress::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transform-origin: left;
}

.progress.active::before {
    animation: progress-bar 5s linear forwards;
}

@keyframes progress-bar {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modalContent {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    width: 400px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    display:box;
}

.closeModal {
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
    position: absolute;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

#deleteModal .modalContent {
    text-align: center;
}

#deleteModal h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

#modalProductDetails {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    display: block;
}

.modalActions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.cancelButton {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.confirmDeleteButton {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.cancelButton:hover {
    background-color: #e0e0e0;
}

.confirmDeleteButton:hover {
    background-color: #c0392b;
}
#klasifikasiEP{
    background: #e0e0e0;
}


#transferModal .modalContent {
    width: 500px;
    text-align: left;
    padding: 30px;
    background-color: white;
    margin: 10% auto;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    flex-direction: column; 
    align-items:stretch;
    display:flex;
    height:fit-content;
}

#transferModal h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center; 
}

.input-group-edit {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group-edit label {
    font-size: 14px;
    color: #555;
    font-weight: normal;
}

.input-group-edit input,
.input-group-edit select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

#editProductForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#transferProductForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.confirmEditButton {
    background-color: #9ece33;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    transition: all 0.2s;
}

.confirmTransferButton {
    background-color: #9ece33;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    transition: all 0.2s;
}

.confirmEditButton:hover {
    background-color: #8bbd2a;
}

.confirmTransferButton:hover {
    background-color: #8bbd2a;
}
.lokasi-filter {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
}
  
.lokasi-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #9ECE33;
    border: 1px solid #ccc;
    min-width: 120px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
}
  
.lokasi-option {
    padding: 8px 12px;
    cursor: pointer;
}

.lokasi-option:hover {
    border: 2px solid #f0f0f0;
}

.hidden {
    display: none;
}

.lokasi-option.active {
    background-color:  #9ECE33;
    border: 2px solid #f0f0f0;
    color: white;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  display: inline-block;
}

.status-badge.in_stock {
  background-color: #d4edda;
  color: #155724;
}

.status-badge.low_stock {
  background-color: #fff3cd;
  color: #856404;
}

.status-badge.out_of_stock {
  background-color: #f8d7da;
  color: #721c24;
}

.status-badge.over_stock {
  background-color: #cce5ff;
  color: #004085;
}

.paginationControls {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 0 0;
    flex-wrap: wrap;
    position: fixed;
    bottom: 15px;
    left: 47.5%;
}

.pagination-btn {
    padding: 6px 12px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background-color: #e6e6e6;
}

.pagination-btn.active {
    background-color: #9ece33;
    color: white;
    border-color: #9ece33;
    cursor: default;
}

.pagination-btn.disabled {
    background-color: #eee;
    color: #aaa;
    border-color: #ddd;
    cursor: not-allowed;
}