/* Keeps the background and border full-width */
.minimal-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  width: 100%;
}

/* Constrains the content to match the rest of the page */
.header-inner-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px; /* Standard Zoho Desk page width */
  margin: 0 auto; /* This centers the container on the screen */
  padding: 5px 5px; 
  width: 100%;
  box-sizing: border-box;
}

/* Constrains logo size - increased height */
.header-logo img {
  max-height: 100px; /* Increased from 45px */
  width: auto;
  display: block;
}

/* Optional: You may also want to slightly increase the header padding to give the larger logo room to breathe */
.minimal-header {
  padding: 5px 5px; /* Increased top/bottom padding slightly */
}
/* Controls the search bar width */
.header-search {
  flex: 0 1 400px; /* Prevents the search bar from stretching too far */
  width: 100%;
}

/* Creates the container for positioning the icon */
.search-input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* Styles and positions the magnifying glass */
.search-icon {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 18px;
  color: #94a3b8; /* A soft grey color */
  pointer-events: none; /* Allows clicking through the icon to focus the text box */
}

/* Updated search input with left padding for the icon and 24px rounded corners */
.custom-search-input {
  width: 100%;
  padding: 12px 20px 12px 42px; /* 42px left padding leaves room for the icon */
  border: 1px solid #cbd5e1;
  border-radius: 24px; 
  font-size: 14px;
  box-sizing: border-box; /* Ensures padding doesn't break the width */
}

/* Force-hide all common Zoho Desk login classes */
.sign-in, 
.login-sec, 
.user-profile-info,
[data-type="login"],
.portal-login {
  display: none !important;
}
/* Hides the specific large Knowledge Base button */
.Button__tagPrimary.Button__btnxlarge.commonStyle__inlineBlock {
  display: none !important;
}

/* Safer fallback: Ensures it only hides if it links to the KB */
a[href*="kb"].Button__tagPrimary {
  display: none !important;
}
