secutorpro's picture
<!DOCTYPE html>
cab2431 verified
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
font-family: 'Inter', sans-serif;
}
/* Styles pour la nouvelle interface améliorée */
.map-container {
height: 400px;
border-radius: 0.5rem;
background: #f3f4f6;
overflow: hidden;
}
.dashboard-card {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 15px;
color: white;
padding: 20px;
margin-bottom: 20px;
transition: all 0.3s ease;
position: relative;
}
.dashboard-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.stat-number {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 10px;
}
.real-time-indicator {
position: absolute;
top: 10px;
right: 10px;
width: 12px;
height: 12px;
background: #00ff88;
border-radius: 50%;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.5; }
100% { opacity: 1; }
}
.offline-indicator {
position: fixed;
bottom: 20px;
right: 20px;
background: #ff4757;
color: white;
padding: 10px 15px;
border-radius: 25px;
display: none;
}
.notification-panel {
position: fixed;
top: 20px;
right: 20px;
z-index: 9999;
max-width: 350px;
}
.agent-marker {
background: #667eea;
border-radius: 50%;
width: 12px;
height: 12px;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #c5c5c5;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #a0a0a0;
}
/* Card hover effect */
.bg-white.rounded-lg.shadow-md {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bg-white.rounded-lg.shadow-md:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
/* Button hover effects */
button.flex.flex-col.items-center {
transition: all 0.2s ease;
}
button.flex.flex-col.items-center:hover {
transform: scale(1.05);
}
/* Responsive adjustments */
@media (max-width: 768px) {
.container {
padding-left: 1rem;
padding-right: 1rem;
}
}