.app-shell.auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
}

.auth-shell .shell-root {
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 24px 14px;
}

.auth-shell .shell-header {
  width: min(520px, 100%);
  flex-direction: column;
  justify-content: center;
  gap: 0;
  margin: 0;
  min-height: auto;
}

.auth-shell .shell-header-right {
  display: none;
}

.auth-shell .shell-prompt-line {
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}

.auth-shell .shell-main {
  width: min(520px, 100%);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-panel {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #090b0d;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.auth-panel-header {
  margin-bottom: 14px;
  text-align: center;
}

.auth-panel-header-centered {
  margin-bottom: 18px;
}

.auth-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.auth-subtitle {
  margin: 0;
  font-size: 12px;
  color: rgba(246, 247, 248, 0.65);
}

.auth-form {
  display: grid;
  gap: 8px;
}

.auth-label {
  font-size: 11px;
  color: rgba(246, 247, 248, 0.75);
}

.auth-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #050607;
  color: #f6f7f8;
  padding: 10px 12px;
  font-size: 13px;
}

.auth-input:focus {
  outline: none;
  border-color: #2d8cff;
}

.auth-button {
  border: 1px solid #2d8cff;
  background: #0b2b52;
  color: #f6f7f8;
  padding: 10px 12px;
  font-size: 12px;
  cursor: pointer;
}

.auth-button-muted {
  border-color: rgba(255, 255, 255, 0.28);
  background: #111418;
}

.auth-button-ok {
  border-color: #7cff47;
  background: #19380f;
}

.auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.auth-actions-single {
  display: flex;
  justify-content: center;
}

.auth-inline-form {
  margin: 0;
}

.auth-button-centered {
  min-width: 180px;
  justify-self: center;
}

.auth-error {
  border: 1px solid rgba(255, 101, 101, 0.35);
  background: rgba(255, 101, 101, 0.08);
  color: #ff8f8f;
  font-size: 12px;
  padding: 8px;
  margin-bottom: 10px;
}

.auth-messages {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.auth-message {
  font-size: 12px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.auth-message-success {
  border-color: rgba(124, 255, 71, 0.4);
  color: #b9ff9e;
}

.auth-message-warning,
.auth-message-error,
.auth-message-danger {
  border-color: rgba(255, 101, 101, 0.4);
  color: #ff9898;
}

@media (max-width: 720px) {
  .auth-shell .shell-root {
    padding: 18px 10px;
  }

  .auth-shell .shell-main {
    width: 100%;
  }

  .auth-actions {
    grid-template-columns: 1fr;
  }
}
