File size: 1,023 Bytes
ce1ab17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8ee4cb7
ce1ab17
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 * SPDX-FileCopyrightText: Hadad <hadad@linuxmail.org>
 * SPDX-License-Identifier: Apache-2.0
 */

#inputContainer {
  display: flex;
  align-items: center;
  flex: 1;
  background: linear-gradient(145deg, #1a1a1a, #141414);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#inputContainer:focus-within {
  border-color: var(--color-primary);
  background: linear-gradient(145deg, #1f1f1f, #1a1a1a);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
  transform: translateY(-1px);
}

#userInput {
  flex: 1;
  padding: 0.75rem 0.75rem;
  border-radius: 2rem;
  border: 1px solid transparent;
  background-color: transparent;
  color: #e0e0e0;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  min-width: 0;
  font-family: 'Inter', sans-serif;
}