:root {
  --teamhp-bg: #080808;
  --teamhp-card: #141414;
  --teamhp-border: #2b2b2b;
  --teamhp-text: #f2f2f2;
  --teamhp-muted: #adadad;
  --teamhp-primary: #e30613;
  --teamhp-primary-dark: #b0040f;
  --teamhp-success: #16a34a;
  --teamhp-error: #dc2626;
}

.teamhp-auth-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.teamhp-auth-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 520px;
  min-width: 0;
  background: linear-gradient(180deg, #1a1a1a 0%, var(--teamhp-card) 100%);
  border: 1px solid var(--teamhp-border);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: 26px;
  color: var(--teamhp-text);
}

.teamhp-auth-card h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--teamhp-text);
}

.teamhp-subtitle {
  margin: 8px 0 18px;
  color: var(--teamhp-muted);
  font-size: 0.95rem;
}

.teamhp-auth-form {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.teamhp-auth-form > * {
  min-width: 0;
  max-width: 100%;
}

.teamhp-auth-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teamhp-text);
}

.teamhp-auth-form input[type="text"],
.teamhp-auth-form input[type="email"],
.teamhp-auth-form input[type="password"],
.teamhp-auth-form input[type="tel"],
.teamhp-auth-form select,
.teamhp-auth-form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
  background: #101010;
  color: var(--teamhp-text);
  padding: 0 12px;
  font-size: 0.95rem;
}

.teamhp-auth-form textarea {
  min-height: 110px;
  height: auto;
  padding: 10px 12px;
  resize: vertical;
}

.teamhp-auth-form input[type="file"] {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
  background: #101010;
  color: var(--teamhp-text);
  padding: 10px 12px;
  font-size: 0.92rem;
}

.teamhp-auth-form input:focus {
  outline: none;
  border-color: var(--teamhp-primary);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.2);
}

.teamhp-auth-form input[readonly] {
  background: #171717;
  color: #c9c9c9;
  cursor: not-allowed;
}

.teamhp-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--teamhp-muted);
  font-size: 0.9rem;
}

.teamhp-check input {
  width: 16px;
  height: 16px;
}

.teamhp-avatar-field {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  background: #101010;
}

.teamhp-avatar-field__preview {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #373737;
  background: #0b0b0b;
}

.teamhp-avatar-field__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teamhp-avatar-field__controls {
  min-width: 0;
}

.teamhp-avatar-field__controls label {
  display: inline-block;
  margin-bottom: 8px;
}

.teamhp-check--avatar-remove {
  margin-top: 10px;
}

.teamhp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teamhp-primary), var(--teamhp-primary-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 6px;
  cursor: pointer;
}

.teamhp-btn:hover {
  filter: brightness(1.06);
}

.teamhp-btn--secondary {
  background: #1f1f1f;
  border: 1px solid #383838;
  color: #fff;
}

.teamhp-btn--ghost {
  background: transparent;
  border: 1px solid #3f3f3f;
  color: #f0f0f0;
}

.teamhp-btn--secondary:hover,
.teamhp-btn--ghost:hover {
  filter: none;
  border-color: var(--teamhp-primary);
  color: #fff;
}

.teamhp-alert {
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 0;
  font-size: 0.92rem;
}

.teamhp-alert.error {
  border: 1px solid rgba(220, 38, 38, 0.4);
  background: rgba(220, 38, 38, 0.12);
  color: #fecaca;
}

.teamhp-alert.success {
  border: 1px solid rgba(22, 163, 74, 0.4);
  background: rgba(22, 163, 74, 0.12);
  color: #bbf7d0;
}

.teamhp-switch {
  margin: 16px 0 0;
  color: var(--teamhp-muted);
  font-size: 0.92rem;
  text-align: center;
}

.teamhp-switch a {
  color: #ffd60a;
  text-decoration: none;
}

.teamhp-switch a:hover {
  color: var(--teamhp-primary);
  text-decoration: underline;
}

.teamhp-hint {
  margin: -2px 0 2px;
  min-height: 18px;
  font-size: 0.82rem;
  color: #fca5a5;
}

.teamhp-profile-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}

.teamhp-profile-summary__item {
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  background: #111;
  padding: 12px;
}

.teamhp-profile-summary__item span {
  display: block;
  font-size: 0.78rem;
  color: var(--teamhp-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.teamhp-profile-summary__item strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--teamhp-text);
}

.teamhp-vip-panel {
  margin: 12px 0 16px;
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  background: #101010;
  padding: 12px;
}

.teamhp-vip-panel h2 {
  margin: 0;
  font-size: 1.1rem;
}

.teamhp-vip-panel p {
  margin: 8px 0 0;
  color: var(--teamhp-muted);
  font-size: 0.9rem;
}

.teamhp-vip-panel__status strong {
  color: #fff;
}

.teamhp-vip-instructions {
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  background: #101010;
  padding: 12px;
  margin-bottom: 14px;
}

.teamhp-vip-instructions p {
  margin: 6px 0;
  color: #d5d5d5;
  font-size: 0.9rem;
}

.teamhp-pix-box {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.teamhp-pix-key {
  margin: 0;
  border: 1px dashed #555;
  border-radius: 10px;
  background: #0f0f0f;
  color: #fff;
  padding: 10px 12px;
  font-family: monospace;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.teamhp-vip-latest {
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  background: #111;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.teamhp-vip-latest p {
  margin: 4px 0;
  color: #d5d5d5;
  font-size: 0.88rem;
}

.teamhp-vip-pricing {
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  background: #111;
  padding: 10px 12px;
  margin: 0 0 14px;
}

.teamhp-vip-pricing p {
  margin: 0 0 8px;
  color: #f0f0f0;
  font-size: 0.9rem;
}

.teamhp-vip-pricing ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
}

.teamhp-vip-pricing li {
  color: #d5d5d5;
  font-size: 0.88rem;
}

.teamhp-auth-form .g-recaptcha {
  margin-top: 4px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
}

.teamhp-auth-form .g-recaptcha > div {
  margin: 0 auto;
}

@media (max-width: 540px) {
  .teamhp-auth-card {
    padding: 20px;
    border-radius: 14px;
  }

  .teamhp-auth-card h1 {
    font-size: 1.65rem;
  }

  .teamhp-auth-form .g-recaptcha > div {
    margin: 0;
    transform: scale(0.9);
    transform-origin: left top;
  }

  .teamhp-profile-summary {
    grid-template-columns: 1fr;
  }

  .teamhp-avatar-field {
    grid-template-columns: 1fr;
  }

  .teamhp-avatar-field__preview {
    margin: 0 auto;
  }
}
