/* /tag-extractor/assets/css/style.css */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b1120;
  color: #e5e7eb;
}

a {
  color: #38bdf8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.app-header {
  padding: 1.5rem 1rem;
  text-align: center;
  background: radial-gradient(circle at top, #1d4ed8, #020617 55%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.app-header h1 {
  margin: 0;
  font-size: 1.8rem;
}

.app-header p {
  margin-top: 0.5rem;
  color: #cbd5f5;
}

.app-main {
  max-width: 900px;
  margin: 1.5rem auto 2rem;
  padding: 0 1rem;
}

.card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.8);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.85);
}

.card h2 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #e5e7eb;
}

.card p, .card small {
  color: #9ca3af;
}

textarea#inputText {
  width: 100%;
  min-height: 150px;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
  resize: vertical;
  font-family: monospace;
}

input[type="file"],
input[type="url"] {
  display: block;
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #06b6d4);
  color: #020617;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.4rem;
}

.btn:hover {
  filter: brightness(1.1);
}

.btn-small {
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.result-group {
  margin-top: 1rem;
}

.result-box {
  background: #020617;
  border-radius: 0.5rem;
  padding: 0.75rem;
  border: 1px solid #4b5563;
  white-space: pre-wrap;
  max-height: 220px;
  overflow: auto;
  font-size: 0.85rem;
}

.badge {
  display: inline-block;
  background: #1d4ed8;
  color: #e5e7eb;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 999px;
  margin-left: 0.35rem;
}

.hidden {
  display: none;
}

.app-footer {
  text-align: center;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(51, 65, 85, 0.8);
  color: #6b7280;
  font-size: 0.9rem;
}
