:root {
  color: #17202a;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #f7f4ef;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
}

button,
input {
  font: inherit;
}

.login-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 24px;
}

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

.login-panel h1 {
  margin: 0 0 28px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.login-form {
  display: grid;
  gap: 18px;
}

.login-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.login-form input {
  width: 100%;
  height: 42px;
  border: 1px solid #d7d0c4;
  border-radius: 6px;
  background: #fffdfa;
  color: #17202a;
  padding: 0 12px;
}

.login-form input:focus {
  border-color: #1c6758;
  outline: 3px solid rgb(28 103 88 / 18%);
}

.form-error {
  min-height: 18px;
  margin: -6px 0 0;
  color: #b42318;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.login-form button {
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: #1c6758;
  color: white;
  cursor: pointer;
  font-weight: 700;
}

.login-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.login-form button:not(:disabled):hover {
  background: #155248;
}

.dashboard-page {
  position: relative;
  width: 100vw;
  height: 100svh;
  margin: 0;
  overflow: hidden;
  background: white;
}

.dashboard-page iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.logout-form {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
}

.logout-form button {
  border: 1px solid rgb(23 32 42 / 18%);
  border-radius: 6px;
  background: rgb(255 255 255 / 88%);
  color: #17202a;
  cursor: pointer;
  padding: 6px 10px;
  box-shadow: 0 1px 4px rgb(23 32 42 / 12%);
}
