.gsc-control-cse .gsc-control-cse-en {
  background-color: red !important;
  margin: 0 !important;
}

/* Wrapper for all search results */
.google-search-wrapper {
  background-color: #f9fafb;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: "Inter", sans-serif;
}

/* Individual result link */
.gcse-searchresults-only a.gs-title {
  color: #1f2937 !important; /* Dark text for title */
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none !important;
}

.gcse-searchresults-only a.gs-title:hover {
  color: #2563eb !important; /* Blue hover */
  text-decoration: underline !important;
}

/* Snippet text */
.gcse-searchresults-only .gs-bidi-start-align {
  color: #4b5563; /* Dark gray snippet */
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Image results wrapper */
.gcse-searchresults-only .gs-image-result {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* Skeleton loader */
.skeleton {
  position: relative;
  overflow: hidden;
  background-color: #e2e8f0;
  border-radius: 8px;
}

.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150px;
  height: 100%;
  width: 150px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

.google-search-wrapper {
  all: unset; /* removes inherited and Google styles */
  display: block;
  font-family: "Inter", sans-serif;
  background-color: #f9fafb;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Style search result cards manually */
.gcse-searchresults-only .gsc-webResult.gsc-result {
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  margin-bottom: 1rem !important;
  padding: 0.8rem !important;
  background-color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

/* Title link */
.gcse-searchresults-only a.gs-title {
  color: #1f2937 !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.gcse-searchresults-only a.gs-title:hover {
  color: #2563eb !important;
  text-decoration: underline !important;
}

/* Snippet */
.gcse-searchresults-only .gs-snippet {
  color: #4b5563 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}

/* Image results */
.gcse-searchresults-only .gs-image-result {
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 1rem !important;
}

.gsc-cursor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.gsc-cursor-box .gs-bidi-start-align {
  width: 100% !important;
}
.gsc-cursor-container-previous>
svg,
.gsc-cursor-container-next > svg {
  fill: var(--foreground) !important;
}

.gsc-cursor-container-next {
  display: flex;
  justify-content: flex-end;
}
