Spaces:
Running

File size: 3,053 Bytes
d93fdf3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a51ac3d
d93fdf3
 
 
 
 
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
.chatbot-container {
    width: 80%;
    margin: 20px auto;
    background-color: #333333;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    height: 60vh;
  }
  
  .chatbot-header {
    text-align: center;
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: bold;
    color: #f0cd55;
  }
  
  .chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #444444;
  }
  
  .chatbot-message {
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 14px;
  }
  
  .chatbot-message.bot {
    background-color: #f9e79f;;
    color: #333333;
    align-self: flex-start;
  }
  
  .chatbot-message.user {
    background-color: #007bff;
    color: #fff;
    align-self: flex-end;
  }
  
  .chatbot-input-container {
    display: flex;
    align-items: center;
    padding: 50px 0;
    border-top: 1px solid #ddd;
    background-color: #333333;
    gap: 10px;
    height: 60px;
}

.chatbot-input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 20px;
    border: 1px solid #555555;
    font-size: 16px;
    background-color: #444444;
    color: #ffffff; 
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.chatbot-input:focus {
    border-color: #f0cd55;
}

.chatbot-send-button {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: #c9900b;
    color: white;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.chatbot-send-button:hover {
    background-color: #f0cd55;
}

.social-icons i {
  font-size: 20px;
  color: #c9900b;
  cursor: pointer;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-top: -22px;
}

.social-icons i:hover{
    color: #f0cd55;
}

  @media (max-width: 768px) {
    .chatbot-container {
      width: 90%;
      height: 90%;
    }
  
    .chatbot-header {
      font-size: 20px;
    }
  
    .chatbot-input {
      font-size: 12px;
    }
  
    .chatbot-send-button {
      font-size: 12px;
      padding: 8px 16px;
    }
  }

  .chatbot-iframe-wrapper {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    width: 100%; /* Full width */
    height: auto; /* Let the height adjust dynamically */
    background-color: #071e57; /* Optional: Match the chatbot background */
  }
  
  .chatbot-iframe {
    width: 100%; /* Make it responsive */
    max-width: 850px; /* Match the chatbot width */
    height: 150vh; /* Full viewport height */
    border: none; /* Remove the default border */
    border-radius: 10px; /* Add rounded corners */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    display: block; /* Ensure it behaves like a block element */
  }