:root {
  color-scheme: light;
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 40%),
    linear-gradient(160deg, rgba(24, 71, 115, 0.22), rgba(255, 255, 255, 0.9));
  color: #184773;
}

.login-card {
  width: min(100%, 430px);
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(24, 71, 115, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(24, 71, 115, 0.18);
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  white-space: nowrap;
}

.login-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: nowrap;
}

.login-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(24, 71, 115, 0.08);
}

p {
  margin: 0 0 18px;
  color: #5f809e;
  line-height: 1.5;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #184773;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(76, 112, 147, 0.2);
  border-radius: 14px;
  font: inherit;
  color: #184773;
  background: rgba(255, 255, 255, 0.98);
}

input:focus {
  outline: 2px solid rgba(76, 112, 147, 0.18);
  border-color: rgba(76, 112, 147, 0.44);
}

.login-error {
  margin: 0 0 14px;
  color: #8f2a2a;
  font-size: 14px;
  font-weight: 600;
}

button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: #ffffff;
  background: #184773;
}
