/* ===============================
   SEARCH ICON
================================ */

#od-search-icon {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-size: 18px;
  color: #000;
  transition: transform 0.2s ease;
}
#od-search-icon svg {
  transition: transform 0.2s ease;
  margin-top:5px;
}

#od-search-icon:hover svg {
  transform: scale(1.15);
}
#od-search-icon:hover {
  transform: scale(1.1);
}

#od-search-icon:focus {
  outline: none;
}


/* ===============================
   FULLSCREEN OVERLAY
================================ */

#od-search-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 999999;

  display: none;
  flex-direction: column;
  align-items: center;

  padding: 100px 40px 60px;

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  opacity: 0;
  transition: opacity 0.3s ease;
}

#od-search-overlay.active {
  display: flex;
  opacity: 1;
}


/* ===============================
   CLOSE BUTTON
================================ */

#od-search-close {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 1000000;
  font-size: 32px;
  line-height: 1;
  background: transparent;
  border: none;
  color: #000;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#od-search-close:hover {
  transform: rotate(90deg);
  opacity: 0.7;
}


/* ===============================
   SEARCH INPUT
================================ */

#od-search-input {
  width: 100%;
  max-width: 1100px;
  font-size: 42px;
  border: none;
  border-bottom: 2px solid #000;
  outline: none;
  padding-bottom: 12px;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

#od-search-input:focus {
  border-bottom: 2px solid #0052cc; /* Change to your brand color */
}


/* ===============================
   HELPER TEXT
================================ */

.od-search-helper {
  max-width: 1100px;
  width: 100%;
  font-size: 14px;
  color: #777;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}


/* ===============================
   RESULTS WRAPPER
================================ */

#od-search-results {
  width: 100%;
  max-width: 1100px;
}


/* ===============================
   GROUP HEADINGS
================================ */

.od-group {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ===============================
   RESULT LINKS
================================ */

.od-result {
  display: block;
  font-size: 20px;
  margin: 10px 0;
  color: #000;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.od-result:hover {
  color: #0052cc; /* Brand color */
  transform: translateX(4px);
}


/* ===============================
   LOADING STATE
================================ */

.od-loading {
  margin-top: 20px;
  font-size: 16px;
  color: #666;
}


/* ===============================
   NO RESULT TEXT
================================ */

.od-no-result {
  margin-top: 20px;
  font-size: 16px;
  color: #999;
}


/* ===============================
   MOBILE OPTIMIZATION
================================ */

@media (max-width: 768px) {

  #od-search-overlay {
    padding: 80px 20px 40px;
  }

  #od-search-input {
    font-size: 28px;
  }

  .od-result {
    font-size: 18px;
  }

  #od-search-close {
    top: 16px;
    right: 16px;
  }

  .od-search-helper {
    font-size: 13px;
  }
}