Avatar / frontend /src /index.css
DataSage12's picture
Initial commit - HOLOKIA-AVATAR v2.2
de63014
@tailwind base;
@tailwind components;
@tailwind utilities;
html, body, #root {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: linear-gradient(135deg, #f3f4f6, #ffffff);
}
/* Card style with enhanced shadow and smoother transitions */
.card {
background-color: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(16px);
border-radius: 1.25rem;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.05);
padding: 1.25rem;
transition: all 0.3s ease-in-out;
}
.card:hover {
transform: translateY(-2px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
.card {
padding: 2rem;
}
}
/* Primary button with modern gradient and dynamic hover */
.btn-primary {
background-image: linear-gradient(90deg, #3b82f6, #8b5cf6);
color: white;
font-weight: 600;
padding: 0.75rem 1.5rem;
border-radius: 0.75rem;
transition: all 0.3s ease;
}
.btn-primary:hover {
background-image: linear-gradient(90deg, #2563eb, #7c3aed);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-primary:active {
transform: translateY(0);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
/* Input field with cleaner focus state */
.input-field {
width: 100%;
background-color: rgba(255, 255, 255, 0.9);
border: 1px solid #d1d5db;
border-radius: 0.75rem;
padding: 0.875rem 1.25rem;
transition: all 0.2s ease;
font-size: 0.95rem;
}
.input-field:focus {
outline: none;
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
/* Custom scrollbar with smoother appearance */
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #a1a1aa;
border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #78788c;
}
/* Message bubble styles */
.message-bubble {
max-width: 85%;
padding: 0.75rem 1.25rem;
border-radius: 1rem;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
transition: all 0.2s ease;
}
.message-bubble.user {
background: linear-gradient(90deg, #3b82f6, #6366f1);
color: white;
}
.message-bubble.assistant {
background: #ffffff;
color: #1f2937;
border: 1px solid #e5e7eb;
}