:root {
  color-scheme: light;
  font-family: Tahoma, Arial, sans-serif;
  background: #111c31;
  color: #111c31;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(27, 49, 75, 0.7), transparent 55%),
    #111c31;
}

.login-card {
  width: min(100%, 440px);
  padding: 34px 32px 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.brand {
  margin-bottom: 32px;
  text-align: center;
}

.logo-placeholder {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px dashed #0e9b8e;
  border-radius: 50%;
  background: #e8faf7;
  color: #087f76;
  font-size: 10px;
  line-height: 1.4;
}

h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
}

.subtitle {
  margin: 6px 0 0;
  color: #087f76;
  font-size: 16px;
  font-weight: 700;
}

.welcome {
  margin: 14px 0 0;
  color: #728096;
  font-size: 14px;
}

form {
  display: grid;
  gap: 10px;
}

label {
  margin-top: 9px;
  font-size: 14px;
  font-weight: 700;
}

.input-wrap {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid #dce4ed;
  border-radius: 9px;
  background: #f7f9fc;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.input-wrap:focus-within {
  border-color: #0e9b8e;
  box-shadow: 0 0 0 3px rgba(14, 155, 142, 0.12);
}

.field-icon {
  flex: 0 0 auto;
  color: #72849a;
  font-size: 16px;
}

input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111c31;
  font: inherit;
  font-size: 14px;
}

input::placeholder {
  color: #93a0b0;
}

.toggle-password {
  flex: 0 0 auto;
  padding: 5px;
  border: 0;
  background: transparent;
  color: #087f76;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.form-message {
  min-height: 20px;
  margin: 2px 0 0;
  color: #b42318;
  font-size: 13px;
}

.form-message.success {
  color: #087f76;
}

.submit-button {
  min-height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 1px;
  border: 0;
  border-radius: 9px;
  background: #0e998c;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}

.submit-button:hover {
  background: #087f76;
}

.submit-button:active {
  transform: translateY(1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

footer {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid #e8edf3;
  color: #8491a2;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 480px) {
  .login-card {
    padding: 28px 22px 20px;
  }
}
