
:root {
  --blue: #153a78;
  --orange: #f59e36;
  --background: #f4f7fc;
  --text: #19283d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #e9f1ff, #ffffff);
  color: var(--text);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 6%;
  background: white;
  border-bottom: 1px solid #e4e9f2;
}

header img {
  max-width: 185px;
  max-height: 65px;
  object-fit: contain;
}

a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

main {
  max-width: 490px;
  margin: 65px auto;
  padding: 0 18px;
}

.panel {
  background: white;
  padding: 38px;
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(20, 45, 90, 0.1);
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

h1 {
  font-size: 30px;
  margin: 14px 0 8px;
  color: var(--blue);
}

p {
  line-height: 1.6;
}

.field {
  margin: 22px 0;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 9px;
}

input {
  width: 100%;
  padding: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 16px;
}

input:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}

button.full {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 10px;
  background: var(--orange);
  color: #19283d;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

button.full:hover {
  background: #e88a1e;
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 25px;
  font-size: 14px;
}

.notice {
  display: none;
  padding: 13px;
  margin-top: 18px;
  border-radius: 9px;
  background: #eaf4ff;
  color: #153a78;
}

.notice:not(:empty) {
  display: block;
}

.notice.error {
  background: #fff0ed;
  color: #ad3020;
}

.muted {
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 520px) {
  header {
    padding: 15px;
  }

  header img {
    max-width: 135px;
  }

  main {
    margin: 35px auto;
  }

  .panel {
    padding: 25px 20px;
  }

  h1 {
    font-size: 26px;
  }
}
