#widget-cat-select,
.widget-cat-btn {
    all: unset;
    appearance: revert;
    display: revert;
    font: revert;
    color: revert;
    background: revert;
    padding: revert;
    margin: revert;
    border: revert;
    box-sizing: border-box;
    outline: revert;

	  padding:16px 40px 16px 16px !important;
}
body { font-family: Arial, sans-serif; background: #faf8f8; color: #333; margin: 0; }
.responsive-inventory-widget { display: flex; min-width: 0; }
.widget-side-nav {
  width: 190px; min-width: 120px; background: #f2f4f9;
  border-top-left-radius: 14px; border-bottom-left-radius: 14px; border-right: 2px solid #e9eaf7; padding: 18px 0 12px 0;
}
.widget-cat-btn {
  background: none; border: none; color: #1976d2; font-weight: 500;
  margin-bottom: 7px; padding: 13px 18px; width: 100%; text-align: left;
  border-left: 4px solid transparent; border-radius: 9px 0 0 9px; font-size: 1.08rem; cursor: pointer;
  transition: background .18s;
}
.widget-cat-btn.selected {
  background: #e3f2fd; color: #1976d2; border-left: 4px solid #1976d2;
}
 .widget-modal-bg {
      position: fixed; inset: 0;
      background: rgba(0,0,0,0.18);
      z-index: 9999;
      display: flex; align-items: center; justify-content: center;
    }
    .widget-modal {
      max-width: 960px;
      width: 97vw;
      margin: 36px 0;
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 8px 36px rgba(40,40,80,0.12);
      position: relative;
      display: flex;
      flex-direction: column;
      max-height: 93vh;
      overflow: auto;
    }
    .widget-modal-close {
      position: absolute; right: 13px; top: 11px;
      border: none; background: none; font-size: 2em; color: #888;
      cursor: pointer;
    }
    .success-message {
      background: #e2f6de;
      color: #186b27;
      font-weight: bold;
      border-radius: 7px;
      font-size: 1.19rem;
      padding: 19px 13px;
      margin: 28px 0;
      text-align: center;
    }

.widget-content-main { flex: 1; padding: 39px 28px 29px 28px; min-width: 0; }
.widget-dropdown-cat { display: none; }

@media (max-width: 700px) {
  .widget-modal { min-width: 0; max-width: 99vw; margin: 9vw 0; border-radius: 8px; }
  
  .success-message { font-size: 1.37rem; }
  .responsive-inventory-widget { flex-direction: column; }
  .widget-side-nav { display: none; }
  .widget-content-main { padding: 18px 2vw; }
  .widget-dropdown-cat {
    display: block; background: #f7f9fb; border-bottom: 1.5px solid #ececec; padding: 13px 14px 7px 14px;
    border-radius: 9px 9px 0 0; margin-bottom: 9px;margin-top: 25px;
  }
  .widget-dropdown-cat select {
    width: 100%; padding: 12px; font-size: 1.15rem; color: #1976d2;
    border-radius: 7px; border: 2px solid #bcd7f3; font-weight: bold; background: #fff;
  }
}
.widget-form-section {
  margin-bottom: 20px; border-bottom: 1px solid #f0f0f3; display: flex; align-items: center;
}
.widget-item-label { font-weight: 600; color: gray; font-size: 1.07rem; margin-right: 13px; min-width: 140px; }
.widget-form-fields { display: flex; flex-direction: row; gap: 13px; align-items: center; flex-wrap: wrap; }
.widget-form-fields input[type="number"], .widget-form-fields input[type="text"] {
  padding: 10px 8px; font-size: 1.11rem; border-radius: 6px; border: 2px solid #d2e3f6;
  width: 86px; max-width: 115px;
}
.add-item-group {
  margin: 24px 0 24px 0; background: #f7fafe; padding: 15px 15px 14px 15px; border-radius: 9px;
  display: flex; gap: 19px; flex-wrap: wrap; align-items: center;
}
.add-item-group input {
  min-width: 150px; width: 210px; max-width: 98%;
  padding: 13px 13px; font-size: 1.11rem;
  border-radius: 7px; border: 2px solid #bcd7f3; background: #f3f8fe;
  margin-bottom: 7px; margin-right: 8px; transition: border-color .13s; flex:1;
}
.add-item-btn { background: #2196F3; color: white; padding: 13px 32px; border: none; border-radius: 7px; font-size: 1.15rem; font-weight: bold; cursor: pointer; transition: background 0.18s; }
.add-item-btn:hover { background: #1976d2; }
.widget-submit-btn {
  background: #008040; color: #fff; padding: 16px 38px; font-size: 1.15rem;
  font-weight: bold; border: none; border-radius: 7px; margin-top: 25px; cursor: pointer; transition: background .18s;
}
.widget-submit-btn:hover { background: #006030; }
