/* 認証確認が終わるまでダッシュボードを表示しません。 */
[hidden] {
  display: none !important;
}

.auth-layout {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: radial-gradient(ellipse at top, #163137, #0b111b 65%);
}

.auth-main {
  width: 100%;
  max-width: 440px;
  margin: 0;
  padding: 0;
}

.auth-card {
  padding: 30px;
  background: #121d2b;
  border: 1px solid #2a4650;
  border-radius: 12px;
  box-shadow: 0 20px 70px #0005;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 21px;
  font-weight: 700;
}

.auth-card h1 {
  font-size: 25px;
}

.auth-language {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0;
  color: #91a3ba;
  font-size: 12px;
}

.auth-card fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.auth-field {
  display: block;
  margin: 18px 0;
}

.auth-field span {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
}

.auth-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  background: #0b1421;
  color: #e5edf7;
  border: 1px solid #35465d;
  border-radius: 5px;
  font: inherit;
  font-size: 16px;
}

.auth-field input:focus-visible {
  outline: 2px solid #54d5bc;
  outline-offset: 2px;
}

.auth-primary,
.auth-button {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #386d60;
  border-radius: 5px;
  color: #d9fff3;
  background: #23493f;
  cursor: pointer;
  font: inherit;
}

.auth-primary {
  width: 100%;
  margin-top: 5px;
  font-weight: 650;
}

.auth-primary:hover,
.auth-button:hover {
  background: #2b5c4e;
}

fieldset:disabled .auth-primary {
  opacity: 0.55;
  cursor: wait;
}

.auth-status {
  min-height: 24px;
  color: #e9cc92;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.auth-footnote {
  margin-top: 23px;
  color: #91a3ba;
  font-size: 12px;
}

.auth-gate {
  max-width: 520px;
  margin: 12vh auto;
  padding: 24px;
}

.auth-gate a {
  color: #85efd4;
  text-decoration: underline;
}

.auth-gate .auth-button {
  margin: 12px 12px 0 0;
}

.auth-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.auth-member {
  color: #a9bcd2;
  font-size: 12px;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 24px 20px;
  }
}

.auth-primary,
.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  line-height: 1.4;
  vertical-align: middle;
  text-decoration: none;
}