File size: 2,618 Bytes
4add55f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119

/* Custom theme colors */
:root {
    --primary-color: #0000d3;
    --secondary-color: #c3c3f5;
    --background-color: #f8fafc;
    --text-color: white;
    --text-secondary: #000050;
  }
  
  @media (prefers-color-scheme: dark) {
    :root {
      --primary-color: #c3c3f5;
      --secondary-color: #0000d3;
      --background-color: #1e1e2e;
      --text-color: white;
      --text-secondary: #000050;
    }
  
    .chat-interface {
      background: rgba(30, 30, 46, 0.8) !important;
    }
  
    .message {
      background: rgba(40, 40, 56, 0.8) !important;
      color: var(--text-color) !important;
    }
  
    .input-box {
      background: rgba(30, 30, 46, 0.9) !important;
      color: var(--text-color) !important;
    }
  }
  
  /* Main container styling */
  .gradio-container {
    /* background-color: var(--background-color) !important */
    background-image: url('https://gradientsss.app/mesh.svg');
    background-attachment: fixed;
    background-size: cover;
  }
  
  /* Chat interface styling */
  .chat-interface {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  @media (prefers-color-scheme: dark) {
    .chat-interface {
      background: rgba(30, 30, 46, 0.8) !important;
    }
    
    .gradio-container {
      background-color: #1e1e2e !important;
    }
    
    .message-wrap {
      background: rgba(40, 40, 56, 0.8) !important;
    }
  }
  
  /* Title styling */
  .title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .title span {
    font-size: 24px;
    font-weight: 600;
  }
  
  /* Message container */
  .message {
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 0.5rem;
    color: var(--text-color) !important;
  }
  
  /* Input box styling */
  .input-box {
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    padding: 0.75rem;
    background: white;
  }
  
  /* Button styling */
  button {
    background: var(--primary-color) !important;
    color: var(--text-color) !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
  }

  button p {
    color: var(--text-color) !important;
  }
  
  button:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-2px);
  }
  
  button:hover p {
    color: var(--text-secondary) !important;
  }
  /* footer {visibility: hidden} */