
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  color: #333;
  padding: 20px;
}
.container {
  max-width: 700px;
  margin: auto;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
input[type="text"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #ccc;
}
button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  background: #007bff;
  color: white;
  border-radius: 10px;
  cursor: pointer;
}
button:hover {
  background: #0056b3;
}
.sidebar {
  margin-top: 20px;
}
.sidebar button {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  background: #6c757d;
}
#apiSettings {
  margin-top: 30px;
  background: #f1f3f5;
  padding: 15px;
  border-radius: 10px;
}
/* General body / background – purple/neo look */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #3b0764, #020617 60%);
  color: #e5e7eb;
}

/* Container & cards (for LinkStorm + Tag Extractor UI) */
.container {
  max-width: 1000px;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
}

.card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 0.9rem;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(129, 140, 248, 0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

/* Hero How-To section */
.hero-howto {
  position: relative;
  overflow: hidden;
}

.hero-howto::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(216, 180, 254, 0.12), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-howto h2 {
  position: relative;
  margin-top: 0;
  font-size: 1.5rem;
  color: #f9fafb;
}

.hero-tagline {
  position: relative;
  margin-top: 1rem;
  font-weight: 600;
  color: #bfdbfe;
}

/* How-to steps list */
.howto-steps {
  position: relative;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.howto-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.45rem 0;
}

.step-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #0b1120;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.7);
}

.howto-steps strong {
  color: #e5e7eb;
}

.howto-steps p {
  margin: 0.15rem 0 0;
  color: #9ca3af;
}

/* Buttons styled to match the purple neon brand */
.btn,
.button-group button,
.sidebar button,
#authLoginBtn,
#authRegisterBtn,
#authLogoutBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #0b1120;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(88, 28, 135, 0.7);
}

.btn:hover,
.button-group button:hover,
.sidebar button:hover,
#authLoginBtn:hover,
#authRegisterBtn:hover,
#authLogoutBtn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Tag extractor result badges + boxes */
.badge {
  display: inline-block;
  background: #4c1d95;
  color: #e5e7eb;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  border-radius: 999px;
  margin-left: 0.35rem;
}

.result-box {
  background: #020617;
  border-radius: 0.6rem;
  padding: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  white-space: pre-wrap;
  max-height: 220px;
  overflow: auto;
  font-size: 0.85rem;
}

/* Auth bar */
.auth-bar {
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(129, 140, 248, 0.35);
}

.auth-bar input[type="email"],
.auth-bar input[type="password"] {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.35rem 0.7rem;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.85rem;
}

/* Utility */
.hidden { display: none; }

.small-text {
  font-size: 0.8rem;
  color: #9ca3af;
}
