// Local, scoped button base — no global .btn framework exists in this app (see
// promotioncounterparty.component.scss's own note); kept in sync across every Promotion screen.
.btn {
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  background: #fff;

  &:disabled {
    cursor: not-allowed;
    opacity: 0.6;
  }
}

.btn-sm {
  padding: 4px 10px;
}

.btn-primary {
  background: #1976d2;
  border-color: #1976d2;
  color: #fff;
}

.ent-page {
  padding: 12px;
}

.ent-page-head {
  margin-bottom: 16px;
}

.ent-subtext {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 4px;
}

.ptv-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;

  th,
  td {
    text-align: left;
    padding: 6px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  select,
  input {
    width: 100%;
  }
}

.ptv-new-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 700px;

  label {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    gap: 4px;
    max-width: 320px;
  }
}

.btn-danger {
  border-color: #b00020;
  color: #b00020;
}
