/* Custom styles for Bitrix CRM Dashboard */

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* KPI cards hover effect */
.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
}

/* Table improvements */
.table-hover tbody tr:hover {
    background-color: rgba(32, 107, 196, 0.05);
}

/* Status badges */
.badge-sync-running {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Charts container */
.chart-container {
    position: relative;
    min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}
/* KPI cards refresh */
.card .h1 { letter-spacing: -0.5px; }
.card .badge { font-weight: 600; }
