* {
  box-sizing: border-box;
}

[hidden],
.is-hidden {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Tahoma, Arial, sans-serif;
  background: #f3f6f8;
  color: #1e3440;
  font-size: 14px;
  line-height: 1.9;
}

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

.login-panel {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid #dce5e7;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(7, 62, 70, .12);
}

.brand {
  padding: 18px;
  border-radius: 8px;
  background: #073e46;
  color: #fff;
  margin-bottom: 24px;
}

.brand span {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

.brand small {
  display: block;
  color: #9bc9cc;
  font-size: 12px;
}

h1 {
  margin: 0 0 18px;
  font-size: 24px;
}

form {
  border-top: 1px solid #e2e8eb;
  padding-top: 20px;
}

label {
  display: block;
  margin: 12px 0;
}

input {
  display: block;
  width: 100%;
  border: 1px solid #cbd7dd;
  border-radius: 7px;
  background: #fcfdfd;
  padding: 11px;
  font: inherit;
  color: inherit;
}

input:focus {
  outline: 2px solid #69b9ac;
}

button {
  width: 100%;
  font: inherit;
  background: #087d71;
  color: #fff;
  border: 0;
  border-radius: 7px;
  padding: 10px 18px;
  cursor: pointer;
}

button:disabled {
  opacity: .55;
  cursor: wait;
}

.secondary {
  width: auto;
  background: #eaf1f3;
  color: #234957;
}

.captcha-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 14px 0;
}

.captcha-row img {
  width: 180px;
  height: 60px;
  border: 1px solid #dbe5e7;
  border-radius: 7px;
  object-fit: cover;
  background: #eef5f5;
}

#message {
  min-height: 30px;
  margin: 14px 0 0;
  color: #a43122;
}

@media (max-width: 520px) {
  .login-shell {
    padding: 16px;
  }

  .login-panel {
    padding: 20px;
  }

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

  .captcha-row img {
    width: 100%;
    height: 72px;
  }
}
