/* From Uiverse.io by Lakshay-art — Search Bar Mastery
   MIT License. Copyright 2026 Lakshay-art (Lakshay Gupta).
   Paleta Verificador Infinity: #c62828 / #b71c1c. */

.lookup-search {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: min(100%, 34rem);
  margin: 0.15rem auto 0.35rem;
}

.lookup-poda {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 70px;
}

.lookup-white,
.lookup-border,
.lookup-darkBorderBg,
.lookup-glow {
  height: 100%;
  width: 100%;
  max-height: 70px;
  position: absolute;
  overflow: hidden;
  z-index: 0;
  border-radius: 12px;
  filter: blur(3px);
  pointer-events: none;
}

.lookup-input {
  background-color: #010201 !important;
  border: none !important;
  width: 100%;
  height: 56px;
  border-radius: 10px;
  color: white !important;
  padding-left: 3.4rem;
  padding-right: 1rem;
  font-size: 16px;
  font-family: inherit;
  box-shadow: none !important;
  outline: none !important;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.lookup-input::placeholder {
  color: #c0b9c0;
}

.lookup-input:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

html.page-space .lookup-search .lookup-input,
html.page-space .field .lookup-search .lookup-input {
  background-color: #010201 !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: none !important;
  padding-left: 3.4rem !important;
  padding-right: 1rem !important;
}

.lookup-pink-mask {
  pointer-events: none;
  width: 30px;
  height: 20px;
  position: absolute;
  background: #c62828;
  top: 10px;
  left: 5px;
  filter: blur(20px);
  opacity: 0.8;
  transition: all 2s;
  z-index: 2;
}

.lookup-poda:hover > .lookup-main > .lookup-pink-mask,
.lookup-main:hover > .lookup-pink-mask {
  opacity: 0;
}

.lookup-white {
  max-height: 63px;
  border-radius: 10px;
  filter: blur(2px);
}

.lookup-white::before {
  content: "";
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(83deg);
  position: absolute;
  width: 600px;
  height: 600px;
  background-repeat: no-repeat;
  background-position: 0 0;
  filter: brightness(1.4);
  background-image: conic-gradient(
    rgba(0, 0, 0, 0) 0%,
    #ef9a9a,
    rgba(0, 0, 0, 0) 8%,
    rgba(0, 0, 0, 0) 50%,
    #e53935,
    rgba(0, 0, 0, 0) 58%
  );
  transition: all 2s;
}

.lookup-border {
  max-height: 59px;
  border-radius: 11px;
  filter: blur(0.5px);
}

.lookup-border::before {
  content: "";
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(70deg);
  position: absolute;
  width: 600px;
  height: 600px;
  filter: brightness(1.3);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(
    #1c191c,
    #c62828 5%,
    #1c191c 14%,
    #1c191c 50%,
    #e53935 60%,
    #1c191c 64%
  );
  transition: all 2s;
}

.lookup-darkBorderBg {
  max-height: 65px;
}

.lookup-darkBorderBg::before {
  content: "";
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(82deg);
  position: absolute;
  width: 600px;
  height: 600px;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(
    rgba(0, 0, 0, 0),
    #7f1d1d,
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 0) 50%,
    #b71c1c,
    rgba(0, 0, 0, 0) 60%
  );
  transition: all 2s;
}

.lookup-poda:hover > .lookup-darkBorderBg::before {
  transform: translate(-50%, -50%) rotate(-98deg);
}
.lookup-poda:hover > .lookup-glow::before {
  transform: translate(-50%, -50%) rotate(-120deg);
}
.lookup-poda:hover > .lookup-white::before {
  transform: translate(-50%, -50%) rotate(-97deg);
}
.lookup-poda:hover > .lookup-border::before {
  transform: translate(-50%, -50%) rotate(-110deg);
}

.lookup-poda:focus-within > .lookup-darkBorderBg::before {
  transform: translate(-50%, -50%) rotate(442deg);
  transition: all 4s;
}
.lookup-poda:focus-within > .lookup-glow::before {
  transform: translate(-50%, -50%) rotate(420deg);
  transition: all 4s;
}
.lookup-poda:focus-within > .lookup-white::before {
  transform: translate(-50%, -50%) rotate(443deg);
  transition: all 4s;
}
.lookup-poda:focus-within > .lookup-border::before {
  transform: translate(-50%, -50%) rotate(430deg);
  transition: all 4s;
}

.lookup-glow {
  overflow: hidden;
  filter: blur(30px);
  opacity: 0.4;
  max-height: 130px;
  width: calc(100% + 40px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.lookup-glow::before {
  content: "";
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(60deg);
  position: absolute;
  width: 999px;
  height: 999px;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(
    #000,
    #c62828 5%,
    #000 38%,
    #000 50%,
    #e53935 60%,
    #000 87%
  );
  transition: all 2s;
}

.lookup-main {
  position: relative;
  width: 100%;
  z-index: 1;
}

.lookup-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  line-height: 0;
}

.lookup-search-icon svg {
  display: block;
}

.lookup-search #btnLookup,
.lookup-search #btnPasteSerial,
html.page-space .lookup-search #btnLookup,
html.page-space .lookup-search #btnPasteSerial {
  flex: 0 0 auto;
  height: 56px;
  padding: 0 1.25rem;
  background: linear-gradient(180deg, #e53935 0%, #c62828 55%, #b71c1c 100%) !important;
  box-shadow: 0 0 18px rgba(198, 40, 40, 0.35);
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff !important;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  width: auto;
  min-width: 6.6rem;
}

.lookup-search #btnLookup:hover:not(:disabled),
.lookup-search #btnPasteSerial:hover:not(:disabled),
html.page-space .lookup-search #btnLookup:hover:not(:disabled),
html.page-space .lookup-search #btnPasteSerial:hover:not(:disabled) {
  background: linear-gradient(180deg, #ef5350 0%, #c62828 50%, #b71c1c 100%) !important;
  box-shadow: 0 0 40px rgba(229, 57, 53, 0.5);
}

.lookup-search #btnLookup:disabled {
  opacity: 0.55;
  cursor: wait;
}

@media (max-width: 500px) {
  .lookup-search {
    flex-wrap: wrap;
    width: 100%;
  }

  .lookup-poda {
    width: 100%;
    flex: 1 1 100%;
  }

  .lookup-search #btnLookup,
  .lookup-search #btnPasteSerial,
  html.page-space .lookup-search #btnLookup,
  html.page-space .lookup-search #btnPasteSerial {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }
}
