.search-row {
  display: flex;
  width: 100%;
  margin-bottom: 12px;
}

.search-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0b0b14;
  color: var(--text);
  padding: 9px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: rgba(163, 107, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(163, 107, 255, 0.2);
}

@media (prefers-color-scheme: light) {
  .search-input {
    background: #ffffff;
  }

  .search-input:focus {
    border-color: rgba(255, 0, 110, 0.8);
    box-shadow: 0 0 12px rgba(255, 0, 110, 0.3), 0 0 0 3px rgba(255, 0, 110, 0.1);
  }
}

.field {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0b0b14;
  color: var(--text);
  padding: 8px 10px;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(163, 107, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(163, 107, 255, 0.2);
}

@media (prefers-color-scheme: light) {
  .field input,
  .field select,
  .field textarea {
    background: #ffffff;
  }

  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    border-color: rgba(255, 0, 110, 0.8);
    box-shadow: 0 0 12px rgba(255, 0, 110, 0.3), 0 0 0 3px rgba(255, 0, 110, 0.1);
  }
}

.field textarea {
  resize: vertical;
  line-height: 1.5;
}

/* Light mode overrides */
html.light-mode {
  .search-input {
    background: #ffffff;
  }

  .search-input:focus {
    border-color: rgba(255, 0, 128, 1);
    box-shadow: 0 0 33px rgba(255, 0, 128, 0.85), 0 0 0 5.35px rgba(255, 0, 128, 0.26);
  }

  .field input,
  .field select,
  .field textarea {
    background: #ffffff;
  }

  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    border-color: rgba(255, 0, 128, 1);
    box-shadow: 0 0 33px rgba(255, 0, 128, 0.85), 0 0 0 5.35px rgba(255, 0, 128, 0.26);
  }
}
