/* Scoped styles for iss-live-tracker (prefix: islt-) */

.islt-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1e293b;
}

.islt-header {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.islt-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.85rem;
  font-weight: 700;
  color: #0f172a;
}

.islt-subtitle {
  margin: 0;
  font-size: 1rem;
  color: #64748b;
  line-height: 1.5;
}

.islt-telemetry-banner {
  background: #0f172a;
  color: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
}

.islt-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.islt-stat-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  font-weight: 600;
}

.islt-stat-val {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: monospace;
  color: #38bdf8;
}

.islt-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 1.5rem;
}

.islt-tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s ease;
}

.islt-tab-btn.islt-active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.islt-map-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.islt-canvas-wrap {
  width: 100%;
  aspect-ratio: 2 / 1;
  background: #0b1329;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.islt-map-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.islt-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.islt-input-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.islt-input {
  flex: 1 1 240px;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  background: #f8fafc;
  color: #0f172a;
}

.islt-select {
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
}

.islt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.islt-btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.islt-btn-primary:hover {
  background: #1d4ed8;
}

.islt-btn-secondary {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.islt-btn-secondary:hover {
  background: #e2e8f0;
}

.islt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.islt-table th, .islt-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.islt-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
}

.islt-crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.islt-crew-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.islt-crew-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 1.05rem;
}

.islt-crew-agency {
  font-size: 0.8rem;
  color: #2563eb;
  font-weight: 600;
}

.islt-crew-role {
  font-size: 0.85rem;
  color: #64748b;
}

.islt-ad-slot {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.islt-hidden {
  display: none !important;
}

.islt-copied {
  color: #10b981 !important;
}

@media (max-width: 768px) {
  .islt-telemetry-banner {
    grid-template-columns: 1fr 1fr;
  }
  .islt-input-row {
    flex-direction: column;
  }
}
