/* ── EOL Checker ──────────────────────────────────────────── */
.checker-header {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.checker-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.checker-subtitle {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
}

.checker-input-card {
  padding: 24px;
  margin-bottom: 0;
}

.checker-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.checker-tab {
  padding: 8px 16px;
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s;
}

.checker-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.checker-help {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.checker-help code {
  font-family: var(--mono);
  font-size: 12px;
  padding: 1px 5px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
}

.checker-textarea {
  width: 100%;
  resize: vertical;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.checker-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.checker-upload-area:hover,
.checker-upload-area.drag-over {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.04);
}

.checker-btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* Loading spinner */
.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

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

/* ── Print / PDF styles ───────────────────────────────────── */
.pdf-only {
  display: none;
}

@media print {
  /* Hide everything except PDF area */
  body > * { display: none !important; }
  .container { display: none !important; }

  #pdf-area {
    display: block !important;
    padding: 32px;
    font-family: Inter, sans-serif;
  }

  .pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #E2E8F0;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
  }

  th {
    background: #F8FAFC;
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748B;
    border-bottom: 1px solid #E2E8F0;
  }

  td {
    padding: 8px 12px;
    border-bottom: 1px solid #F1F5F9;
    color: #0F172A;
  }

  .badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
  }

  .badge-eol  { background: #FEE2E2; color: #DC2626; }
  .badge-warn { background: #FEF3C7; color: #D97706; }
  .badge-safe { background: #DCFCE7; color: #16A34A; }
  .dot { display: none; }
}