Spaces:
Sleeping
Sleeping
File size: 3,383 Bytes
4527ef1 | 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 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | * {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
}
body {
background: linear-gradient(135deg, #dbeafe, #ede9fe);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.container {
width: 1100px;
height: 720px;
background: white;
border-radius: 35px;
display: flex;
overflow: hidden;
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
border: 8px solid #2563eb;
}
/* LEFT SIDEBAR */
.sidebar {
width: 320px;
background: linear-gradient(180deg, #172554, #1e293b);
padding: 25px;
color: white;
}
.logo {
font-size: 28px;
font-weight: bold;
margin-bottom: 30px;
}
.card {
background: rgba(255, 255, 255, 0.08);
padding: 20px;
border-radius: 20px;
margin-bottom: 20px;
backdrop-filter: blur(10px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.card h3 {
margin-bottom: 15px;
font-size: 20px;
}
.upload-box {
border: 2px dashed #94a3b8;
padding: 20px;
border-radius: 18px;
text-align: center;
}
.upload-box input {
margin-top: 10px;
}
.process-btn {
width: 100%;
background: #22c55e;
color: white;
border: none;
padding: 15px;
border-radius: 14px;
font-size: 18px;
font-weight: bold;
cursor: pointer;
margin-top: 10px;
transition: 0.3s;
}
.process-btn:hover {
transform: scale(1.03);
}
.info p {
margin-top: 10px;
}
.powered {
margin-top: 20px;
color: #c4b5fd;
font-size: 14px;
}
/* RIGHT CHAT AREA */
.chat-area {
flex: 1;
background: #f8fafc;
padding: 35px;
position: relative;
}
.chat-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.chat-header h1 {
font-size: 38px;
color: #111827;
}
.chat-header p {
color: #64748b;
margin-top: 5px;
}
.new-chat {
background: #7c3aed;
color: white;
border: none;
padding: 14px 22px;
border-radius: 14px;
cursor: pointer;
font-weight: bold;
box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}
/* CHAT BOX */
.chat-box {
margin-top: 40px;
}
.user-message {
background: #2563eb;
color: white;
width: fit-content;
margin-left: auto;
padding: 16px 22px;
border-radius: 18px 18px 5px 18px;
box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
margin-bottom: 30px;
}
.bot-message {
background: white;
padding: 25px;
border-radius: 20px;
width: 700px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
line-height: 1.8;
}
.bot-message ul {
margin-left: 25px;
margin-top: 10px;
}
.answer-box {
margin-top: 20px;
background: white;
padding: 20px;
border-radius: 20px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.answer-box h3 {
margin-bottom: 10px;
}
/* INPUT AREA */
.input-area {
position: absolute;
bottom: 30px;
left: 35px;
right: 35px;
display: flex;
gap: 15px;
}
.input-area input {
flex: 1;
padding: 18px;
border-radius: 15px;
border: 1px solid #cbd5e1;
outline: none;
font-size: 16px;
}
.input-area button {
background: #7c3aed;
color: white;
border: none;
padding: 15px 25px;
border-radius: 15px;
cursor: pointer;
font-weight: bold;
font-size: 16px;
} |