/* Scoped styles for ham-radio-callsign-lookup (prefix: hrcl-) */

.hrcl-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1e293b;
}

.hrcl-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);
}

.hrcl-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.85rem;
  font-weight: 700;
  color: #0f172a;
}

.hrcl-subtitle {
  margin: 0;
  font-size: 1rem;
  color: #64748b;
  line-height: 1.5;
}

.hrcl-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 1.5rem;
}

.hrcl-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;
}

.hrcl-tab-btn.hrcl-active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.hrcl-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;
}

.hrcl-input-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hrcl-input {
  flex: 1 1 280px;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  background: #f8fafc;
  color: #0f172a;
  text-transform: uppercase;
}

.hrcl-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;
}

.hrcl-btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.hrcl-btn-primary:hover {
  background: #1d4ed8;
}

.hrcl-btn-secondary {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.hrcl-btn-secondary:hover {
  background: #e2e8f0;
}

.hrcl-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

.hrcl-tag {
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: #f1f5f9;
  color: #1e293b;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  font-family: monospace;
  font-weight: 600;
}

.hrcl-tag:hover {
  background: #e2e8f0;
}

.hrcl-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hrcl-call-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.hrcl-call-text {
  font-family: monospace;
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 1px;
}

.hrcl-class-badge {
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #dbeafe;
  color: #1e40af;
}

.hrcl-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.hrcl-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hrcl-info-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
}

.hrcl-info-val {
  font-size: 1rem;
  color: #1e293b;
  font-weight: 600;
}

.hrcl-phonetic-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hrcl-morse-display {
  font-family: monospace;
  font-size: 1.25rem;
  letter-spacing: 3px;
  color: #2563eb;
  font-weight: 700;
}

.hrcl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hrcl-table th, .hrcl-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.hrcl-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
}

.hrcl-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;
}

.hrcl-hidden {
  display: none !important;
}

.hrcl-copied {
  color: #10b981 !important;
}

@media (max-width: 768px) {
  .hrcl-input-row {
    flex-direction: column;
  }
}
