/* container */
.wwp-drawer-app {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

/* grid layout: includes Comments + Duplicate + Delete columns */
.wwp-row {
  display: grid;
  grid-template-columns:
    1fr      /* type */
    80px     /* qty  */
    100px    /* width */
    100px    /* depth */
    100px    /* height */
    120px    /* bottom */
    1.2fr    /* comments */
    44px     /* duplicate */
    36px;    /* delete */
  gap: 8px;
  align-items: center;
}

.wwp-row + .wwp-row { margin-top: 8px; }

.wwp-head {
  font-weight: 600;
  background: #f8fafc;
  padding: 8px;
  border-radius: 6px;
}

.wwp-add {
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  border-radius: 6px;
  cursor: pointer;
}
.wwp-add:hover { background: #f3f4f6; }

.wwp-totals { font-size: 0.95rem; }

.wwp-summary {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}
.wwp-summary .line {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
}

/* === BUTTON STYLES === */

/* duplicate button: blue outline + icon */
.wwp-row button.dup {
  width: 36px;
  height: 36px;
  border: 2px solid #2563eb; /* blue-600 */
  color: #2563eb;
  background: #ffffff;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.15s ease-in-out;
}
.wwp-row button.dup:hover {
  background: #2563eb;
  color: #ffffff;
}

/* delete button: red outline + icon */
.wwp-row button.del {
  width: 36px;
  height: 36px;
  border: 2px solid #dc2626; /* red-600 */
  color: #dc2626;
  background: #ffffff;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.15s ease-in-out;
}
.wwp-row button.del:hover {
  background: #dc2626;
  color: #ffffff;
}

/* === INPUTS === */
.wwp-row input[type="text"],
.wwp-row input[type="number"],
.wwp-row select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}