* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

:root {
  font-family: Arial, sans-serif;
  color: #142844;
  background: #f1f5f9;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
}

.container {
  width: 100%;
  max-width: 420px;
  padding: 24px;
}

.brand {
  text-align: center;
  margin-bottom: 28px;
}

.logo {
  width: 82px;
  height: 82px;
  background: #102c50;
  border-radius: 22px;
  margin: auto;
  padding: 6px;
  box-shadow: 0 8px 24px #102c5025;
}

.logo svg {
  width: 100%;
  height: 100%;
  stroke: #448fff;
  stroke-width: 1.6;
  fill: none;
}

h1 {
  font-size: 32px;
  letter-spacing: 9px;
  margin: 16px 0 5px;
  padding-left: 9px;
}

.brand p {
  font-size: 11px;
  color: #64748b;
  margin: 0;
}

.panel {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 26px;
  border-radius: 20px;
  box-shadow: 0 8px 28px #102c500b;
}

h2 {
  font-size: 22px;
  margin: 0 0 8px;
}

.muted {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin: 20px 0 8px;
}

input {
  width: 100%;
  padding: 14px;
  min-height: 48px;
  border: 1px solid #d5dde7;
  border-radius: 10px;
  font-size: 16px;
  background: #f8fafc;
  color: #142844;
  outline: none;
}

input:focus {
  border-color: #1766df;
  box-shadow: 0 0 0 3px #1766df15;
}

button {
  cursor: pointer;
  font-family: inherit;
}

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

.primary, .secondary {
  width: 100%;
  min-height: 48px;
  padding: 14px;
  margin-top: 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.primary {
  border: 0;
  background: #1766df;
  color: white;
}

.secondary {
  background: white;
  color: #102c50;
  border: 1px solid #d5dde7;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 70px;
}

.toggle {
  position: absolute;
  right: 10px;
  top: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: #1766df;
  font-size: 12px;
  font-weight: 600;
}

.message {
  font-size: 13px;
  line-height: 1.5;
  color: #dc2626;
  margin-bottom: 0;
}

.message.success {
  color: #15803d;
}

.status {
  color: #15803d;
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 15px;
}

.placeholder {
  border-radius: 12px;
  background: #f1f5f9;
  padding: 25px 12px;
  margin-top: 22px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

footer {
  text-align: center;
  margin-top: 26px;
  color: #94a3b8;
  font-size: 11px;
}

footer span {
  display: block;
  margin-top: 8px;
}
