/* Custom animations */
.company-card {
    transition: all 0.3s ease;
}

.company-card:hover {
    transform: translateY(-2px);
}

/* Sortable drag effect */
.sortable-ghost {
    opacity: 0.5;
    background: #f3f4f6;
}

.sortable-drag {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Form styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2563eb;
    ring-color: #3b82f6;
}

/* Loading animation */
.loading {
    position: relative;
}

.loading:after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid #ccc;
    border-top-color: #000;
    border-radius: 50%;
    animation: loading 1s linear infinite;
}

@keyframes loading {
    to {
        transform: rotate(360deg);
    }
}

/* Analytics Dashboard Styles */
.analytics-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.analytics-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    transition: all 0.5s ease;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.metric-value.animate {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.status-badge:hover {
    transform: scale(1.05);
}

.status-not-started {
    background-color: #f3f4f6;
    color: #4b5563;
}

.status-reached-out {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-replied {
    background-color: #ccfbf1;
    color: #0f766e;
}

.status-interested {
    background-color: #d1fae5;
    color: #047857;
}

.status-meeting {
    background-color: #e0e7ff;
    color: #4338ca;
}

.status-introduced {
    background-color: #ede9fe;
    color: #6d28d9;
}

.status-not-interested {
    background-color: #fee2e2;
    color: #b91c1c;
}

/* Animation for chart data */
.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for sync button */
.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}
