/*Search button*/
.search-button {
  display: inline-flex; /* Restrict width to content */
  background: #ffffff;
  color: var(--primary-color) !important;
  padding: 0.9vw 2.5vw;
  border-radius: 50px; /* Curved left & right edges */
  text-align: center;
  justify-content: center;
  text-decoration: none;
}
/*common button ---*/
.custom-block-links {
  display: inline-flex; /* Restrict width to content */
  background: var(--gradient);
  color: var(--color-white) !important;
  padding: 0.5vw 2.5vw;
  border-radius: 50px; /* Curved left & right edges */
  text-align: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: auto; /* Ensures it only wraps content */
  white-space: nowrap; /* Prevents unwanted line breaks */
}

.custom-block-links::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-reverse);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  border-radius: inherit; /* Inherits the same curve */
  z-index: -1;
}

.custom-block-links:hover::before {
  opacity: 1;
}

/*Primary button*/
.primary-gradient {
  display: inline-flex; /* Restrict width to content */
  background: var(--gradient);
  color: var(--color-white) !important;
  padding: 0.5vw 2.5vw;
  border-radius: 1.5vw !important; /* Curved left & right edges */
  text-align: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: auto; /* Ensures it only wraps content */
  white-space: nowrap; /* Prevents unwanted line breaks */
}

.primary-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-reverse);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  border-radius: inherit; /* Inherits the same curve */
  z-index: -1;
}

.primary-gradient:hover::before {
  opacity: 1;
}

/*Secondary button*/
.secondary-gradient {
  display: inline-flex; /* Restrict width to content */
  background: var(--gradient-reverse);
  color: var(--color-white) !important;
  padding: 0.5vw 2.5vw;
  border-radius: 1.5vw !important;
  text-align: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: auto; /* Ensures it only wraps content */
  white-space: nowrap; /* Prevents unwanted line breaks */
}

.secondary-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  border-radius: inherit; /* Inherits the same curve */
  z-index: -1;
}

.secondary-gradient:hover::before {
  opacity: 1;
}

.custom-block-mt {
  margin-top: 2.5vw;
}

.custom-block-mr {
  margin-right: 2.5vw;
}

.round-button {
  width: 2vw;
  height: 2vw;
  padding: 0 !important;
  display: flex;
  align-items: center;
  font-size: 1.1vw;
}
