.page {
  width: 100%;
  min-height: 100vh;
  padding: 28px 32px;
}

.page.mail-page {
  padding: 30px 32px;
}

.header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 30px;
}

.header.with-refresh {
  align-items: center;
}

.header-title h1 {
  font-size: 30px;
  line-height: 34px;
  color: #071a46;
  font-weight: 800;
  letter-spacing: .3px;
}

.header-title p {
  margin-top: 6px;
  color: #5d6e9d;
  font-size: 14px;
}

.panel {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(26, 42, 85, .08);
  padding: 22px 22px 18px;
  margin-bottom: 20px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.search-wrap {
  margin-bottom: 18px;
}

.table-card,
.mail-table-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(26, 42, 85, .08);
  overflow: hidden;
}

.footer-line {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mail-pagination {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.back-wrap {
  margin-top: 24px;
  margin-left: 16px;
}

@media (max-width: 1180px) {
  table {
    min-width: 1080px;
  }

  .table-card,
  .mail-table-card {
    overflow-x: auto;
  }
}

@media (max-width: 900px) {
  .page {
    padding: 20px 14px;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .input,
  .search,
  .btn {
    width: 100%;
  }

  .refresh-top-btn {
    margin-left: 10px;
  }
}