
.paper-page {
  padding: 36px 0 56px;
}

.paper-page h1 {
  margin-bottom: 12px;
}

.paper-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 28px 0 18px;
}

.paper-search {
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  padding: 12px 14px;
  border: 1px solid #d9dee5;
  border-radius: 7px;
  background: #fff;
  font: inherit;
}

.paper-search:focus {
  outline: 2px solid #f4511e;
  outline-offset: 2px;
}

.paper-search:disabled {
  background: #f5f6f8;
}

.paper-status,
.paper-updated {
  color: #626b75;
  font-size: 14px;
  line-height: 1.6;
}

.paper-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e1e5e9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(20, 30, 40, .05);
}

.paper-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.paper-table th,
.paper-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e8ebef;
  text-align: left;
  vertical-align: top;
}

.paper-table th {
  background: #f5f6f8;
  color: #30363d;
  font-weight: 700;
  white-space: nowrap;
}

.paper-table tbody tr:hover {
  background: #fff7f3;
}

.paper-table tbody tr:last-child td {
  border-bottom: 0;
}

.paper-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}

.paper-updated {
  margin-top: 12px;
}

.paper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

@media (max-width: 600px) {
  .paper-page {
    padding: 24px 0 40px;
  }

  .paper-table th,
  .paper-table td {
    padding: 10px;
  }
}


/* Код и артикул всегда отображаются без переносов */
.paper-table th:nth-child(1),
.paper-table td:nth-child(1),
.paper-table th:nth-child(3),
.paper-table td:nth-child(3) {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* Не сжимать столбцы с кодом и артикулом */
.paper-table th:nth-child(1),
.paper-table td:nth-child(1) {
    min-width: 90px;
}

.paper-table th:nth-child(3),
.paper-table td:nth-child(3) {
    min-width: 110px;
}
