* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #2b3445;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.bg {
  position: fixed;
  inset: 0;
  background: #1c2b4a url("../images/background.svg") center / cover no-repeat;
  z-index: -1;
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 8px;
  padding: 32px 30px 30px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.logo {
  display: block;
  height: 56px;
  margin: 0 auto 12px;
}

h1 {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 24px;
}

.field {
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  font-size: 15px;
  border: 1px solid #c5cdd9;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

button {
  width: 100%;
  height: 44px;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: #2563eb;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

button:hover {
  background: #1d4ed8;
}

button:active {
  background: #1e40af;
}

@media (max-width: 420px) {
  .login-card {
    padding: 26px 20px;
  }
}
