:root {
  --yellow: #f5c900;
  --black: #111111;
  --white: #ffffff;
  --muted: #777777;
  --border: #e8e5dc;
  --background: #f7f6f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: var(--yellow);
  padding: 24px 7%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.brand h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.brand p {
  margin: 5px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.container {
  width: min(100% - 32px, 480px);
  margin: auto;
  padding: 55px 0;
}

.auth-card,
.account-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.045);
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #806900;
}

h2 {
  margin: 12px 0 8px;
  font-size: 29px;
  letter-spacing: -0.8px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 26px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin: 17px 0 8px;
  font-size: 13px;
  font-weight: 700;
}

input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  background: #fff;
}

input:focus {
  border-color: #b39400;
  box-shadow: 0 0 0 3px rgba(245, 201, 0, 0.16);
}

button {
  border: 0;
  border-radius: 8px;
  padding: 15px 18px;
  margin-top: 24px;
  background: var(--yellow);
  color: var(--black);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  filter: brightness(0.96);
}

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

.secondary-button {
  margin: 0;
  padding: 11px 15px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
}

.message {
  min-height: 20px;
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.message.error {
  color: #b42318;
}

.message.success {
  color: #18753b;
}

.account-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.account-top h2 {
  font-size: 25px;
}

.status-panel {
  margin-top: 25px;
  padding: 18px;
  border-radius: 8px;
  background: #fff8d8;
  border: 1px solid #f1df8b;
  font-size: 14px;
  line-height: 1.7;
}

.hidden {
  display: none;
}

footer {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 520px) {
  .site-header {
    padding: 20px;
  }

  .brand h1 {
    font-size: 21px;
  }

  .auth-card,
  .account-card {
    padding: 25px 21px;
  }

  .account-top {
    flex-direction: column;
  }
}
.text-button {
  display: block;
  margin: 12px auto 0;
  padding: 8px;
  background: transparent;
  color: #806900;
  font-size: 13px;
  font-weight: 700;
}

.text-button:hover {
  text-decoration: underline;
  filter: none;
}
.organisation-form {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.organisation-form h3 {
  margin: 0 0 10px;
  font-size: 19px;
}
