pdfchatboat / static /style.css
keshav95e9's picture
Upload 2 files
4527ef1 verified
Raw
History Blame Contribute Delete
3.38 kB
* {
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;
}