.inventory-toolbar{
  display:flex;
  gap:10px;
  margin-top:15px;
  margin-bottom:20px;
  flex-wrap:wrap;
}

.inventory-search{
  width:100%;
  max-width:360px;
  background:#FFF8EE;
  color:#2A1414;
  border:2px solid #D4AF37;
}

.inventory-table-container{
  overflow-x:auto;
  margin-top:20px;
}

.inventory-table{
  width:100%;
  border-collapse:collapse;
  background:linear-gradient(180deg,#3B1F1F,#2A1414);
  border-radius:16px;
  overflow:hidden;
  border:2px solid #D4AF37;
  color:#F5E6C8;
  box-shadow:0 15px 35px rgba(0,0,0,0.3);
}

.inventory-table th{
  background:#D4AF37;
  color:#2A1414;
  padding:14px;
}

.inventory-table td{
  padding:14px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  text-align:center;
}

.inventory-status-on{
  color:#7CFC98;
  font-weight:bold;
}

.inventory-status-off{
  color:#FF7B7B;
  font-weight:bold;
}

.switch{
  position:relative;
  display:inline-block;
  width:58px;
  height:30px;
}

.switch input{
  opacity:0;
  width:0;
  height:0;
}

.slider{
  position:absolute;
  cursor:pointer;
  inset:0;
  background:#777;
  transition:0.25s;
  border-radius:30px;
}

.slider:before{
  position:absolute;
  content:"";
  height:24px;
  width:24px;
  left:3px;
  bottom:3px;
  background:white;
  transition:0.25s;
  border-radius:50%;
}

.switch input:checked + .slider{
  background:linear-gradient(135deg,#FFD700,#D4AF37);
}

.switch input:checked + .slider:before{
  transform:translateX(28px);
}

/* =========================
REQUEST MODAL
========================= */

.request-modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.45);
  backdrop-filter:blur(6px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:5000;
}

.request-modal{
  width:90%;
  max-width:520px;
  background:linear-gradient(180deg,#3B1F1F,#2A1414);
  border:2px solid #D4AF37;
  border-radius:22px;
  padding:30px;
  box-shadow:0 25px 60px rgba(0,0,0,0.45);
  animation:modalPop 0.25s ease;
  box-sizing:border-box;
}

.request-modal h2{
  text-align:center;
  color:#F5E6C8;
  margin-bottom:25px;
}

.request-modal input{
  width:100%;
  box-sizing:border-box;
  margin-bottom:16px;
  background:#FFF8EE;
  border:2px solid #D4AF37;
  border-radius:12px;
  padding:14px;
  font-size:16px;
  color:#2A1414;
}

.request-modal-actions{
  display:flex;
  gap:14px;
  margin-top:20px;
}

.request-modal-actions button{
  flex:1;
  padding:12px 20px;
}

.cancel-btn{
  background:#555 !important;
  color:white !important;
}

@keyframes modalPop{
  from{
    transform:scale(0.9);
    opacity:0;
  }

  to{
    transform:scale(1);
    opacity:1;
  }
}