* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f7f9;
  color: #17202a;
  font-family: Tahoma, Arial, sans-serif;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

h1,
h2,
p {
  margin-top: 0;
}

.panel {
  background: #fff;
  border: 1px solid #dde2e7;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 8px 26px rgba(22, 34, 51, 0.06);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.actions {
  display: flex;
  gap: 10px;
}

button {
  border: 0;
  border-radius: 6px;
  background: #126b53;
  color: #fff;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
}

button:hover {
  background: #0d5844;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  border-bottom: 1px solid #edf0f2;
  padding: 10px 8px;
  text-align: right;
  vertical-align: top;
}

th {
  color: #536170;
}

pre {
  overflow: auto;
  direction: ltr;
  text-align: left;
  background: #101820;
  color: #d9f7e8;
  padding: 14px;
  border-radius: 6px;
}

.login {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.login-panel {
  width: min(420px, calc(100% - 32px));
}

input {
  width: 100%;
  border: 1px solid #cdd5dd;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 12px;
}

.alert {
  background: #feecef;
  color: #a61b31;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

@media (max-width: 820px) {
  .topbar,
  .grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .actions {
    justify-content: stretch;
  }

  button {
    width: 100%;
  }
}
