:root {
  color: #18323b;
  background: #f4f8f8;
  font-family: system-ui, -apple-system, "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

main {
  width: min(100% - 32px, 390px);
  margin: 12vh auto 32px;
}

.brand {
  margin-bottom: 24px;
}

h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.subtitle {
  margin: 0;
  color: #62777d;
}

form,
.message-card {
  padding: 24px;
  border: 1px solid #dbe7e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(22, 67, 73, 0.08);
}

.message-card {
  margin-top: 20vh;
}

label {
  display: block;
  margin: 0 0 8px;
  font-weight: 650;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  min-height: 48px;
  margin: 0 0 18px;
  padding: 0 14px;
  border: 1px solid #b9cccf;
  border-radius: 10px;
  font: inherit;
}

input:focus {
  border-color: #16858b;
  outline: 3px solid rgba(22, 133, 139, 0.15);
}

.remember {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 500;
}

.remember input {
  width: 20px;
  height: 20px;
}

button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #087d84;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

button:active {
  background: #08676c;
}

.error {
  margin: 0 0 16px;
  padding: 12px;
  border-radius: 10px;
  color: #8b2d22;
  background: #fff0ed;
}

a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #087d84;
  font-weight: 700;
}
