.ped-global-search {
  position: relative;
  margin: 0 0 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.ped-global-search > label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ff5a1f;
  font-size: 0.85rem;
  font-weight: 700;
}

.ped-global-search-field {
  position: relative;
}

.ped-global-search-field .material-icons {
  position: absolute;
  top: 50%;
  left: 0.85rem;
  z-index: 1;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.15rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.ped-global-search-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 0.85rem 0.65rem 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  outline: none;
  background: rgba(8, 8, 8, 0.8);
  color: #fff;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ped-global-search-field input:focus {
  border-color: rgba(255, 0, 51, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 0, 51, 0.12);
}

.ped-global-search-field input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.ped-global-search-status {
  min-height: 1.1rem;
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.ped-global-search-results {
  position: absolute;
  top: calc(100% - 0.7rem);
  right: 1rem;
  left: 1rem;
  z-index: 20;
  max-height: 340px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #151515;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
}

.ped-global-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.ped-global-search-result:last-child {
  border-bottom: 0;
}

.ped-global-search-result:hover,
.ped-global-search-result:focus-visible {
  outline: none;
  background: rgba(255, 0, 51, 0.12);
}

.ped-global-search-identity {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
}

.ped-global-search-identity strong,
.ped-global-search-model {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ped-global-search-model {
  color: rgba(255, 255, 255, 0.55);
  font-family: monospace;
  font-size: 0.75rem;
}

.ped-global-search-category {
  flex: 0 0 auto;
  padding: 0.22rem 0.48rem;
  border: 1px solid rgba(255, 90, 31, 0.25);
  border-radius: 999px;
  background: rgba(255, 90, 31, 0.1);
  color: #ff7a45;
  font-size: 0.7rem;
}

@media (max-width: 600px) {
  .ped-global-search-result {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }
}
