.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.auth-logged-in[hidden] {
  display: none !important;
}

.auth-logged-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.auth-logout-btn {
  display: inline-block;
  background-color: var(--rr-blue);
  color: white;
  border: none;
  font-size: 18px;
  font-weight: 800;
  padding: 16px 90px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  box-shadow: none;
  transition: background 0.2s;
  cursor: pointer;
}

.auth-logout-btn:hover {
  background-color: var(--rr-blue-hover);
}

.auth-delete-btn {
  display: inline-block;
  background-color: transparent;
  color: var(--danger);
  border: 0;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.auth-delete-btn:hover {
  background-color: var(--danger);
  color: white;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-modal-box {
  position: relative;
  width: 90%;
  max-width: 360px;
  background: var(--bg-surface);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 32px 28px 26px;
  text-align: center;
  box-shadow: none;
}

.auth-modal-box h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 22px;
}

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

.auth-form input {
  padding: 12px 14px;
  border: 0;
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.auth-form input:focus {
  outline: none;
}

.auth-form button[type="submit"] {
  margin-top: 6px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--rr-blue);
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-form button[type="submit"]:hover {
  background: var(--rr-blue-hover);
}

.auth-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: default;
}

.auth-error {
  margin-top: 14px;
  color: var(--danger);
  font-size: 14px;
}

.auth-error.auth-error--success {
  color: var(--success);
}

.auth-turnstile {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.auth-toggle {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-toggle button {
  background: none;
  border: 0;
  color: var(--rr-blue-text);
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
}

.auth-toggle button:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .auth-logout-btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 24px;
    font-size: 16px;
  }

  .auth-logged-in {
    gap: 8px;
  }
}
