/* กู้ฟีเจอร์ "รายงานแก้วเสีย" (CEO อนุมัติ 15/09/2026) — ใช้คลาสร่วมของแอป (.form-box/.form-grid/
   .form-label/.input-field/.save-btn/.section-title มาจาก app.html) สไตล์ตรงนี้มีเฉพาะคลาสใหม่ที่
   ไม่มีที่อื่นใช้ */

.damage-report-message{
  margin-top: 10px;
  font-size: 13px;
  color: #6e5547;
  min-height: 16px;
}

.damage-report-message.error{
  color: #c62828;
  font-weight: 600;
}

.damage-report-message.success{
  color: #1f7a3f;
  font-weight: 600;
}

.damage-report-list-box{
  margin-top: 14px;
}

.damage-report-list{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.damage-report-item{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  background: white;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(33,24,18,.1);
}

.damage-report-item.cancelled{
  background: #F7F7F5;
  color: #9c9187;
}

.damage-report-item-main{
  min-width: 0;
  flex: 1;
}

.damage-report-item-title{
  font-weight: 700;
  font-size: 14.5px;
  color: #211812;
  overflow-wrap: anywhere;
}

.damage-report-item.cancelled .damage-report-item-title{
  color: #9c9187;
  text-decoration: line-through;
}

.damage-report-item-meta{
  margin-top: 3px;
  font-size: 12.5px;
  color: #6e5547;
  overflow-wrap: anywhere;
}

.damage-report-item.cancelled .damage-report-item-meta{
  color: #b3aaa1;
}

.damage-report-item-cause{
  margin-top: 4px;
  font-size: 13px;
  color: #211812;
  overflow-wrap: anywhere;
}

.damage-report-item.cancelled .damage-report-item-cause{
  color: #b3aaa1;
}

.damage-report-cancel-badge{
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #F0F0EE;
  color: #6e5547;
  font-size: 11px;
  font-weight: 700;
}

.damage-report-cancel-btn{
  flex-shrink: 0;
  border: 1px solid rgba(198,40,40,.3);
  background: white;
  color: #c62828;
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.damage-report-cancel-btn:disabled{
  opacity: .5;
  cursor: default;
}

.damage-report-empty{
  color: #9c9187;
  font-size: 13px;
  padding: 8px 2px;
}

.damage-report-unavailable{
  color: #c62828;
  font-size: 13px;
  padding: 12px 2px;
}
