@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

body.account-page {
  align-items: stretch;
  font-family: 'Space Grotesk', sans-serif;
  min-height: 100vh;
  padding-top: 0;
}

.account-layout {
  align-content: center;
  display: grid;
  gap: 26px;
  justify-items: start;
  min-height: 100vh;
  padding: 56px;
}

.account-wordmark,
.account-kicker,
.account-panel h1,
.account-form label,
.account-details dt {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.account-wordmark {
  color: var(--ephio-heading, var(--text));
  font-size: 22px;
  text-decoration: none;
}

.account-panel {
  background: #111820;
  border: 1px solid #52606c;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  max-width: 480px;
  padding: 34px;
  width: 100%;
}

.account-kicker {
  color: #e56f36;
  font-size: 14px;
  margin: 0 0 10px;
}

.account-panel h1 {
  color: #f0f1ed;
  font-size: 46px;
  line-height: 0.9;
  margin: 0 0 18px;
}

.account-panel > p {
  color: #c5cdcf;
  line-height: 1.55;
  margin: 0 0 24px;
}

.account-form {
  display: grid;
  gap: 17px;
}

.account-form label {
  color: #c5cdcf;
  display: grid;
  font-size: 14px;
  gap: 7px;
}

.account-form input {
  background: #090d11;
  border: 1px solid #52606c;
  border-radius: 0;
  color: #f0f1ed;
  font: inherit;
  min-height: 42px;
  padding: 0 10px;
}

.account-form .account-password-toggle {
  align-items: center;
  display: flex;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  text-transform: none;
}

.account-form .account-password-toggle input {
  accent-color: #e56f36;
  min-height: auto;
  padding: 0;
}

.account-form button,
.account-action {
  background: #e56f36;
  border: 1px solid #e56f36;
  color: #1d130e;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  min-height: 42px;
  padding: 0 18px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.account-error {
  border-left: 2px solid #e56f36;
  padding-left: 12px;
}

.account-secondary-link {
  color: #c5cdcf;
  display: inline-block;
  margin-top: 22px;
}

.account-secondary-link:hover,
.account-secondary-link:focus-visible {
  color: #f0f1ed;
}

.account-details {
  display: grid;
  gap: 0;
  margin: 0;
}

.account-details div {
  border-top: 1px solid #52606c;
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
}

.account-details dt { color: #aeb9bc; }
.account-details dd { color: #f0f1ed; margin: 0; }

.light-mode .account-panel { background: #f5f7f7; border-color: #aab5b8; }
.light-mode .account-panel h1, .light-mode .account-details dd { color: #131918; }
.light-mode .account-panel > p, .light-mode .account-form label, .light-mode .account-details dt { color: #465250; }
.light-mode .account-form input { background: #fff; border-color: #aab5b8; color: #131918; }
.light-mode .account-details div { border-color: #aab5b8; }
.light-mode .account-secondary-link { color: #465250; }
.light-mode .account-secondary-link:hover, .light-mode .account-secondary-link:focus-visible { color: #131918; }

.ephio-account-layout { min-height: 100vh; }

@media (max-width: 768px) {
  .account-layout { min-height: calc(100vh - 58px); padding: 32px 20px; }
  .ephio-account-layout { min-height: calc(100vh - 58px); }
}