/* ── Batch Checker ──────────────────────────────────────────────────── */
.tool-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 24px; font-weight: 700; margin-bottom: 6px;
}
.tool-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.tool-icon--batch { background: linear-gradient(135deg, var(--cyan), var(--green)); }
.tool-desc { color: var(--muted2); font-size: 14px; margin-bottom: 24px; }

.batch-textarea {
  width: 100%; padding: 14px 16px;
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: 10px; color: var(--text);
  font-size: 14px; font-family: var(--mono); line-height: 1.6;
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.batch-textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,138,248,.3);
}
.batch-textarea::placeholder { color: var(--muted); }

.batch-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px;
}
.batch-count { font-size: 13px; color: var(--muted2); font-family: var(--mono); }

.batch-form .btn-primary {
  min-height: 44px; padding: 12px 24px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #0b0d14; border: none; border-radius: 10px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: opacity .2s, transform .15s, filter .2s;
  display: flex; align-items: center; gap: 8px;
}
.batch-form .btn-primary:hover { transform: scale(1.02); filter: brightness(1.1); }
.batch-form .btn-primary:active { transform: scale(0.98); }
.batch-form .btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; filter: none; }

}

to   { opacity: 1; transform: translateY(0); }
}

/* Progress */
.batch-progress-bar {
  width: 100%; height: 6px; background: var(--surface2);
  border-radius: 3px; overflow: hidden; margin-bottom: 8px;
}
.batch-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 3px; transition: width .3s;
  width: 0;
}
.batch-progress-text {
  font-size: 13px; color: var(--muted2); text-align: center;
  font-family: var(--mono);
}

/* Result table */
.batch-table-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 4px 24px rgba(0,0,0,.2);
  animation: fadeInUp .4s var(--ease-out);
}
.batch-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.batch-table th {
  text-align: left; padding: 12px 16px; color: var(--muted);
  font-weight: 500; font-size: 11px; text-transform: uppercase;
  letter-spacing: .5px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.batch-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  color: var(--text);
}
.batch-table tbody tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.batch-table tr:hover td { background: rgba(255,255,255,.04); }

.batch-url {
  font-family: var(--mono); font-size: 12px;
  max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--accent);
}
.batch-code {
  font-family: var(--mono); font-weight: 700; font-size: 14px;
}
.batch-code--2xx { color: #22c55e; }
.batch-code--3xx { color: #eab308; }
.batch-code--4xx { color: var(--orange); }
.batch-code--5xx { color: var(--danger); }
.batch-code--err { color: var(--danger); }

.batch-time { font-family: var(--mono); font-size: 12px; color: var(--muted2); }

.batch-export {
  display: flex; gap: 6px; justify-content: flex-end; margin-top: 12px;
}
.batch-export-btn {
  padding: 6px 14px; background: var(--surface2);
  border: 1px solid var(--border2); border-radius: 8px;
  color: var(--muted2); font-size: 12px; font-weight: 600;
  font-family: var(--mono); cursor: pointer; transition: all .2s;
  opacity: 0.7;
}
.batch-export-btn:hover {
  opacity: 1;
  color: var(--accent); border-color: rgba(91,138,248,.3);
  background: rgba(91,138,248,.06);
}

/* Status dot animation */
.batch-status-pending { color: var(--muted); }
.batch-status-loading {
  display: inline-block; width: 12px; height: 12px;
  border: 2px solid var(--border2); border-top-color: var(--accent);
  border-radius: 50%; animation: spin .6s linear infinite;
}

@media (max-width: 600px) {
  .batch-controls { flex-direction: column; gap: 10px; align-items: stretch; }
  .batch-form .btn-primary { width: 100%; justify-content: center; }
  .batch-url { max-width: 150px; }
  .batch-table { font-size: 12px; }
  .batch-table th, .batch-table td { padding: 10px 12px; }
}
