/* SGCC Live Omnibox Search Styles - saigoncaycanh.com */
.sgcc-live-omnibox {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35), 0 0 0 1.5px #d4a01788;
  border: 1px solid #d4a01744;
  z-index: 999999;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: left;
  animation: sgccOmniboxFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sgccOmniboxFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sgcc-omnibox-scroll {
  max-height: 480px;
  overflow-y: auto;
  padding: 8px 0;
  overscroll-behavior: contain;
}
.sgcc-omnibox-scroll::-webkit-scrollbar {
  width: 6px;
}
.sgcc-omnibox-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.sgcc-omnibox-section {
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.sgcc-omnibox-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sgcc-section-header {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #d4a017;
  background: #f8fafc;
  padding: 6px 18px;
  margin: 4px 0;
}

.sgcc-omnibox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  text-decoration: none !important;
  color: #1e293b !important;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}
.sgcc-omnibox-item:hover,
.sgcc-omnibox-item.is-active {
  background: #f8fafc;
  border-left-color: #d4a017;
}

.sgcc-thumb-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sgcc-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sgcc-item-placeholder {
  font-size: 20px;
}

.sgcc-item-info {
  flex: 1;
  min-width: 0;
}
.sgcc-item-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sgcc-item-cat {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}
.sgcc-item-arrow {
  color: #94a3b8;
  font-size: 16px;
  transition: transform 0.15s ease, color 0.15s ease;
}
.sgcc-omnibox-item:hover .sgcc-item-arrow,
.sgcc-omnibox-item.is-active .sgcc-item-arrow {
  transform: translateX(3px);
  color: #d4a017;
}

.sgcc-mark {
  background: #ecfdf5;
  color: #065f46;
  padding: 1px 3px;
  border-radius: 3px;
  font-weight: 700;
}

.sgcc-omnibox-empty {
  padding: 28px 20px;
  text-align: center;
}
.sgcc-empty-icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.sgcc-empty-text {
  font-size: 14.5px;
  color: #334155;
  font-weight: 500;
}
.sgcc-empty-sub {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 6px;
}

.sgcc-omnibox-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 10px 18px;
}
.sgcc-omnibox-footer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #134e4a !important;
  text-decoration: none !important;
}
