/* AI Analyser Custom Styles */

.analyser-container {
    padding: 20px;
}

.clickable-account {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-account:hover {
    background-color: #f8f9fc;
    border-color: #007bff !important;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    transform: translateY(-2px);
}

.account-list {
    min-height: 200px;
}

.account-item {
    transition: all 0.3s ease;
}

.account-item:hover {
    background-color: #f8f9fc;
}

.stat-item {
    padding: 20px;
    text-align: center;
}

.stat-item i {
    display: block;
    margin-bottom: 10px;
}

.card-header.bg-gradient-primary {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
}

.card-header.bg-gradient-warning {
    background: linear-gradient(45deg, #ffc107, #e0a800) !important;
}

/* Animation for cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Platform logos */
.platform-logo {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

/* Connected badge animation */
.badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .analyser-container {
        padding: 10px;
    }
    
    .stat-item {
        padding: 15px;
    }
}

/* Custom button styles */
.btn-outline-primary:hover,
.btn-outline-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Loading animation for future use */
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
