/* CRM Unitek - Custom Styles */

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Smooth transitions */
* {
    scroll-behavior: smooth;
}

/* Table row hover animation */
.table-row-hover {
    transition: all 0.15s ease;
}
.table-row-hover:hover {
    background-color: #f8fafc;
    transform: scale(1.001);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Card hover effect */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Fade in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Pulse dot animation */
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}
.animate-pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Status badges */
.status-new { background-color: #dcfce7; color: #166534; }
.status-duplicate { background-color: #fef9c3; color: #854d0e; }
.status-blacklist { background-color: #fecaca; color: #991b1b; }
.status-error { background-color: #fee2e2; color: #991b1b; }

/* Loading spinner */
.spinner {
    border: 3px solid #e5e7eb;
    border-top: 3px solid #4f46e5;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Print styles */
@media print {
    aside, nav, .no-print { display: none !important; }
    main { margin: 0 !important; padding: 0 !important; }
}
