/* ===== HERO ===== */
.qlc-wrapper {
  background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
  padding: 60px 16px;
}

.qlc-container {
  max-width: 1200px;
  margin: auto;
}

/* HEAD */
.qlc-container h1 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 8px;
}

.qlc-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 30px;
}

/* INPUT */
.qlc-input-box {
  display: flex;
  gap: 12px;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

.qlc-input-box input {
  flex: 1;
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.qlc-input-box button {
  background: #2563eb;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

/* STATS */
.qlc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 16px;
  margin: 40px 0;
}

.qlc-stat {
  background: #fff;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
}

.qlc-stat h3 { font-size: 32px; margin: 0; }
.qlc-stat p { color: #6b7280; margin-top: 6px; }

.blue h3 { color:#2563eb }
.green h3 { color:#16a34a }
.purple h3{ color:#7c3aed }
.orange h3{ color:#ea580c }

/* RESULTS HEAD */
.qlc-results-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:20px 0;
}

.qlc-csv-btn {
  background:#16a34a;
  color:#fff;
  border:none;
  padding:10px 16px;
  border-radius:8px;
  cursor:pointer;
}

/* TABLE */
.qlc-table-wrap { overflow-x:auto }

.qlc-table {
  width:100%;
  min-width:1000px;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
}

.qlc-table th,
.qlc-table td {
  padding:14px;
  border-bottom:1px solid #e5e7eb;
  vertical-align:top;
}

.qlc-table th {
  background:#f9fafb;
  font-weight:600;
}

/* BADGES */
.badge {
  padding:4px 10px;
  border-radius:999px;
  font-size:13px;
  color:#fff;
}
.badge.blue{background:#3b82f6}
.badge.green{background:#22c55e}

/* LINK */
.qlc-table a {
  color:#2563eb;
  word-break:break-all;
}
.qlc-anchor {
  font-size:12px;
  color:#6b7280;
  margin-top:4px;
}
/* ===== LOADER ===== */
.qlc-loader {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #2563eb;
  font-size: 15px;
}

.qlc-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #dbeafe;
  border-top: 3px solid #2563eb;
  border-radius: 50%;
  animation: qlc-spin 0.8s linear infinite;
}

@keyframes qlc-spin {
  to { transform: rotate(360deg); }
}
