/* Демо-аккаунты: шапка и формы */
.auth-user-email {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.head-auth-logged {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: 100%;
}

.auth-balance {
  font-size: 12px;
  font-weight: 800;
  color: #fde68a;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(253, 224, 71, 0.1);
  border: 1px solid rgba(253, 224, 71, 0.25);
}

.auth-cabinet-btn {
  font-size: 13px;
  padding: 8px 14px;
  white-space: nowrap;
}

.auth-cabinet-btn.is-current {
  pointer-events: none;
  opacity: 0.85;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.account-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.account-back:hover {
  color: #6ee7b7;
}

@media (max-width: 960px) {
  .auth-user-email {
    max-width: 72px;
  }

  .head-auth-logged {
    justify-content: center;
  }
}

.auth-page {
  padding: 28px 0 48px;
  max-width: 480px;
  margin: 0 auto;
}

.auth-page .hero-card {
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.auth-form input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.2);
}

.auth-msg {
  font-size: 13px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
}

.auth-msg.ok {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #a7f3d0;
}

.auth-msg.err {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fecdd3;
}

.auth-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.auth-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.auth-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.deposit-page {
  padding: 28px 0 48px;
  max-width: 560px;
  margin: 0 auto;
}

.deposit-page .hero-card {
  margin: 0;
}

.deposit-balance-line {
  font-size: 14px;
  color: #fde68a;
  margin: 0 0 14px;
}

.deposit-compliance {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.5;
}

.deposit-notes-list {
  margin: 8px 0 0;
  padding-left: 1.2rem;
}

.deposit-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deposit-method-option {
  display: block;
  cursor: pointer;
  margin: 0;
}

.deposit-method-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.deposit-method-card {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.14);
  background: rgba(0, 0, 0, 0.3);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.deposit-method-option input:focus-visible + .deposit-method-card {
  outline: 2px solid rgba(253, 224, 71, 0.5);
  outline-offset: 2px;
}

.deposit-method-option input:checked + .deposit-method-card {
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.15);
}

.deposit-method-meta {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
