

/* ─────────────────────────────────────────
   SEARCH NEW BUTTON COMPONENT
───────────────────────────────────────── */

.search-new-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: auto;
  max-width: 680px;
  margin: 20px 40px;
  animation: fade-up .3s ease both;
}

.search-new-wrap.visible{
  display: flex;
}


/* ── Divider ── */
.search-new-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.search-new-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.search-new-divider-label {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 500;
}

/* ── Button ── */
.btn-search-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-08);
  color: var(--primary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 1.5px solid var(--primary);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s, transform .1s;
  white-space: nowrap;
}


.btn-search-new:focus {
  opacity: 1;
}

.btn-search-new:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px hsl(158, 75%, 36%, .25);
  opacity: 1;
  animation: none;
}

.btn-search-new:active {
  transform: scale(.96);
}

.btn-search-new svg:first-child {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Plus badge on right ── */
.btn-search-new-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: hsl(158, 75%, 36%, .12);
  margin-left: 2px;
  transition: background .15s;
   background: rgba(255,255,255,.2);
}


.btn-search-new-badge svg {
  width: 11px;
  height: 11px;
}

/* ── Entrance animation ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── Blink animation ── */
@keyframes btn-blink {
  0%, 100% { opacity: 1; background: var(--primary-15); }
  50%       { opacity: 0.7; background: var(--primary--10);}
}

@keyframes all-btn-blink {
  0%, 100% { transform: scale(1.05); }
  50%       {  transform: scale(1);}
}

.btn-search-new {
  animation: btn-blink 1.4s ease-in-out infinite;
}


#search-all-btn{
  background: var(--primary) !important;
  animation: none;
  color: var(--white);
  animation: all-btn-blink 1.4s ease-in-out infinite;
}






