.jjs-account-intro {
  margin-bottom: 14px;
}

.jjs-account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 14px 0;
  padding: 4px;
  border: 1px solid var(--jjs-line);
  border-radius: 13px;
  background: #0c0c0c;
}

.jjs-account-tab {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--jjs-muted);
  font-size: 12px;
  font-weight: 800;
}

.jjs-account-tab.is-active {
  background: rgba(212, 167, 44, 0.16);
  color: var(--jjs-gold-light);
  box-shadow: inset 0 0 0 1px rgba(212, 167, 44, 0.45);
}

.jjs-account-form {
  display: grid;
  gap: 12px;
}

.jjs-account-field {
  display: grid;
  gap: 6px;
}

.jjs-account-field label {
  font-size: 11px;
  font-weight: 800;
  color: var(--jjs-text);
}

.jjs-account-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--jjs-line);
  border-radius: 12px;
  outline: none;
  background: #0c0c0c;
  color: var(--jjs-text);
}

.jjs-account-field input:focus {
  border-color: var(--jjs-gold);
  box-shadow: 0 0 0 3px rgba(212, 167, 44, 0.12);
}

.jjs-account-submit,
.jjs-account-google {
  width: 100%;
}

.jjs-account-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--jjs-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.jjs-account-divider::before,
.jjs-account-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--jjs-line);
}

.jjs-account-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.jjs-account-link {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--jjs-gold-light);
  font-size: 11px;
  font-weight: 750;
}

.jjs-account-message {
  min-height: 18px;
  margin-top: 10px;
  color: var(--jjs-muted);
  font-size: 11px;
  line-height: 1.45;
}

.jjs-account-message.is-success { color: #74d9a5; }
.jjs-account-message.is-error { color: #ff9999; }

.jjs-account-session-note {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(212, 167, 44, 0.25);
  border-radius: 12px;
  background: rgba(212, 167, 44, 0.07);
  color: #cfc6b6;
  font-size: 11px;
  line-height: 1.5;
}

.jjs-account-form [hidden] {
  display: none !important;
}

@media (min-width: 700px) {
  .jjs-account-card {
    max-width: 560px;
  }
}
