/* Apple Universal Links & Android App Links Tool Styles */
.app-links-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

.routing-banner {
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.banner-app {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #86efac;
}

.banner-app .banner-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #22c55e;
  color: #0f172a;
  padding: 2px 8px;
  border-radius: 4px;
}

.banner-web {
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid #eab308;
  color: #fef08a;
}

.banner-web .banner-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #eab308;
  color: #0f172a;
  padding: 2px 8px;
  border-radius: 4px;
}

.banner-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.banner-desc {
  font-size: 0.9rem;
  opacity: 0.9;
}

.manifest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .manifest-grid {
    grid-template-columns: 1fr;
  }
}

.code-editor-area {
  width: 100%;
  height: 260px;
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.4;
  resize: vertical;
}

.diag-item {
  padding: 0.85rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.diag-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.diag-item p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

.diag-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

.diag-warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #fde68a;
}

.diag-info {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid #3b82f6;
  color: #93c5fd;
}

.diag-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #86efac;
}
