.search-container {
  width: 100%;
  max-width: 260px;
  padding-top: 10px;
  margin: 0 auto;
  /*  center container */
  text-align: center;
  /*  center inner content */
}

/* Force Google CSE to center */
.gsc-control-cse {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: inline-block !important;
  /* key fix */
  margin: 0 auto !important;
}

/* Center the internal table */
.gsc-control-cse table {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Change height from 40px to 30px (as an example) */
.gsc-input-box {
  height: 38px !important;
  border-radius: 25px !important;
  border: 1px solid #ccc !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex !important;
  /* Helps align content vertically */
  align-items: center !important;
}

input.gsc-input {
  background: none !important;
  height: 30px !important;
  /* Match the .gsc-input-box height */
  line-height: 30px !important;
  /* Centers text vertically */
  font-size: 13px !important;
  /* Slightly smaller font for smaller height */
  padding-left: 40px !important;
  /* Reduced from 40px if search icon isn't used */
  margin-top: 0 !important;
}

.gsc-input-box-focus {
  border-color: #006e2e !important;
  box-shadow: 0 0 6px rgba(0, 110, 46, 0.3);
}

.gsib_a {
  padding: 0 !important;
}

table.gsc-search-box td {
  padding: 0 !important;
  vertical-align: middle !important;
}

input.gsc-input::placeholder {
  color: #999 !important;
  font-size: 14px;
}

.gsc-results-wrapper-overlay {
height: 90vh !important;
min-height: 500px !important;
top: 60px !important;
overflow-y: auto !important;
}

.gsc-modal-background-image {
width: 100vw !important;
height: 100vh !important;
left: 0 !important;
top: 0 !important;
position: fixed !important;
background: rgba(0,0,0,0.5) !important;
}
