.item-edit-highlight{
  border:2px solid #F58220 !important;
  background:#fff8f1 !important;
  box-shadow:0 0 0 4px rgba(245,130,32,.18) !important;
}

.inv-add-custom{
  margin-top:14px;
  padding:14px;
  border:2px dashed #F58220;
  border-radius:14px;
  color:#0B3D91;
  font-weight:900;
  text-align:center;
  cursor:pointer;
  background:#fff8f1;
}

.inv-add-custom:hover{
  background:#fff1df;
}

.custom-item-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.custom-item-modal{
  width:min(520px, 95vw);
  background:white;
  border-radius:22px;
  padding:26px;
  box-shadow:0 22px 60px rgba(0,0,0,.25);
  position:relative;
}

.custom-close{
  position:absolute;
  top:14px;
  right:14px;
  border:none;
  background:#eef2f7;
  width:34px;
  height:34px;
  border-radius:50%;
  font-size:20px;
  cursor:pointer;
}

.custom-item-modal h2{
  color:#0B3D91;
  margin:0 0 8px;
}

.custom-item-modal p{
  color:#475569;
  margin-bottom:18px;
}

.custom-item-modal label{
  display:block;
  margin-top:14px;
  font-weight:900;
  color:#0B3D91;
}

.custom-item-modal input,
.custom-item-modal select{
  width:100%;
  padding:13px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  margin-top:6px;
}

.custom-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.custom-cantidad{
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:8px;
}

.custom-cantidad button{
  width:36px;
  height:36px;
  border-radius:50%;
  border:none;
  background:#F58220;
  color:white;
  font-size:20px;
  font-weight:900;
  cursor:pointer;
}

.custom-cantidad span{
  font-size:22px;
  font-weight:900;
  color:#0B3D91;
}

.custom-actions{
  display:flex;
  gap:12px;
  margin-top:24px;
}

.custom-actions button{
  flex:1;
}