
/* ABOTRIX V12.5.2C PHYSICAL COUNT CONTROL */

.count-layout {
  display: grid;
  gap: 18px;
}

.count-panel {
  padding: 18px;
  border: 1px solid #dce5ee;
  border-radius: 16px;
  background: #ffffff;
  box-shadow:
    0 6px 20px rgba(15, 42, 67, 0.06);
}

.count-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.count-heading > div > span {
  color: #087fa2;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.count-heading h2 {
  margin: 4px 0 0;
}

.count-form-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.count-panel form,
.count-panel label {
  display: grid;
  gap: 8px;
}

.count-panel form {
  gap: 14px;
}

.count-panel label {
  color: #344b60;
  font-size: 12px;
  font-weight: 800;
}

.count-panel input,
.count-panel select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 11px;
  border: 1px solid #ccd8e4;
  border-radius: 10px;
  background: #ffffff;
}

.count-table-wrap {
  overflow-x: auto;
}

.count-table-wrap table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
}

.count-table-wrap th,
.count-table-wrap td {
  padding: 10px;
  border-bottom: 1px solid #e5ebf1;
  text-align: left;
  vertical-align: top;
}

.count-table-wrap th {
  color: #617286;
  background: #f6f9fc;
  font-size: 10px;
  text-transform: uppercase;
}

.count-table-wrap small {
  display: block;
  margin-top: 4px;
  color: #7b8999;
}

.count-summary {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.count-summary > div {
  padding: 12px;
  border: 1px solid #e0e7ee;
  border-radius: 12px;
  background: #f8fafc;
}

.count-summary span {
  display: block;
  color: #708094;
  font-size: 10px;
  font-weight: 800;
}

.count-summary strong {
  display: block;
  margin-top: 5px;
  color: #102a43;
  font-size: 18px;
}

.count-status {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  color: #7a5a05;
  background: #fff1c2;
  font-size: 10px;
  font-weight: 900;
}

.count-status.posted {
  color: #176335;
  background: #dff4e6;
}

.positive {
  color: #18723a;
  font-weight: 800;
}

.negative {
  color: #b42323;
  font-weight: 800;
}

@media (max-width: 900px) {
  .count-form-grid,
  .count-summary {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .count-form-grid,
  .count-summary {
    grid-template-columns: 1fr;
  }

  .count-heading {
    flex-direction: column;
  }
}
