.gsc-control-cse {
  padding: 0em!important;
}
.gsc-control-cse table.gsc-search-box td.gsc-input {
  padding-right: 2px;
  padding-left: 2px;
  padding-top: 2px;
  padding-bottom: 2px;
}
.gsc-control-cse.gsc-control-cse-el{
  padding: 0px;
  line-height: unset!important;
}
.gsc-input-box {
  border: 0px solid #dfe1e5!important;
}

.tw-prose .gsc-control-cse :where(table):not(:where([class~="tw-not-prose"],[class~="tw-not-prose"] *))
{
  margin-top : 0em;
  margin-bottom : 0em;
  padding-top : 0em;
  padding-bottom : 0em;
}

/* Search form styling */
.search-block-form {
  margin: 0;
  padding: 0;
}

.search-block-form .form-item {
  margin: 0;
  padding: 0;
}

/* Desktop search styling */
@media (min-width: 768px) {
  .search-block-form {
    /* Background color now handled by Tailwind classes in the template */
    padding: 0.5rem 0;
  }

  .search-block-form form {
    max-width: 28rem;
    margin: 0 auto;
    position: relative;
  }
}

/* Mobile search styling */
@media (max-width: 767px) {
  .search-block-form {
    background-color: #f3f4f6;
    padding: 1rem;
  }

  .search-block-form form {
    margin-bottom: 0.75rem;
    position: relative;
  }
}

/* General input styling */
.search-block-form input.form-search {
  padding-left: 2.25rem;
  width: 100%;
  height: 2.25rem;
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
}

.search-block-form input.form-search:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px #3b82f6;
}

/* Search icon */
.search-block-form form::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0.625rem;
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  z-index: 1;
}

/* Hide submit button */
.search-block-form .form-actions {
  display: none;
}

/* Placeholder text */
.search-block-form input.form-search::placeholder {
  color: #9ca3af;
}
